Skip to content

BillionMail gives you open-source MailServer, NewsLetter, Email Marketing — fully self-hosted, dev-friendly, and free from monthly fees. Join the discord: https://discord.gg/asfXzBUhZr

Optimized import input box example

zdme65288adaac1
diff --git a/core/frontend/src/i18n/lang/en.json b/core/frontend/src/i18n/lang/en.json
index 5a89713f..a5e201e8 100644
--- a/core/frontend/src/i18n/lang/en.json
+++ b/core/frontend/src/i18n/lang/en.json
@@ -1,860 +1,864 @@
{
- "common": {
- "all": {
- "text": "All",
- "domain": "All Domains"
- },
- "time": {
- "today": "Today",
- "yesterday": "Yesterday",
- "last7days": "Last 7 Days",
- "custom": "Custom"
- },
- "unit": {
- "days": "Days",
- "hours": "Hours",
- "minutes": "Minutes",
- "seconds": "Seconds"
- },
- "columns": {
- "actions": "Operator"
- },
- "actions": {
- "view": "View",
- "edit": "Edit",
- "delete": "Delete",
- "add": "Add",
- "create": "Create",
- "update": "Update",
- "save": "Save",
- "cancel": "Cancel",
- "confirm": "Confirm",
- "back": "Back",
- "search": "Search",
- "reset": "Reset",
- "more": "More",
- "refresh": "Refresh",
- "copy": "Copy",
- "restart": "Restart",
- "import": "Import",
- "export": "Export",
- "download": "Download",
- "upload": "Upload",
- "apply": "Apply",
- "test": "Test",
- "rename": "Rename",
- "preview": "Preview",
- "modify": "Modify",
- "config": "Config",
- "help": "Help"
- },
- "useCopy": {
- "noText": "No text to copy",
- "success": "Copy successful",
- "failed": "Copy failed"
- }
- },
- "components": {
- "tableHelp": {
- "text1": "Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.",
- "text2": "We highly value your active participation. Thank you."
- },
- "upload": {
- "error": {
- "fileSizeExceeded": "The size of file [{fileName}] cannot exceed {maxSize}MB",
- "uploadFailed": "File upload failed. Please try again"
- },
- "prompt": {
- "dragText": "Click or drag files to this area",
- "supportedFiles": "Only {suffix} files are supported"
- }
- }
- },
- "layout": {
- "header": {
- "submit": "Submit a Request"
- },
- "menu": {
- "overview": "Overview",
- "market": "Email Marketing",
- "task": "Task",
- "template": "Template",
- "sendApi": "Send API",
- "contacts": "Contacts",
- "subscribers": "Subscribers",
- "group": "Group",
- "domain": "Domain",
- "mailboxes": "Mailboxes",
- "settings": "Settings",
- "common": "Common Settings",
- "bcc": "BCC",
- "forward": "Mail Forward",
- "logout": "Logout"
- }
- },
- "login": {
- "title": "BillionMail",
- "form": {
- "usernamePlaceholder": "Username",
- "passwordPlaceholder": "Password",
- "loginButton": "Login",
- "captchaPlaceholder": "Verification code",
- "changeCaptcha": "Click to change",
- "captcha": "Verification code"
- },
- "validation": {
- "usernameRequired": "Username cannot be empty!",
- "passwordRequired": "Password cannot be empty!",
- "captchaRequired": "Please enter the verification code"
- },
- "messages": {
- "loginSuccess": "Login successful",
- "loginFailed": "Login failed",
- "networkError": "Network error, please try again later"
- }
- },
- "user": {
- "logout": {
- "title": "Tips",
- "content": "Are you sure you want to logout?"
- },
- "api": {
- "loading": {
- "logout": "Logging out, please wait..."
- }
- }
- },
- "overview": {
- "delivered": "Delivered",
- "opened": "Opened",
- "clicked": "Clicked",
- "bounced": "Bounced",
- "mailProviders": "Mail Providers",
- "sendStats": "Send Statistics",
- "provider": {
- "mailProvider": "Mail Provider",
- "delivered": "Delivered",
- "open": "Open",
- "click": "Click",
- "bounce": "Bounce"
- },
- "send": {
- "successRate": "Success Rate",
- "success": "Success",
- "fail": "Failed",
- "sendSuccess": "Send Success",
- "sendFail": "Send Failed"
- },
- "rate": {
- "openRate": "Open Rate",
- "clickRate": "Click Rate",
- "bounceRate": "Bounce Rate"
- },
- "sendFailDetails": {
- "title": "Send Failed Details",
- "columns": {
- "recipient": "Recipient",
- "dsn": "Dsn",
- "delay": "Delay",
- "delays": "Delays",
- "status": "Status",
- "relay": "Relay",
- "details": "Details"
- }
- }
- },
- "market": {
- "task": {
- "title": "Task",
- "actions": {
- "add": "Add Task",
- "detail": "View",
- "export": "Export",
- "send": "Send",
- "pause": "Pause",
- "analytics": "Analytics"
- },
- "columns": {
- "time": "Time",
- "subject": "Subject",
- "sender": "Sender",
- "recipients": "To",
- "success": "Success",
- "failed": "Failed",
- "status": "Status",
- "remark": "Remark",
- "estimatedTime": "Estimated Complet Time",
- "progress": "Progress",
- "email": "Email",
- "errorMsg": "Error Message"
- },
- "status": {
- "pending": "Pending",
- "processing": "Processing",
- "done": "Done",
- "noIpWarmup": "No IP Warmup"
- },
- "search": {
- "subjectPlaceholder": "Search by subject"
- },
- "changeStatus": {
- "title": "Change Task Status [{subject}]",
- "startConfirm": "Start sending task now?",
- "pauseConfirm": "After pausing the task, you can continue sending it!"
- },
- "delete": {
- "title": "Delete Task",
- "confirm": "Are you sure you want to delete the task \"{subject}\"?"
- },
- "detail": {
- "title": "Task Details",
- "displayName": "Display Name",
- "sender": "Sender",
- "subject": "Mail Subject",
- "groups": "Groups",
- "sendTime": "Send Time",
- "unsubscribeLink": "Unsubscribe Link",
- "threads": "Threads Num",
- "remark": "Remark",
- "yes": "Yes",
- "no": "No",
- "auto": "Auto"
- },
- "edit": {
- "addTitle": "Add Task",
- "from": "From",
- "to": "To",
- "displayName": "Display Name",
- "displayNamePlaceholder": "Please enter display name",
- "subject": "Subject",
- "subjectPlaceholder": "Please enter mail subject",
- "recipients": "Recipients",
- "recipientsPlaceholder": "Please select recipient groups",
- "recipientsCount": "Send emails ({count} recipients)",
- "template": "Email template",
- "saveOutbox": "Save to outbox",
- "ipWarmup": "Associate IP Warmup System",
- "ipWarmupTip": "Enabling this will limit the sending rate",
- "unsubscribeLink": "Unsubscribe link",
- "threads": "Threads",
- "threadsAuto": "Auto",
- "threadsCustom": "Custom",
- "sendTime": "Send time",
- "sendTimeNow": "Send now",
- "sendTimeSchedule": "Schedule",
- "remark": "Remark",
- "remarkPlaceholder": "Please enter remark",
- "testEmail": "Test email",
- "testEmailPlaceholder": "Please enter test email",
- "sendTest": "Send test mail",
- "viewCase": "View case",
- "preview": {
- "empty": "Please select an email template to preview"
- },
- "validation": {
- "displayNameRequired": "Please enter display name",
- "subjectRequired": "Please enter mail subject",
- "recipientsRequired": "Please select contact person",
- "sendTimeRequired": "Please select send time",
- "testEmailRequired": "Please enter test email",
- "templateRequired": "Please select email template"
- },
- "discard": {
- "title": "Tips",
- "content": "Do you want to discard your current edits?"
- }
- },
- "createGroup": {
- "title": "Create Group",
- "groupName": "Group Name",
- "email": "Email",
- "groupNamePlaceholder": "Please enter group name",
- "validation": {
- "groupNameRequired": "Please enter group name"
- }
- },
- "loading": {
- "creating": "Creating task, please wait...",
- "deleting": "Deleting task, please wait...",
- "pausing": "Pausing task, please wait...",
- "resuming": "Resuming task, please wait...",
- "sendingTest": "Sending test email, please wait..."
- }
- },
- "template": {
- "title": "Template",
- "name": "Template Name",
- "content": "Template Content",
- "uploadHtml": "Upload HTML File",
- "file": "Template File",
- "actions": {
- "add": "Add Template",
- "preview": "Preview",
- "duplicate": "Duplicate",
- "export": "Export",
- "import": "Import"
- },
- "columns": {
- "name": "Template Name",
- "type": "Type",
- "createdAt": "Created At"
- },
- "search": {
- "namePlaceholder": "Search template name"
- },
- "delete": {
- "title": "Delete Template",
- "confirm": "Are you sure to delete template {name}?"
- },
- "form": {
- "name": "Template Name",
- "type": "Template Type",
- "content": "Template Content"
- },
- "add": {
- "title": "Add Template",
- "namePlaceholder": "Please enter template name",
- "validation": {
- "nameRequired": "Please enter template name",
- "uploadRequired": "Please upload HTML file"
- }
- },
- "preview": {
- "title": "Template Preview"
- },
- "loading": {
- "creating": "Creating template, please wait...",
- "updating": "Updating template, please wait...",
- "copying": "Copying template, please wait...",
- "deleting": "Deleting template, please wait..."
- }
- }
- },
- "contacts": {
- "subscribers": {
- "search": {
- "emailPlaceholder": "Enter an email address to search"
- },
- "columns": {
- "email": "Email",
- "name": "Group Name",
- "createdAt": "Creation Time"
- },
- "status": {
- "subscribed": "Subscribed",
- "unsubscribed": "Unsubscribed"
- },
- "actions": {
- "changeGroup": "Change Group"
- },
- "delete": {
- "title": "Delete Subscriber",
- "confirm": "Are you sure you want to delete the subscriber {email}?"
- },
- "select": {
- "prefix": "Group: "
- },
- "edit": {
- "title": "Change Group",
- "email": "Email",
- "group": "Group",
- "validation": {
- "emailRequired": "Please enter email",
- "groupRequired": "Please select group"
- }
- },
- "import": {
- "title": "Import Contacts",
- "group": "Group",
- "data": "Data",
- "pasteData": "Paste Data",
- "uploadFile": "Upload File",
- "pastePlaceholder": "Please paste data, one email, attributes(can be empty) per line\ne.g., [email protected]\[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\"",
- "fileTypeHint": "File type: csv, not exceeding 5 MB",
- "overwriteLabel": "Overwrite Existing Users",
- "overwriteDescription": "Whether to overwrite existing customer information in the list according to imported data during import",
- "subscriptionStatus": "Subscription Status",
- "status": "Status",
- "exampleCsvLabel": "Example CSV",
- "overwriteOptions": {
- "no": "No",
- "yes": "Yes"
- },
- "subscriptionOptions": {
- "subscribe": "Subscribe",
- "unsubscribe": "Unsubscribe"
- },
- "statusOptions": {
- "confirmed": "Confirmed",
- "unconfirmed": "Unconfirmed"
- },
- "validation": {
- "groupRequired": "Please select group",
- "dataRequired": "Please paste data, one email per line",
- "fileRequired": "Please upload file"
- }
- },
- "loading": {
- "importSubscribers": "Importing contacts, please wait...",
- "updateSubscriberGroup": "Updating group, please wait...",
- "deleteSubscriber": "Deleting contacts, please wait..."
- }
- },
- "group": {
- "search": {
- "namePlaceholder": "Search by group name"
- },
- "columns": {
- "name": "Group Name",
- "subscribers": "Subscribers",
- "unsubscribe": "Unsubscribed",
- "createdAt": "Created At"
- },
- "form": {
- "name": "Group Name",
- "file": "File",
- "nameRequired": "Please enter group name"
- },
- "add": {
- "title": "Add Group"
- },
- "rename": {
- "title": "Rename Group"
- },
- "delete": {
- "title": "Delete Group",
- "confirm": "Are you sure to delete group {name}?"
- },
- "fileUpload": {
- "hint": "File type: csv, not exceeding 5 MB",
- "emptyHint": "An empty group will be created when no file is uploaded"
- },
- "loading": {
- "createGroup": "Creating group, please wait...",
- "updateGroup": "Updating group, please wait...",
- "deleteGroup": "Deleting group, please wait..."
- }
- }
- },
- "domain": {
- "title": "MailDomain",
- "addDomain": "Add Domain",
- "help": "Add the domain you want to use to send emails",
- "columns": {
- "domain": "Domain",
- "quota": "Quota",
- "mailboxes": "Mailboxes",
- "defaultMailboxSize": "Default Mailbox Size",
- "actions": "Actions"
- },
- "actions": {
- "dnsRecord": "DNS Records"
- },
- "delete": {
- "title": "Delete Domain",
- "confirm": "Are you sure you want to delete domain [{domain}]?"
- },
- "form": {
- "addTitle": "Add Domain",
- "editTitle": "Edit Domain",
- "domain": "Domain",
- "domainPlaceholder": "Please enter domain, e.g.: billionmail.com",
- "aRecord": "A Record",
- "aRecordPlaceholder": "Please enter A record, e.g.: mail.aapanel.com",
- "quota": "Domain Quota",
- "mailboxCount": "Mailbox Count",
- "globalCatch": "Global Catch",
- "globalCatchPlaceholder": "Forward non-existent emails to this address",
- "validation": {
- "domainRequired": "Domain name cannot be empty!"
- },
- "tips": {
- "aRecordFailed": "A record resolution failed. Please check if the A record domain is resolved to the server IP",
- "dnsSetup": "You need to add an A record in your DNS provider's console",
- "cloudflare": "If using CloudFlare, please select [DNS only] when adding records"
- }
- },
- "dns": {
- "title": "DNS Records",
- "verify": "Records set, verify DNS resolution",
- "status": {
- "ok": "OK",
- "notSet": "Not Set"
- },
- "columns": {
- "domain": "Domain"
- },
- "table": {
- "recordType": "Record Type",
- "host": "Host",
- "value": "Value",
- "mxPriority": "MX Priority"
- },
- "step1": {
- "title": "Step 1: Add A Record"
- },
- "step2": {
- "title": "Step 2: Add MX Record",
- "description": "Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"
- },
- "step3": {
- "title": "Step 3: Add TXT Record",
- "description": "Add TXT records for email anti-spam (please copy the following parameters directly)"
- },
- "step4": {
- "title": "Step 4: Add PTR Record",
- "description1": "(Optional) PTR record is used for reverse DNS lookup",
- "description2": "Contact your IP provider to create PTR record"
- }
- },
- "ssl": {
- "expired": "Expired",
- "daysLeft": "{days} days",
- "notSet": "Not Set",
- "title": "Domain SSL",
- "tabs": {
- "otherCertificate": "Other Certificate"
- },
- "cert": {
- "brand": "Brand",
- "domains": "Certificate Domains",
- "privateKey": "Private Key (KEY)",
- "certificate": "Certificate (CRT/PEM)",
- "keyPlaceholder": "Enter private key content",
- "certPlaceholder": "Enter certificate content"
- },
- "actions": {
- "applyFree": "Apply Free Certificate"
- },
- "tips": {
- "paste": "Paste your KEY and CRT content, then save",
- "chainCheck": "If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated",
- "pemFormat": "PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt",
- "defaultSite": "When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"
- }
- },
- "api": {
- "loading": {
- "creating": "Creating Domain, please wait...",
- "updating": "Updating Domain, please wait...",
- "deleting": "Deleting Domain, please wait...",
- "settingSSL": "Setting SSL, please wait...",
- "applyingCert": "Applying SSL Certificate, please wait...",
- "refreshingDns": "Refreshing DNS records, please wait..."
- }
- }
- },
- "mailbox": {
- "title": "Mailbox Management",
- "actions": {
- "add": "Add Mailbox"
- },
- "search": {
- "usernamePlaceholder": "Search username"
- },
- "domain": {
- "selectPlaceholder": "Select domain"
- },
- "columns": {
- "username": "Username",
- "password": "Password",
- "loginInfo": "Login Info",
- "quota": "Quota",
- "type": "Type",
- "status": "Status"
- },
- "userType": {
- "admin": "Admin",
- "general": "General User"
- },
- "form": {
- "addTitle": "Add Mailbox",
- "editTitle": "Edit Mailbox",
- "emailAddress": "Email Address",
- "password": "Password",
- "passwordPlaceholder": "Enter your mailbox password",
- "quota": "Quota",
- "userType": "User Type",
- "status": "Status"
- },
- "validation": {
- "emailRequired": "Please enter email address",
- "passwordLength": "Password must be at least 8 characters",
- "passwordFormat": "Password must contain at least one uppercase letter, one lowercase letter and one number"
- },
- "delete": {
- "title": "Delete Mailbox",
- "confirm": "Are you sure you want to delete mailbox [{name}]?"
- },
- "loginInfo": {
- "template": "WebMail: {webmail}\nUsername: {username}\nPassword: {password}\nPOP service [ Address: {mx} Port: 110/995 ]\nIMAP service [ Address: {mx} Port: 143/993 ]\nSMTP service [ Address: {mx} Port: 25/465/587 ]"
- },
- "api": {
- "loading": {
- "creating": "Creating Mailbox, please wait...",
- "updating": "Updating Mailbox, please wait...",
- "deleting": "Deleting Mailbox, please wait..."
- }
- }
- },
- "smtp": {
- "title": "SMTP Relay Service Management",
- "description": "Manage your SMTP relay services with support for multiple service providers",
- "empty": "No SMTP relay services available",
- "providers": {
- "gmail": "Gmail",
- "mailgun": "Mailgun",
- "aws": "AWS SES",
- "sendgrid": "SendGrid",
- "custom": "Custom SMTP"
- },
- "delete": {
- "title": "Delete Relay",
- "confirm": "Are you sure you want to delete this relay service [{name}]?"
- },
- "card": {
- "domain": "Bound Domain",
- "server": "Server",
- "port": "Port",
- "username": "Username"
- },
- "form": {
- "addTitle": "Add SMTP",
- "editTitle": "Edit SMTP",
- "remark": "Remark",
- "domain": "Bound Domain",
- "server": "SMTP Server",
- "port": "SMTP Port",
- "username": "Username",
- "password": "Password",
- "testConnection": "Test Connection",
- "bind": " [Bound]",
- "validation": {
- "nameRequired": "Please enter a relay name",
- "domainRequired": "Please select a bound domain",
- "serverRequired": "Please enter an SMTP server",
- "portRequired": "Please enter an SMTP port",
- "usernameRequired": "Please enter a username",
- "passwordRequired": "Please enter a password"
- }
- },
- "status": {
- "online": "Online",
- "offline": "Offline"
- },
- "api": {
- "loading": {
- "adding": "Adding SMTP, please wait...",
- "editing": "Editing SMTP, please wait...",
- "testing": "Testing SMTP connection, please wait...",
- "deleting": "Deleting SMTP, please wait..."
- }
- }
- },
- "settings": {
- "title": "Settings",
- "service": {
- "title": "Service Status",
- "tips": "Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace",
- "editTitle": "Online Edit {name}",
- "columns": {
- "name": "Service Name",
- "status": "Status"
- },
- "status": {
- "running": "Running",
- "stopped": "Stopped"
- },
- "actions": {
- "restart": "Restart"
- },
- "restart": {
- "title": "Restart Service",
- "confirm": "Are you sure you want to restart [{name}]?"
- }
- },
- "bcc": {
- "title": "BCC Management",
- "add": "Add BCC",
- "edit": "Edit BCC",
- "needCopy": "Need Copy",
- "copyTo": "Copy to",
- "domain": "Domain",
- "type": "BCC Type",
- "status": "Status",
- "active": "Active",
- "types": {
- "sender": "When sending",
- "recipient": "When receiving"
- },
- "delete": {
- "title": "Delete BCC [{address}]",
- "content": "Whether to delete the BCC setting?"
- },
- "placeholders": {
- "needCopy": "Enter the users you need to BCC",
- "copyTo": "Enter the email you need to receive the BCC"
- },
- "loading": {
- "adding": "Adding BCC, please wait...",
- "saving": "Saving BCC, please wait...",
- "deleting": "Deleting BCC, please wait..."
- }
- },
- "forward": {
- "add": "Add Forward",
- "edit": "Edit Forward",
- "columns": {
- "address": "Address",
- "goto": "Goto",
- "domain": "Domain",
- "created": "Created",
- "modified": "Modified",
- "status": "Status"
- },
- "form": {
- "status": "Status",
- "forwardedUsers": "Forwarded users",
- "forwardedUsersPlaceholder": "Enter the mailbox that needs to be forwarded",
- "domain": "Domain",
- "domainPlaceholder": "Domain name of the Forwarded users",
- "receivingUser": "Receiving user",
- "receivingUserPlaceholder": "Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"
- },
- "delete": {
- "title": "Delete mail forward",
- "content": "Are you sure you want to delete mail forward [{address}]?"
- },
- "loading": {
- "adding": "Adding mail forward, please wait...",
- "editing": "Editing mail forward, please wait...",
- "deleting": "Deleting mail forward, please wait..."
- }
- },
- "common": {
- "confirm": "Update",
- "security": {
- "title": "Security Settings",
- "username": "Change Username",
- "currentUsername": "Current Username",
- "newUsernamePlaceholder": "Enter new username",
- "usernameRule": "4-20 characters, letters and numbers",
- "usernameExists": "Username already exists",
- "changePassword": "Change Password",
- "currentPassword": "Current Password",
- "newPassword": "New Password",
- "confirmPassword": "Confirm New Password",
- "passwordStrength": "Password Strength",
- "passwordMismatch": "Passwords do not match",
- "strength": {
- "weak": "Weak",
- "medium": "Medium",
- "strong": "Strong"
- },
- "securityPath": "Change Security Path",
- "currentPath": "Current Path",
- "newPathPlaceholder": "Enter new path, e.g. admin-abc123",
- "pathRule": "Recommend using complex path for enhanced security",
- "usernameValidation": {
- "lengthError": "Username length must be between 4 and 20 characters",
- "formatError": "Username must consist of letters, numbers or underscores",
- "duplicateError": "Username cannot be the same as current username"
- }
- },
- "network": {
- "title": "Network Configuration",
- "domain": "Domain Settings",
- "currentDomain": "The access domain name of the console",
- "newDomainPlaceholder": "Enter new domain, e.g. admin.yourdomain.com",
- "domainRule": "Please enter a valid domain",
- "ssl": "SSL Certificate Configuration",
- "sslEnabled": "SSL Enabled",
- "certStatus": "Certificate Status",
- "certValid": "({days} days remaining)",
- "sslCert": "SSL Certificate (PEM format)",
- "sslKey": "Private Key (PEM format)",
- "certPlaceholder": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIURv...\n-----END CERTIFICATE-----",
- "keyPlaceholder": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG...\n-----END PRIVATE KEY-----",
- "updateSSL": "Update SSL Certificate",
- "certValidStatus": "Certificate Valid",
- "certExpiredStatus": "Certificate Expired",
- "certExpireTime": "Certificate expires: {time}"
- },
- "system": {
- "title": "System Configuration",
- "port": "Port Settings",
- "currentPort": "Current Port",
- "terminalRequired": "This setting requires terminal operation",
- "copyCommand": "Copy the above command and execute it in the server terminal",
- "commandCopied": "Command copied to clipboard",
- "timezone": "Timezone Settings",
- "currentTime": "Current System Timezone"
- }
- },
- "api": {
- "loading": {
- "restarting": "Restarting service, please wait...",
- "saving": "Saving configuration, please wait..."
- }
- }
- },
- "api": {
- "title": "Send API",
- "timeRange": "Time Range: ",
- "status": "Status: ",
- "search": "Search: ",
- "searchPlaceholder": "Please enter API name",
- "refreshData": "Refresh Data",
- "createNew": "Create API",
- "statusOptions": {
- "all": "All",
- "active": "Active",
- "inactive": "Inactive"
- },
- "columns": {
- "apiName": "API Name",
- "apiKey": "API Key",
- "sendCount": "Send Count",
- "openRate": "Open Rate",
- "clickRate": "Click Rate",
- "bounceRate": "Bounce Rate",
- "status": "Status"
- },
- "statusLabels": {
- "active": "Active",
- "inactive": "Inactive"
- },
- "confirmDelete": {
- "title": "Delete API [{apiName}]",
- "content": "Are you sure you want to delete this API?"
- },
- "overview": {
- "totalSend": "Total Sent",
- "avgOpenRate": "Avg Open Rate",
- "avgClickRate": "Avg Click Rate",
- "avgBounceRate": "Avg Bounce Rate"
- },
- "form": {
- "apiName": "API Name",
- "status": "Status",
- "ipWhitelist": "IP Whitelist",
- "apiNamePlaceholder": "Please enter API name",
- "ipWhitelistPlaceholder": "Multiple IPs separated by commas, empty means no restriction",
- "validation": {
- "apiNameRequired": "Please enter API name",
- "addresserRequired": "Please select sender",
- "templateRequired": "Please select template"
- },
- "title": {
- "edit": "Edit API",
- "add": "Add API"
- }
- },
- "loading": {
- "creating": "Creating, please wait...",
- "updating": "Updating, please wait...",
- "deleting": "Deleting, please wait...",
- "testing": "Testing, please wait..."
- }
- }
+ "common": {
+ "all": {
+ "text": "All",
+ "domain": "All Domains"
+ },
+ "time": {
+ "today": "Today",
+ "yesterday": "Yesterday",
+ "last7days": "Last 7 Days",
+ "custom": "Custom"
+ },
+ "unit": {
+ "days": "Days",
+ "hours": "Hours",
+ "minutes": "Minutes",
+ "seconds": "Seconds"
+ },
+ "columns": {
+ "actions": "Operator"
+ },
+ "actions": {
+ "view": "View",
+ "edit": "Edit",
+ "delete": "Delete",
+ "add": "Add",
+ "create": "Create",
+ "update": "Update",
+ "save": "Save",
+ "cancel": "Cancel",
+ "confirm": "Confirm",
+ "back": "Back",
+ "search": "Search",
+ "reset": "Reset",
+ "more": "More",
+ "refresh": "Refresh",
+ "copy": "Copy",
+ "restart": "Restart",
+ "import": "Import",
+ "export": "Export",
+ "download": "Download",
+ "upload": "Upload",
+ "apply": "Apply",
+ "test": "Test",
+ "rename": "Rename",
+ "preview": "Preview",
+ "modify": "Modify",
+ "config": "Config",
+ "help": "Help"
+ },
+ "useCopy": {
+ "noText": "No text to copy",
+ "success": "Copy successful",
+ "failed": "Copy failed"
+ }
+ },
+ "components": {
+ "tableHelp": {
+ "text1": "Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.",
+ "text2": "We highly value your active participation. Thank you."
+ },
+ "upload": {
+ "error": {
+ "fileSizeExceeded": "The size of file [{fileName}] cannot exceed {maxSize}MB",
+ "uploadFailed": "File upload failed. Please try again"
+ },
+ "prompt": {
+ "dragText": "Click or drag files to this area",
+ "supportedFiles": "Only {suffix} files are supported"
+ }
+ }
+ },
+ "layout": {
+ "header": {
+ "submit": "Submit a Request"
+ },
+ "menu": {
+ "overview": "Overview",
+ "market": "Email Marketing",
+ "task": "Task",
+ "template": "Template",
+ "sendApi": "Send API",
+ "contacts": "Contacts",
+ "subscribers": "Subscribers",
+ "group": "Group",
+ "domain": "Domain",
+ "mailboxes": "Mailboxes",
+ "settings": "Settings",
+ "common": "Common Settings",
+ "bcc": "BCC",
+ "forward": "Mail Forward",
+ "logout": "Logout"
+ }
+ },
+ "login": {
+ "title": "BillionMail",
+ "form": {
+ "usernamePlaceholder": "Username",
+ "passwordPlaceholder": "Password",
+ "loginButton": "Login",
+ "captchaPlaceholder": "Verification code",
+ "changeCaptcha": "Click to change",
+ "captcha": "Verification code"
+ },
+ "validation": {
+ "usernameRequired": "Username cannot be empty!",
+ "passwordRequired": "Password cannot be empty!",
+ "captchaRequired": "Please enter the verification code"
+ },
+ "messages": {
+ "loginSuccess": "Login successful",
+ "loginFailed": "Login failed",
+ "networkError": "Network error, please try again later"
+ }
+ },
+ "user": {
+ "logout": {
+ "title": "Tips",
+ "content": "Are you sure you want to logout?"
+ },
+ "api": {
+ "loading": {
+ "logout": "Logging out, please wait..."
+ }
+ }
+ },
+ "overview": {
+ "delivered": "Delivered",
+ "opened": "Opened",
+ "clicked": "Clicked",
+ "bounced": "Bounced",
+ "mailProviders": "Mail Providers",
+ "sendStats": "Send Statistics",
+ "provider": {
+ "mailProvider": "Mail Provider",
+ "delivered": "Delivered",
+ "open": "Open",
+ "click": "Click",
+ "bounce": "Bounce"
+ },
+ "send": {
+ "successRate": "Success Rate",
+ "success": "Success",
+ "fail": "Failed",
+ "sendSuccess": "Send Success",
+ "sendFail": "Send Failed"
+ },
+ "rate": {
+ "openRate": "Open Rate",
+ "clickRate": "Click Rate",
+ "bounceRate": "Bounce Rate"
+ },
+ "sendFailDetails": {
+ "title": "Send Failed Details",
+ "columns": {
+ "recipient": "Recipient",
+ "dsn": "Dsn",
+ "delay": "Delay",
+ "delays": "Delays",
+ "status": "Status",
+ "relay": "Relay",
+ "details": "Details"
+ }
+ }
+ },
+ "market": {
+ "task": {
+ "title": "Task",
+ "actions": {
+ "add": "Add Task",
+ "detail": "View",
+ "export": "Export",
+ "send": "Send",
+ "pause": "Pause",
+ "analytics": "Analytics"
+ },
+ "columns": {
+ "time": "Time",
+ "subject": "Subject",
+ "sender": "Sender",
+ "recipients": "To",
+ "success": "Success",
+ "failed": "Failed",
+ "status": "Status",
+ "remark": "Remark",
+ "estimatedTime": "Estimated Complet Time",
+ "progress": "Progress",
+ "email": "Email",
+ "errorMsg": "Error Message"
+ },
+ "status": {
+ "pending": "Pending",
+ "processing": "Processing",
+ "done": "Done",
+ "noIpWarmup": "No IP Warmup"
+ },
+ "search": {
+ "subjectPlaceholder": "Search by subject"
+ },
+ "changeStatus": {
+ "title": "Change Task Status [{subject}]",
+ "startConfirm": "Start sending task now?",
+ "pauseConfirm": "After pausing the task, you can continue sending it!"
+ },
+ "delete": {
+ "title": "Delete Task",
+ "confirm": "Are you sure you want to delete the task \"{subject}\"?"
+ },
+ "detail": {
+ "title": "Task Details",
+ "displayName": "Display Name",
+ "sender": "Sender",
+ "subject": "Mail Subject",
+ "groups": "Groups",
+ "sendTime": "Send Time",
+ "unsubscribeLink": "Unsubscribe Link",
+ "threads": "Threads Num",
+ "remark": "Remark",
+ "yes": "Yes",
+ "no": "No",
+ "auto": "Auto"
+ },
+ "edit": {
+ "addTitle": "Add Task",
+ "from": "From",
+ "to": "To",
+ "displayName": "Display Name",
+ "displayNamePlaceholder": "Please enter display name",
+ "subject": "Subject",
+ "subjectPlaceholder": "Please enter mail subject",
+ "recipients": "Recipients",
+ "recipientsPlaceholder": "Please select recipient groups",
+ "recipientsCount": "Send emails ({count} recipients)",
+ "template": "Email template",
+ "saveOutbox": "Save to outbox",
+ "ipWarmup": "Associate IP Warmup System",
+ "ipWarmupTip": "Enabling this will limit the sending rate",
+ "unsubscribeLink": "Unsubscribe link",
+ "threads": "Threads",
+ "threadsAuto": "Auto",
+ "threadsCustom": "Custom",
+ "sendTime": "Send time",
+ "sendTimeNow": "Send now",
+ "sendTimeSchedule": "Schedule",
+ "remark": "Remark",
+ "remarkPlaceholder": "Please enter remark",
+ "testEmail": "Test email",
+ "testEmailPlaceholder": "Please enter test email",
+ "sendTest": "Send test mail",
+ "viewCase": "View case",
+ "preview": {
+ "empty": "Please select an email template to preview"
+ },
+ "validation": {
+ "displayNameRequired": "Please enter display name",
+ "subjectRequired": "Please enter mail subject",
+ "recipientsRequired": "Please select contact person",
+ "sendTimeRequired": "Please select send time",
+ "testEmailRequired": "Please enter test email",
+ "templateRequired": "Please select email template"
+ },
+ "discard": {
+ "title": "Tips",
+ "content": "Do you want to discard your current edits?"
+ }
+ },
+ "createGroup": {
+ "title": "Create Group",
+ "groupName": "Group Name",
+ "email": "Email",
+ "groupNamePlaceholder": "Please enter group name",
+ "validation": {
+ "groupNameRequired": "Please enter group name"
+ }
+ },
+ "loading": {
+ "creating": "Creating task, please wait...",
+ "deleting": "Deleting task, please wait...",
+ "pausing": "Pausing task, please wait...",
+ "resuming": "Resuming task, please wait...",
+ "sendingTest": "Sending test email, please wait..."
+ }
+ },
+ "template": {
+ "title": "Template",
+ "name": "Template Name",
+ "content": "Template Content",
+ "uploadHtml": "Upload HTML File",
+ "file": "Template File",
+ "actions": {
+ "add": "Add Template",
+ "preview": "Preview",
+ "duplicate": "Duplicate",
+ "export": "Export",
+ "import": "Import"
+ },
+ "columns": {
+ "name": "Template Name",
+ "type": "Type",
+ "createdAt": "Created At"
+ },
+ "search": {
+ "namePlaceholder": "Search template name"
+ },
+ "delete": {
+ "title": "Delete Template",
+ "confirm": "Are you sure to delete template {name}?"
+ },
+ "form": {
+ "name": "Template Name",
+ "type": "Template Type",
+ "content": "Template Content"
+ },
+ "add": {
+ "title": "Add Template",
+ "namePlaceholder": "Please enter template name",
+ "validation": {
+ "nameRequired": "Please enter template name",
+ "uploadRequired": "Please upload HTML file"
+ }
+ },
+ "preview": {
+ "title": "Template Preview"
+ },
+ "loading": {
+ "creating": "Creating template, please wait...",
+ "updating": "Updating template, please wait...",
+ "copying": "Copying template, please wait...",
+ "deleting": "Deleting template, please wait..."
+ }
+ }
+ },
+ "contacts": {
+ "subscribers": {
+ "search": {
+ "emailPlaceholder": "Enter an email address to search"
+ },
+ "columns": {
+ "email": "Email",
+ "name": "Group Name",
+ "createdAt": "Creation Time"
+ },
+ "status": {
+ "subscribed": "Subscribed",
+ "unsubscribed": "Unsubscribed"
+ },
+ "actions": {
+ "changeGroup": "Change Group"
+ },
+ "delete": {
+ "title": "Delete Subscriber",
+ "confirm": "Are you sure you want to delete the subscriber {email}?"
+ },
+ "select": {
+ "prefix": "Group: "
+ },
+ "edit": {
+ "title": "Change Group",
+ "email": "Email",
+ "group": "Group",
+ "validation": {
+ "emailRequired": "Please enter email",
+ "groupRequired": "Please select group"
+ }
+ },
+ "import": {
+ "title": "Import Contacts",
+ "group": "Group",
+ "data": "Data",
+ "pasteData": "Paste Data",
+ "uploadFile": "Upload File",
+ "pastePlaceholder": [
+ "Please paste data, one email, attributes(can be empty) per line",
+ "[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\""
+ ],
+ "fileTypeHint": "File type: csv, not exceeding 5 MB",
+ "overwriteLabel": "Overwrite Existing Users",
+ "overwriteDescription": "Whether to overwrite existing customer information in the list according to imported data during import",
+ "subscriptionStatus": "Subscription Status",
+ "status": "Status",
+ "exampleCsvLabel": "Example CSV",
+ "overwriteOptions": {
+ "no": "No",
+ "yes": "Yes"
+ },
+ "subscriptionOptions": {
+ "subscribe": "Subscribe",
+ "unsubscribe": "Unsubscribe"
+ },
+ "statusOptions": {
+ "confirmed": "Confirmed",
+ "unconfirmed": "Unconfirmed"
+ },
+ "validation": {
+ "groupRequired": "Please select group",
+ "dataRequired": "Please paste data, one email per line",
+ "fileRequired": "Please upload file"
+ }
+ },
+ "loading": {
+ "importSubscribers": "Importing contacts, please wait...",
+ "updateSubscriberGroup": "Updating group, please wait...",
+ "deleteSubscriber": "Deleting contacts, please wait..."
+ }
+ },
+ "group": {
+ "search": {
+ "namePlaceholder": "Search by group name"
+ },
+ "columns": {
+ "name": "Group Name",
+ "subscribers": "Subscribers",
+ "unsubscribe": "Unsubscribed",
+ "createdAt": "Created At"
+ },
+ "form": {
+ "name": "Group Name",
+ "file": "File",
+ "nameRequired": "Please enter group name"
+ },
+ "add": {
+ "title": "Add Group"
+ },
+ "rename": {
+ "title": "Rename Group"
+ },
+ "delete": {
+ "title": "Delete Group",
+ "confirm": "Are you sure to delete group {name}?"
+ },
+ "fileUpload": {
+ "hint": "File type: csv, not exceeding 5 MB",
+ "emptyHint": "An empty group will be created when no file is uploaded"
+ },
+ "loading": {
+ "createGroup": "Creating group, please wait...",
+ "updateGroup": "Updating group, please wait...",
+ "deleteGroup": "Deleting group, please wait..."
+ }
+ }
+ },
+ "domain": {
+ "title": "MailDomain",
+ "addDomain": "Add Domain",
+ "help": "Add the domain you want to use to send emails",
+ "columns": {
+ "domain": "Domain",
+ "quota": "Quota",
+ "mailboxes": "Mailboxes",
+ "defaultMailboxSize": "Default Mailbox Size",
+ "actions": "Actions"
+ },
+ "actions": {
+ "dnsRecord": "DNS Records"
+ },
+ "delete": {
+ "title": "Delete Domain",
+ "confirm": "Are you sure you want to delete domain [{domain}]?"
+ },
+ "form": {
+ "addTitle": "Add Domain",
+ "editTitle": "Edit Domain",
+ "domain": "Domain",
+ "domainPlaceholder": "Please enter domain, e.g.: billionmail.com",
+ "aRecord": "A Record",
+ "aRecordPlaceholder": "Please enter A record, e.g.: mail.aapanel.com",
+ "quota": "Domain Quota",
+ "mailboxCount": "Mailbox Count",
+ "globalCatch": "Global Catch",
+ "globalCatchPlaceholder": "Forward non-existent emails to this address",
+ "validation": {
+ "domainRequired": "Domain name cannot be empty!"
+ },
+ "tips": {
+ "aRecordFailed": "A record resolution failed. Please check if the A record domain is resolved to the server IP",
+ "dnsSetup": "You need to add an A record in your DNS provider's console",
+ "cloudflare": "If using CloudFlare, please select [DNS only] when adding records"
+ }
+ },
+ "dns": {
+ "title": "DNS Records",
+ "verify": "Records set, verify DNS resolution",
+ "status": {
+ "ok": "OK",
+ "notSet": "Not Set"
+ },
+ "columns": {
+ "domain": "Domain"
+ },
+ "table": {
+ "recordType": "Record Type",
+ "host": "Host",
+ "value": "Value",
+ "mxPriority": "MX Priority"
+ },
+ "step1": {
+ "title": "Step 1: Add A Record"
+ },
+ "step2": {
+ "title": "Step 2: Add MX Record",
+ "description": "Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"
+ },
+ "step3": {
+ "title": "Step 3: Add TXT Record",
+ "description": "Add TXT records for email anti-spam (please copy the following parameters directly)"
+ },
+ "step4": {
+ "title": "Step 4: Add PTR Record",
+ "description1": "(Optional) PTR record is used for reverse DNS lookup",
+ "description2": "Contact your IP provider to create PTR record"
+ }
+ },
+ "ssl": {
+ "expired": "Expired",
+ "daysLeft": "{days} days",
+ "notSet": "Not Set",
+ "title": "Domain SSL",
+ "tabs": {
+ "otherCertificate": "Other Certificate"
+ },
+ "cert": {
+ "brand": "Brand",
+ "domains": "Certificate Domains",
+ "privateKey": "Private Key (KEY)",
+ "certificate": "Certificate (CRT/PEM)",
+ "keyPlaceholder": "Enter private key content",
+ "certPlaceholder": "Enter certificate content"
+ },
+ "actions": {
+ "applyFree": "Apply Free Certificate"
+ },
+ "tips": {
+ "paste": "Paste your KEY and CRT content, then save",
+ "chainCheck": "If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated",
+ "pemFormat": "PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt",
+ "defaultSite": "When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"
+ }
+ },
+ "api": {
+ "loading": {
+ "creating": "Creating Domain, please wait...",
+ "updating": "Updating Domain, please wait...",
+ "deleting": "Deleting Domain, please wait...",
+ "settingSSL": "Setting SSL, please wait...",
+ "applyingCert": "Applying SSL Certificate, please wait...",
+ "refreshingDns": "Refreshing DNS records, please wait..."
+ }
+ }
+ },
+ "mailbox": {
+ "title": "Mailbox Management",
+ "actions": {
+ "add": "Add Mailbox"
+ },
+ "search": {
+ "usernamePlaceholder": "Search username"
+ },
+ "domain": {
+ "selectPlaceholder": "Select domain"
+ },
+ "columns": {
+ "username": "Username",
+ "password": "Password",
+ "loginInfo": "Login Info",
+ "quota": "Quota",
+ "type": "Type",
+ "status": "Status"
+ },
+ "userType": {
+ "admin": "Admin",
+ "general": "General User"
+ },
+ "form": {
+ "addTitle": "Add Mailbox",
+ "editTitle": "Edit Mailbox",
+ "emailAddress": "Email Address",
+ "password": "Password",
+ "passwordPlaceholder": "Enter your mailbox password",
+ "quota": "Quota",
+ "userType": "User Type",
+ "status": "Status"
+ },
+ "validation": {
+ "emailRequired": "Please enter email address",
+ "passwordLength": "Password must be at least 8 characters",
+ "passwordFormat": "Password must contain at least one uppercase letter, one lowercase letter and one number"
+ },
+ "delete": {
+ "title": "Delete Mailbox",
+ "confirm": "Are you sure you want to delete mailbox [{name}]?"
+ },
+ "loginInfo": {
+ "template": "WebMail: {webmail}\nUsername: {username}\nPassword: {password}\nPOP service [ Address: {mx} Port: 110/995 ]\nIMAP service [ Address: {mx} Port: 143/993 ]\nSMTP service [ Address: {mx} Port: 25/465/587 ]"
+ },
+ "api": {
+ "loading": {
+ "creating": "Creating Mailbox, please wait...",
+ "updating": "Updating Mailbox, please wait...",
+ "deleting": "Deleting Mailbox, please wait..."
+ }
+ }
+ },
+ "smtp": {
+ "title": "SMTP Relay Service Management",
+ "description": "Manage your SMTP relay services with support for multiple service providers",
+ "empty": "No SMTP relay services available",
+ "providers": {
+ "gmail": "Gmail",
+ "mailgun": "Mailgun",
+ "aws": "AWS SES",
+ "sendgrid": "SendGrid",
+ "custom": "Custom SMTP"
+ },
+ "delete": {
+ "title": "Delete Relay",
+ "confirm": "Are you sure you want to delete this relay service [{name}]?"
+ },
+ "card": {
+ "domain": "Bound Domain",
+ "server": "Server",
+ "port": "Port",
+ "username": "Username"
+ },
+ "form": {
+ "addTitle": "Add SMTP",
+ "editTitle": "Edit SMTP",
+ "remark": "Remark",
+ "domain": "Bound Domain",
+ "server": "SMTP Server",
+ "port": "SMTP Port",
+ "username": "Username",
+ "password": "Password",
+ "testConnection": "Test Connection",
+ "bind": " [Bound]",
+ "validation": {
+ "nameRequired": "Please enter a relay name",
+ "domainRequired": "Please select a bound domain",
+ "serverRequired": "Please enter an SMTP server",
+ "portRequired": "Please enter an SMTP port",
+ "usernameRequired": "Please enter a username",
+ "passwordRequired": "Please enter a password"
+ }
+ },
+ "status": {
+ "online": "Online",
+ "offline": "Offline"
+ },
+ "api": {
+ "loading": {
+ "adding": "Adding SMTP, please wait...",
+ "editing": "Editing SMTP, please wait...",
+ "testing": "Testing SMTP connection, please wait...",
+ "deleting": "Deleting SMTP, please wait..."
+ }
+ }
+ },
+ "settings": {
+ "title": "Settings",
+ "service": {
+ "title": "Service Status",
+ "tips": "Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace",
+ "editTitle": "Online Edit {name}",
+ "columns": {
+ "name": "Service Name",
+ "status": "Status"
+ },
+ "status": {
+ "running": "Running",
+ "stopped": "Stopped"
+ },
+ "actions": {
+ "restart": "Restart"
+ },
+ "restart": {
+ "title": "Restart Service",
+ "confirm": "Are you sure you want to restart [{name}]?"
+ }
+ },
+ "bcc": {
+ "title": "BCC Management",
+ "add": "Add BCC",
+ "edit": "Edit BCC",
+ "needCopy": "Need Copy",
+ "copyTo": "Copy to",
+ "domain": "Domain",
+ "type": "BCC Type",
+ "status": "Status",
+ "active": "Active",
+ "types": {
+ "sender": "When sending",
+ "recipient": "When receiving"
+ },
+ "delete": {
+ "title": "Delete BCC [{address}]",
+ "content": "Whether to delete the BCC setting?"
+ },
+ "placeholders": {
+ "needCopy": "Enter the users you need to BCC",
+ "copyTo": "Enter the email you need to receive the BCC"
+ },
+ "loading": {
+ "adding": "Adding BCC, please wait...",
+ "saving": "Saving BCC, please wait...",
+ "deleting": "Deleting BCC, please wait..."
+ }
+ },
+ "forward": {
+ "add": "Add Forward",
+ "edit": "Edit Forward",
+ "columns": {
+ "address": "Address",
+ "goto": "Goto",
+ "domain": "Domain",
+ "created": "Created",
+ "modified": "Modified",
+ "status": "Status"
+ },
+ "form": {
+ "status": "Status",
+ "forwardedUsers": "Forwarded users",
+ "forwardedUsersPlaceholder": "Enter the mailbox that needs to be forwarded",
+ "domain": "Domain",
+ "domainPlaceholder": "Domain name of the Forwarded users",
+ "receivingUser": "Receiving user",
+ "receivingUserPlaceholder": "Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"
+ },
+ "delete": {
+ "title": "Delete mail forward",
+ "content": "Are you sure you want to delete mail forward [{address}]?"
+ },
+ "loading": {
+ "adding": "Adding mail forward, please wait...",
+ "editing": "Editing mail forward, please wait...",
+ "deleting": "Deleting mail forward, please wait..."
+ }
+ },
+ "common": {
+ "confirm": "Update",
+ "security": {
+ "title": "Security Settings",
+ "username": "Change Username",
+ "currentUsername": "Current Username",
+ "newUsernamePlaceholder": "Enter new username",
+ "usernameRule": "4-20 characters, letters and numbers",
+ "usernameExists": "Username already exists",
+ "changePassword": "Change Password",
+ "currentPassword": "Current Password",
+ "newPassword": "New Password",
+ "confirmPassword": "Confirm New Password",
+ "passwordStrength": "Password Strength",
+ "passwordMismatch": "Passwords do not match",
+ "strength": {
+ "weak": "Weak",
+ "medium": "Medium",
+ "strong": "Strong"
+ },
+ "securityPath": "Change Security Path",
+ "currentPath": "Current Path",
+ "newPathPlaceholder": "Enter new path, e.g. admin-abc123",
+ "pathRule": "Recommend using complex path for enhanced security",
+ "usernameValidation": {
+ "lengthError": "Username length must be between 4 and 20 characters",
+ "formatError": "Username must consist of letters, numbers or underscores",
+ "duplicateError": "Username cannot be the same as current username"
+ }
+ },
+ "network": {
+ "title": "Network Configuration",
+ "domain": "Domain Settings",
+ "currentDomain": "The access domain name of the console",
+ "newDomainPlaceholder": "Enter new domain, e.g. admin.yourdomain.com",
+ "domainRule": "Please enter a valid domain",
+ "ssl": "SSL Certificate Configuration",
+ "sslEnabled": "SSL Enabled",
+ "certStatus": "Certificate Status",
+ "certValid": "({days} days remaining)",
+ "sslCert": "SSL Certificate (PEM format)",
+ "sslKey": "Private Key (PEM format)",
+ "certPlaceholder": "-----BEGIN CERTIFICATE-----\nMIIFazCCA1OgAwIBAgIURv...\n-----END CERTIFICATE-----",
+ "keyPlaceholder": "-----BEGIN PRIVATE KEY-----\nMIIEvQIBADANBgkqhkiG...\n-----END PRIVATE KEY-----",
+ "updateSSL": "Update SSL Certificate",
+ "certValidStatus": "Certificate Valid",
+ "certExpiredStatus": "Certificate Expired",
+ "certExpireTime": "Certificate expires: {time}"
+ },
+ "system": {
+ "title": "System Configuration",
+ "port": "Port Settings",
+ "currentPort": "Current Port",
+ "terminalRequired": "This setting requires terminal operation",
+ "copyCommand": "Copy the above command and execute it in the server terminal",
+ "commandCopied": "Command copied to clipboard",
+ "timezone": "Timezone Settings",
+ "currentTime": "Current System Timezone"
+ }
+ },
+ "api": {
+ "loading": {
+ "restarting": "Restarting service, please wait...",
+ "saving": "Saving configuration, please wait..."
+ }
+ }
+ },
+ "api": {
+ "title": "Send API",
+ "timeRange": "Time Range: ",
+ "status": "Status: ",
+ "search": "Search: ",
+ "searchPlaceholder": "Please enter API name",
+ "refreshData": "Refresh Data",
+ "createNew": "Create API",
+ "statusOptions": {
+ "all": "All",
+ "active": "Active",
+ "inactive": "Inactive"
+ },
+ "columns": {
+ "apiName": "API Name",
+ "apiKey": "API Key",
+ "sendCount": "Send Count",
+ "openRate": "Open Rate",
+ "clickRate": "Click Rate",
+ "bounceRate": "Bounce Rate",
+ "status": "Status"
+ },
+ "statusLabels": {
+ "active": "Active",
+ "inactive": "Inactive"
+ },
+ "confirmDelete": {
+ "title": "Delete API [{apiName}]",
+ "content": "Are you sure you want to delete this API?"
+ },
+ "overview": {
+ "totalSend": "Total Sent",
+ "avgOpenRate": "Avg Open Rate",
+ "avgClickRate": "Avg Click Rate",
+ "avgBounceRate": "Avg Bounce Rate"
+ },
+ "form": {
+ "apiName": "API Name",
+ "status": "Status",
+ "ipWhitelist": "IP Whitelist",
+ "apiNamePlaceholder": "Please enter API name",
+ "ipWhitelistPlaceholder": "Multiple IPs separated by commas, empty means no restriction",
+ "validation": {
+ "apiNameRequired": "Please enter API name",
+ "addresserRequired": "Please select sender",
+ "templateRequired": "Please select template"
+ },
+ "title": {
+ "edit": "Edit API",
+ "add": "Add API"
+ }
+ },
+ "loading": {
+ "creating": "Creating, please wait...",
+ "updating": "Updating, please wait...",
+ "deleting": "Deleting, please wait...",
+ "testing": "Testing, please wait..."
+ }
+ }
}
diff --git a/core/frontend/src/i18n/lang/zh.json b/core/frontend/src/i18n/lang/zh.json
index 9beb1478..f926d1d8 100644
--- a/core/frontend/src/i18n/lang/zh.json
+++ b/core/frontend/src/i18n/lang/zh.json
@@ -373,7 +373,11 @@
"data": "数据",
"pasteData": "粘贴数据",
"uploadFile": "上传文件",
- "pastePlaceholder": "请粘贴数据,每行一个邮箱,属性(可为空)\n例如:[email protected]\[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\"",
+ "pastePlaceholder": [
+ "请粘贴数据,每行一个邮箱,属性(可为空)",
+ "例如:[email protected]",
+ "[email protected],\"{\"\"age\"\": \"\"13\"\", \"\"Gender\"\": \"\"XXX\"\"}\""
+ ],
"fileTypeHint": "文件类型:csv,不超过5 MB",
"overwriteLabel": "覆盖现有用户",
"overwriteDescription": "在导入时是否按照导入数据来覆盖列表中存在的客户信息",
diff --git a/core/frontend/src/views/contacts/subscribers/components/SubscriberImport.vue b/core/frontend/src/views/contacts/subscribers/components/SubscriberImport.vue
index e37cd4f2..768650c6 100644
--- a/core/frontend/src/views/contacts/subscribers/components/SubscriberImport.vue
+++ b/core/frontend/src/views/contacts/subscribers/components/SubscriberImport.vue
@@ -47,7 +47,9 @@
<template v-if="form.import_type === 2">
<n-input v-model:value="form.contacts" type="textarea" :rows="8"> </n-input>
<div class="mt-8px text-12px text-desc">
- {{ $t('contacts.subscribers.import.pastePlaceholder') }}
+ <p>{{ $t('contacts.subscribers.import.pastePlaceholder.0') }}</p>
+ <!-- <p>{{ $t('contacts.subscribers.import.pastePlaceholder.1') }}</p> -->
+ <!-- <p>{{ $t('contacts.subscribers.import.pastePlaceholder.2') }}</p> -->
</div>
</template>
</div>
diff --git a/core/public/dist/index.html b/core/public/dist/index.html
index 94588cb2..229033cd 100644
--- a/core/public/dist/index.html
+++ b/core/public/dist/index.html
@@ -8,7 +8,7 @@
<link rel="shortcut icon" href="/favicon.ico" type="image/x-icon" />
<meta name="naive-ui-style" />
<title>BillionMail</title>
- <script defer src="/static/js/lib-axios.a492ca1d.js"></script><script defer src="/static/js/lib-vue.1514baec.js"></script><script defer src="/static/js/lib-router.bfc80059.js"></script><script defer src="/static/js/6746.b3aeaec4.js"></script><script defer src="/static/js/index.d7d80900.js"></script><link href="/static/css/index.d12a1032.css" rel="stylesheet"></head>
+ <script defer src="/static/js/lib-axios.a492ca1d.js"></script><script defer src="/static/js/lib-vue.1514baec.js"></script><script defer src="/static/js/lib-router.bfc80059.js"></script><script defer src="/static/js/6746.b3aeaec4.js"></script><script defer src="/static/js/index.ea06bf61.js"></script><link href="/static/css/index.d12a1032.css" rel="stylesheet"></head>
<body>
<div id="root"></div>
</body>
diff --git a/core/public/dist/static/css/async/3118.96d2c645.css b/core/public/dist/static/css/async/4536.67f335ae.css
similarity index 92%
rename from core/public/dist/static/css/async/3118.96d2c645.css
rename to core/public/dist/static/css/async/4536.67f335ae.css
index e08f4536..04c23ba4 100644
--- a/core/public/dist/static/css/async/3118.96d2c645.css
+++ b/core/public/dist/static/css/async/4536.67f335ae.css
@@ -1 +1 @@
-.n-upload-dragger[data-v-6410fc8e]{padding:32px 0}.n-upload-dragger[data-v-6410fc8e]:hover{--n-dragger-color:var(--color-primary-2);--n-dragger-border-hover:1px dashed var(--color-primary-3)}.n-upload-dragger[data-v-6410fc8e]:hover .drag-icon{background-color:var(--color-primary-1);color:#fff}.n-upload-dragger[data-v-6410fc8e] .drag-icon{background-color:var(--color-bg-4);border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:background-color .3s,color .3s;display:flex}.n-upload-dragger[data-v-6410fc8e] .drag-text{margin-top:16px;font-size:14px;font-weight:500}.n-upload-dragger[data-v-6410fc8e] .drag-suffix{color:var(--color-text-2);margin-top:4px}.csv-example[data-v-b949b6f8]{border:1px solid var(--color-border-1);white-space:pre;word-wrap:normal;background:0 0;border-radius:4px;width:100%;margin:0;padding:16px 24px;overflow-x:auto}.subscriber-container[data-v-c7ec0e9c]{background-color:#fff;border-radius:3px;padding:16px}.subscriber-container .action-bar[data-v-c7ec0e9c]{justify-content:space-between;margin-bottom:16px;display:flex}
\ No newline at end of file
+.n-upload-dragger[data-v-6410fc8e]{padding:32px 0}.n-upload-dragger[data-v-6410fc8e]:hover{--n-dragger-color:var(--color-primary-2);--n-dragger-border-hover:1px dashed var(--color-primary-3)}.n-upload-dragger[data-v-6410fc8e]:hover .drag-icon{background-color:var(--color-primary-1);color:#fff}.n-upload-dragger[data-v-6410fc8e] .drag-icon{background-color:var(--color-bg-4);border-radius:4px;justify-content:center;align-items:center;width:40px;height:40px;font-size:16px;transition:background-color .3s,color .3s;display:flex}.n-upload-dragger[data-v-6410fc8e] .drag-text{margin-top:16px;font-size:14px;font-weight:500}.n-upload-dragger[data-v-6410fc8e] .drag-suffix{color:var(--color-text-2);margin-top:4px}.csv-example[data-v-22187ee4]{border:1px solid var(--color-border-1);white-space:pre;word-wrap:normal;background:0 0;border-radius:4px;width:100%;margin:0;padding:16px 24px;overflow-x:auto}.subscriber-container[data-v-c7ec0e9c]{background-color:#fff;border-radius:3px;padding:16px}.subscriber-container .action-bar[data-v-c7ec0e9c]{justify-content:space-between;margin-bottom:16px;display:flex}
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/156.e71e5560.js b/core/public/dist/static/js/async/156.4ccaa390.js
similarity index 99%
rename from core/public/dist/static/js/async/156.e71e5560.js
rename to core/public/dist/static/js/async/156.4ccaa390.js
index 7227ffb9..afdd85c6 100644
--- a/core/public/dist/static/js/async/156.e71e5560.js
+++ b/core/public/dist/static/js/async/156.4ccaa390.js
@@ -1,2 +1,2 @@
-/*! For license information please see 156.e71e5560.js.LICENSE.txt */
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["156"],{12012:function(t,e,n){n.d(e,{ZT:()=>r});var i=function(t,e){return(i=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])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},17987:function(t,e,n){n.d(e,{E:()=>o});var i=n(87499),r=n(5969);function o(t,e,n){let o=(0,r.Q)(t,n?.in);return isNaN(e)?(0,i.L)(n?.in||t,NaN):(e&&o.setDate(o.getDate()+e),o)}},17524:function(t,e,n){n.d(e,{D:()=>a,KZ:()=>s,XD:()=>c,Zi:()=>p,bX:()=>u,eq:()=>l});var i=n(96585),r=(0,n(46451).Yf)();function o(t,e,n,r,o,a,s){var l,u=!1;(0,i.mf)(o)?(s=a,a=o,o=null):(0,i.Kn)(o)&&(a=o.cb,s=o.during,u=o.isFrom,l=o.removeOpt,o=o.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var c=function(t,e,n,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var h=void 0,c=void 0,p=void 0;return r?(h=(0,i.pD)(r.duration,200),c=(0,i.pD)(r.easing,"cubicOut"),p=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(p=a.delay)),(0,i.mf)(p)&&(p=p(n,o)),(0,i.mf)(h)&&(h=h(n)),{duration:h||0,delay:p,easing:c}}(t,r,o,h?l||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,o):null);if(c&&c.duration>0){var p={duration:c.duration,delay:c.delay||0,easing:c.easing,done:a,force:!!a||!!s,setToFinal:!h,scope:t,during:s};u?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),u||e.attr(n),s&&s(1),a&&a()}function a(t,e,n,i,r,a){o("update",t,e,n,i,r,a)}function s(t,e,n,i,r,a){o("enter",t,e,n,i,r,a)}function l(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function u(t,e,n,i,r,a){l(t)||o("leave",t,e,n,i,r,a)}function h(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),u(t,{style:{opacity:0}},e,n,i)}function c(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||h(t,e,n,i)}):h(t,e,n,i)}function p(t){r(t).oldStyle=t.style}},68449:function(t,e,n){n.d(e,{N:()=>K});var i=n(96585),r=n(12105),o=n(24488),a=n(12012),s=n(69331),l=n(21328),u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,a.ZT)(e,t),e.prototype.getInitialData=function(t,e){return(0,l.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var r=this.coordinateSystem;if(r&&r.clampData){var o=r.clampData(t),a=r.dataToPoint(o);if(n)(0,i.S6)(r.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),r=t.getTickModel().get("alignWithLabel"),s=o[n],l="x1"===e[n]||"y1"===e[n];if(l&&!r&&(s+=1),!(i.length<2)){if(2===i.length){a[n]=t.toGlobalCoord(t.getExtent()[+!!l]);return}for(var u=void 0,h=void 0,c=1,p=0;p<i.length;p++){var d=i[p].coord,f=p===i.length-1?i[p-1].tickValue+c:i[p].tickValue;if(f===s){h=d;break}if(f<s)u=d;else if(null!=u&&f>s){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),a[n]=t.toGlobalCoord(h)}}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),h=+!r.getBaseAxis().isHorizontal();a[h]+=l+u/2}return a}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}(s.Z);s.Z.registerClass(u);var h=n(95202),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,a.ZT)(e,t),e.prototype.getInitialData=function(){return(0,l.Z)(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=(0,h.ZL)(u.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}(u),p=n(50654),d=n(58695),f=n(19044),g=n(17524),y=n(40361),v=n(98289),m=n(55413),_=n(63344),x=n(77704),S=n(59524),w=n(92741),b=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},M=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return(0,a.ZT)(e,t),e.prototype.getDefaultShape=function(){return new b},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=(o-r)*.5,s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-l<c:l-u<c;p||(l=u-(h?c:-c));var d=Math.cos(l),f=Math.sin(l),g=Math.cos(u),y=Math.sin(u);p?(t.moveTo(d*r+n,f*r+i),t.arc(d*s+n,f*s+i,a,-Math.PI+l,l,!h)):t.moveTo(d*o+n,f*o+i),t.arc(n,i,o,l,u,!h),t.arc(g*s+n,y*s+i,a,u-2*Math.PI,u-Math.PI,!h),0!==r&&t.arc(n,i,r,u,l,h)},e}(p.ZP),T=n(47389),k=n(63248),I=n(8169),D=n(45258);function C(t,e,n){return e*Math.sin(t)*(n?-1:1)}function A(t,e,n){return e*Math.cos(t)*(n?1:-1)}var P=Math.max,L=Math.min,O=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return(0,a.ZT)(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){(0,f.traverseElements)(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,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var h=t.isAnimationEnabled()?t:null,c=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);c&&this._enableRealtimeSort(c,a,n);var p=t.get("clip",!0)||c,f=function(t,e){var n=t.getArea&&t.getArea();if((0,k.H)(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var m=t.get("roundCap",!0),_=t.get("showBackground",!0),S=t.getModel("backgroundStyle"),w=S.get("borderRadius")||0,b=[],M=this._backgroundEls,T=i&&i.isInitSort,I=i&&"changeAxisOrder"===i.type;function D(t){var e,n,i,o=H[l.type](a,t),s=(e=l,n=r,i=o,new("polar"===e.type?v.C:y.Z)({shape:q(n,i,e),silent:!0,z2:0}));return s.useStyle(S.getItemStyle()),"cartesian2d"===l.type?s.setShape("r",w):s.setShape("cornerRadius",w),b[t]=s,s}a.diff(s).add(function(e){var n=a.getItemModel(e),i=H[l.type](a,e,n);if(_&&D(e),a.hasValue(e)&&F[l.type](i)){var s=!1;p&&(s=R[l.type](f,i));var d=Z[l.type](t,a,e,i,r,h,u.model,!1,m);c&&(d.forceLabelAnimation=!0),V(d,a,e,n,i,t,r,"polar"===l.type),T?d.attr({shape:i}):c?N(c,h,d,i,e,r,!1,!1):(0,g.KZ)(d,{shape:i},t,e),a.setItemGraphicEl(e,d),o.add(d),d.ignore=s}}).update(function(e,n){var i=a.getItemModel(e),d=H[l.type](a,e,i);if(_){var y=void 0;0===M.length?y=D(n):((y=M[n]).useStyle(S.getItemStyle()),"cartesian2d"===l.type?y.setShape("r",w):y.setShape("cornerRadius",w),b[e]=y);var v=H[l.type](a,e),k=q(r,v,l);(0,g.D)(y,{shape:k},h,e)}var C=s.getItemGraphicEl(n);if(!a.hasValue(e)||!F[l.type](d))return void o.remove(C);var A=!1;if(p&&(A=R[l.type](f,d))&&o.remove(C),C?(0,g.Zi)(C):C=Z[l.type](t,a,e,d,r,h,u.model,!!C,m),c&&(C.forceLabelAnimation=!0),I){var P=C.getTextContent();if(P){var L=(0,x.qA)(P);null!=L.prevValue&&(L.prevValue=L.value)}}else V(C,a,e,i,d,t,r,"polar"===l.type);T?C.attr({shape:d}):c?N(c,h,C,d,e,r,!0,I):(0,g.D)(C,{shape:d},t,e,null),a.setItemGraphicEl(e,C),C.ignore=A,o.add(C)}).remove(function(e){var n=s.getItemGraphicEl(e);n&&(0,g.XD)(n,t,e)}).execute();var C=this._backgroundGroup||(this._backgroundGroup=new d.Z);C.removeAll();for(var A=0;A<b.length;++A)C.add(b[A]);o.add(C),this._backgroundEls=b,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),X(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),X(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&(0,w.lQ)(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var r=[];return t.each(t.mapDimension(e.dim),function(t,e){var i=n(e);i=null==i?NaN:i,r.push({dataIndex:e,mappedValue:i,ordinalNumber:t})}),r.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:(0,i.UI)(r,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)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){(0,g.XD)(e,t,(0,m.A)(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}(T.Z),R={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=P(e.x,t.x),s=L(e.x+e.width,r),l=P(e.y,t.y),u=L(e.y+e.height,o),h=s<a,c=u<l;return e.x=h&&a>r?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=L(e.r,t.r),o=P(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}return a}},Z={cartesian2d:function(t,e,n,r,o,a,s,l,u){var h=new y.Z({shape:(0,i.l7)({},r),z2:1});return h.__dataIndex=n,h.name="item",a&&(h.shape[o?"height":"width"]=0),h},polar:function(t,e,n,i,r,o,a,s,l){var u,h,c,p=!r&&l?M:v.C,d=new p({shape:i,z2:1});if(d.name="item",u=W(r),c=p===M,d.calculateTextPosition=function(t,e,n){var i=e.position;if(!i||i instanceof Array)return(0,D.wI)(t,e,n);var r=u(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,h=a.r,p=a.r0,d=(h+p)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=c?Math.abs(h-p)/2:0,m=Math.cos,_=Math.sin,x=s+h*m(f),S=l+h*_(f),w="left",b="top";switch(r){case"startArc":x=s+(p-o)*m(y),S=l+(p-o)*_(y),w="center",b="top";break;case"insideStartArc":x=s+(p+o)*m(y),S=l+(p+o)*_(y),w="center",b="bottom";break;case"startAngle":x=s+d*m(f)+C(f,o+v,!1),S=l+d*_(f)+A(f,o+v,!1),w="right",b="middle";break;case"insideStartAngle":x=s+d*m(f)+C(f,-o+v,!1),S=l+d*_(f)+A(f,-o+v,!1),w="left",b="middle";break;case"middle":x=s+d*m(y),S=l+d*_(y),w="center",b="middle";break;case"endArc":x=s+(h+o)*m(y),S=l+(h+o)*_(y),w="center",b="bottom";break;case"insideEndArc":x=s+(h-o)*m(y),S=l+(h-o)*_(y),w="center",b="top";break;case"endAngle":x=s+d*m(g)+C(g,o+v,!0),S=l+d*_(g)+A(g,o+v,!0),w="left",b="middle";break;case"insideEndAngle":x=s+d*m(g)+C(g,-o+v,!0),S=l+d*_(g)+A(g,-o+v,!0),w="right",b="middle";break;default:return(0,D.wI)(t,e,n)}return(t=t||{}).x=x,t.y=S,t.align=w,t.verticalAlign=b,t},o){var f=d.shape,y=r?"r":"endAngle",m={};f[y]=r?i.r0:i.startAngle,m[y]=i[y],(s?g.D:g.KZ)(d,{shape:m},o)}return d}};function N(t,e,n,i,r,o,a,s){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?g.D:g.KZ)(n,{shape:l},e,r,null);var l,u,h=e?t.baseAxis.model:null;(a?g.D:g.KZ)(n,{shape:u},h,r)}function z(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var E=["x","y","width","height"],B=["cx","cy","r","startAngle","endAngle"],F={cartesian2d:function(t){return!z(t,E)},polar:function(t){return!z(t,B)}},H={cartesian2d:function(t,e,n){var i,r,o,a=t.getItemLayout(e),s=n?(i=n,r=a,(o=i.get(["itemStyle","borderColor"]))&&"none"!==o?Math.min(i.get(["itemStyle","borderWidth"])||0,isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height)):0):0,l=a.width>0?1:-1,u=a.height>0?1:-1;return{x:a.x+l*s/2,y:a.y+u*s/2,width:a.width-l*s,height:a.height-u*s}},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 W(t){var e;return e=t?"Arc":"Angle",function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}function V(t,e,n,r,o,a,s,l){var u=e.getItemVisual(n,"style");if(l){if(!a.get("roundCap")){var h=t.shape,c=function(t,e,n){var r=t.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;(0,i.kJ)(r)||(r=[r,r,r,r]);var o=Math.abs(e.r||0-e.r0||0);return{cornerRadius:(0,i.UI)(r,function(t){return(0,D.GM)(t,o)})}}(r.getModel("itemStyle"),h,!0);(0,i.l7)(h,c),t.setShape(h)}}else{var p=r.get(["itemStyle","borderRadius"])||0;t.setShape("r",p)}t.useStyle(u);var d=r.getShallow("cursor");d&&t.attr("cursor",d);var f=l?s?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":s?o.height>=0?"bottom":"top":o.width>=0?"right":"left",g=(0,x.k3)(r);(0,x.ni)(t,g,{labelFetcher:a,labelDataIndex:n,defaultText:(0,I.H)(a.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:f});var y=t.getTextContent();if(l&&y){var v=r.get(["label","position"]);t.textConfig.inside="middle"===v||null,function(t,e,n,r){if((0,i.hj)(r))return t.setTextConfig({rotation:r});if((0,i.kJ)(e))return t.setTextConfig({rotation:0});var o,a=t.shape,s=a.clockwise?a.startAngle:a.endAngle,l=a.clockwise?a.endAngle:a.startAngle,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=(s+l)/2;break;case"startAngle":case"insideStartAngle":o=s;break;case"endAngle":case"insideEndAngle":o=l;break;default:t.setTextConfig({rotation:0});return}var h=1.5*Math.PI-o;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}(t,"outside"===v?f:v,W(s),r.get(["label","rotate"]))}(0,x.pe)(y,g,a.getRawValue(n),function(t){return(0,I.O)(e,t)});var m=r.getModel(["emphasis"]);(0,_.k5)(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),(0,_.WO)(t,r),null!=o.startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(t.style.fill="none",t.style.stroke="none",(0,i.S6)(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var G=function(){},U=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return(0,a.ZT)(e,t),e.prototype.getDefaultShape=function(){return new G},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<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(p.ZP);function X(t,e,n,i){var r=t.getData(),o=+!!r.getLayout("valueAxisHorizontal"),a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var h=new U({shape:{points:u},incremental:!!i,silent:!0,z2:0});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,h.useStyle(l.getItemStyle()),e.add(h),n&&n.push(h)}var c=new U({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,e.add(c),c.useStyle(r.getVisual("style")),c.style.stroke=null,(0,m.A)(c).seriesIndex=t.seriesIndex,t.get("silent")||(c.on("mousedown",Y),c.on("mousemove",Y)),n&&n.push(c)}var Y=(0,S.P2)(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,h=0,c=o.length/3;h<c;h++){var p=3*h;if(l[i]=u,l[r]=o[p+2],s[i]=o[p+i],s[r]=o[p+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=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);(0,m.A)(this).dataIndex=e>=0?e:null},30,!1);function q(t,e,n){if((0,k.H)(n,"cartesian2d")){var i=n.getArea();return{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}var i=n.getArea();return{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}}function K(t){t.registerChartView(O),t.registerSeriesModel(c),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,i.WA(r.bK,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,r.Bk)("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,o.Z)("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})})}},92741:function(t,e,n){n.d(e,{ID:()=>l,X0:()=>u,lQ:()=>h});var i=n(40361),r=n(17524),o=n(98289),a=n(81731),s=n(96585);function l(t,e,n,o,a){var l=t.getArea(),u=l.x,h=l.y,c=l.width,p=l.height,d=n.get(["lineStyle","width"])||0;u-=d/2,h-=d/2,c+=d,p+=d,c=Math.ceil(c),u!==Math.floor(u)&&(u=Math.floor(u),c++);var f=new i.Z({shape:{x:u,y:h,width:c,height:p}});if(e){var g=t.getBaseAxis(),y=g.isHorizontal(),v=g.inverse;y?(v&&(f.shape.x+=c),f.shape.width=0):(v||(f.shape.y+=p),f.shape.height=0);var m=(0,s.mf)(a)?function(t){a(t,f)}:null;r.KZ(f,{shape:{width:c,height:p,x:u,y:h}},n,null,o,m)}return f}function u(t,e,n){var i=t.getArea(),s=(0,a.NM)(i.r0,1),l=(0,a.NM)(i.r,1),u=new o.C({shape:{cx:(0,a.NM)(t.cx,1),cy:(0,a.NM)(t.cy,1),r0:s,r:l,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?u.shape.endAngle=i.startAngle:u.shape.r=s,r.KZ(u,{shape:{endAngle:i.endAngle,r:l}},n)),u}function h(t,e,n,i,r){if(t){if("polar"===t.type)return u(t,e,n);else if("cartesian2d"===t.type)return l(t,e,n,i,r)}return null}},94431:function(t,e,n){n.d(e,{Z:()=>r});var i=n(46451);function r(){var t=(0,i.Yf)();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"}}},21328:function(t,e,n){n.d(e,{Z:()=>z});var i,r,o,a,s,l,u,h=n(96585),c=n(84456);function p(t){return null==t?0:t.length||1}function d(t){return t}var f=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||d,this._newKeyGetter=i||d,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=Array(t.length),r=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=p(s);if(l>1){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;a<r.length;a++){var s=r[a],l=n[s],u=i[s],h=p(l),c=p(u);if(h>1&&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 d=0;d<h;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=p(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=p(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),g=n(32658),y=n(15693),v=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function m(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}let _=function(t){this.otherDims={},null!=t&&h.l7(this,t)};var x=n(46451),S=n(55413),w=n(58136),b=n(58185),M=n(56235),T=h.Kn,k=h.UI,I="undefined"==typeof Int32Array?Array:Int32Array,D=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],C=["_approximateExtent"],A=function(){function t(t,e){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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;(0,M.bB)(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<n.length;u++){var c=n[u],p=h.HD(c)?new _({name:c}):c instanceof _?c:new _(c),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=h.kW();h.S6(o,function(t){g.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r,o,a,s,l,u,c,p,d,f,_,x,S=this;if(t instanceof b.ZP&&(x=t),!x){var M=this.dimensions,T=(0,w.Ld)(t)||h.zG(t)?new g.Pl(t,M.length):t;x=new b.ZP;var I=k(M,function(t){return{type:S._dimInfos[t].type,property:t}});x.initData(T,I,n)}this._store=x,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,x.count()),this._dimSummary=(i=this,r=this._schema,a=(o={}).encode={},s=(0,h.kW)(),l=[],u=[],c={},(0,h.S6)(i.dimensions,function(t){var e=i.getDimensionInfo(t),n=e.coordDim;if(n){var r,o=e.coordDimIndex;m(a,n)[o]=t,e.isExtraCoord||(s.set(n,1),"ordinal"!==(r=e.type)&&"time"!==r&&(l[0]=t),m(c,n)[o]=i.getDimensionIndex(e.name)),e.defaultTooltip&&u.push(t)}y.f7.each(function(t,n){var i=m(a,n),r=e.otherDims[n];null!=r&&!1!==r&&(i[r]=e.name)})}),p=[],d={},s.each(function(t,e){var n=a[e];d[e]=n[0],p=p.concat(n)}),o.dataDimsOnCoord=p,o.dataDimIndicesOnCoord=(0,h.UI)(p,function(t){return i.getDimensionInfo(t).storeDimIndex}),o.encodeFirstDimNotExtra=d,(f=a.label)&&f.length&&(l=f.slice()),(_=a.tooltip)&&_.length?u=_.slice():u.length||(u=l.slice()),a.defaultedLabel=l,a.defaultedTooltip=u,o.userOutput=new v(c,r),o),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,x.Co)(l)&&(this.hasItemOption=!0),l){var h=l.name;null==r[s]&&null!=h&&(r[s]=(0,x.U5)(h,null));var c=l.id;null==o[s]&&null!=c&&(o[s]=(0,x.U5)(c,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){T(t)?h.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return h.kJ(t)?i.getValues(k(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=k(a(t),this._getStoreDimIndex,this);this._store.each(r,i?h.ak(e,i):e)},t.prototype.filterSelf=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=k(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?h.ak(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=h.XP(t),r=[];return h.S6(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=k(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?h.ak(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=k(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?h.ak(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},T(t)?h.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),h.kJ(r)?r=r.slice():T(r)&&(r=h.l7({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,T(e)?h.l7(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){T(t)?h.l7(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?h.l7(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;(0,S.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.S6(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:k(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.tP(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;h.S6(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new I(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,x.U5)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return h.kJ(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:k(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.S6(D.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,h.S6(C,function(n){t[n]=h.d9(e[n])}),t._calculationInfo=h.l7({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,h=u[s]=(u[s]||0)+1;l=s,h>1&&(l+="__ec__"+h),i[e]=l}}),t}(),P=n(490),L=n(44733),O=function(t){this.coordSysDims=[],this.axisMap=(0,h.kW)(),this.categoryAxisMap=(0,h.kW)(),this.coordSysName=t},R={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",x.C6).models[0],o=t.getReferringComponents("yAxis",x.C6).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Z(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Z(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",x.C6).models[0];e.coordSysDims=["single"],n.set("single",r),Z(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",x.C6).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Z(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Z(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();(0,h.S6)(o.parallelAxisIndex,function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Z(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))})}};function Z(t){return"category"===t.get("type")}var N=n(93054);let z=function(t,e,n){n=n||{};var i,r,o,a,s,l,u,c,p=e.getSourceManager(),d=!1;t?(d=!0,c=(0,w.nx)(t)):d=(c=p.getSource()).sourceFormat===y.cy;var f=function(t){var e=t.get("coordinateSystem"),n=new O(e),i=R[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),g=(r=e.get("coordinateSystem"),o=L.Z.get(r),f&&f.coordSysDims&&(i=h.UI(f.coordSysDims,function(t){var e,n={name:t},i=f.axisMap.get(t);return i&&(n.type="category"===(e=i.get("type"))?"ordinal":"time"===e?"time":"float"),n})),i||(i=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),i),v=n.useEncodeDefaulter,m=h.mf(v)?v:v?h.WA(P.pY,g,e):null,S=function(t,e){(0,w.Ld)(t)||(t=(0,w.nx)(t));var n,i,r,o,a,s=(e=e||{}).coordDimensions||[],l=e.dimensionsDefine||t.dimensionsDefine||[],u=(0,h.kW)(),c=[],p=(n=t,i=s,r=l,o=e.dimensionsCount,a=Math.max(n.dimensionsDetectedCount||1,i.length,r.length,o||0),(0,h.S6)(i,function(t){var e;(0,h.Kn)(t)&&(e=t.dimsDef)&&(a=Math.max(a,e.length))}),a),d=e.canOmitUnusedDimensions&&(0,M.Jl)(p),f=l===t.dimensionsDefine,g=f?(0,M.Jj)(t):(0,M.v5)(l),v=e.encodeDefine;!v&&e.encodeDefaulter&&(v=e.encodeDefaulter(t,p));for(var m=(0,h.kW)(v),S=new b.hG(p),T=0;T<S.length;T++)S[T]=-1;function k(t){var e=S[t];if(e<0){var n=l[t],i=(0,h.Kn)(n)?n:{name:n},r=new _,o=i.name;null!=o&&null!=g.get(o)&&(r.name=r.displayName=o),null!=i.type&&(r.type=i.type),null!=i.displayName&&(r.displayName=i.displayName);var a=c.length;return S[t]=a,r.storeDimIndex=t,c.push(r),r}return c[e]}if(!d)for(var T=0;T<p;T++)k(T);m.each(function(t,e){var n=(0,x.kF)(t).slice();if(1===n.length&&!(0,h.HD)(n[0])&&n[0]<0)return void m.set(e,!1);var i=m.set(e,[]);(0,h.S6)(n,function(t,n){var r=(0,h.HD)(t)?g.get(t):t;null!=r&&r<p&&(i[n]=r,D(k(r),e,n))})});var I=0;function D(t,e,n){null!=y.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,u.set(e,!0))}(0,h.S6)(s,function(t){if((0,h.HD)(t))r=t,i={};else{var e,n,i,r=(i=t).name,o=i.ordinalMeta;i.ordinalMeta=null,(i=(0,h.l7)({},i)).ordinalMeta=o,e=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var a=m.get(r);if(!1!==a){if(!(a=(0,x.kF)(a)).length)for(var s=0;s<(e&&e.length||1);s++){for(;I<p&&null!=k(I).coordDim;)I++;I<p&&a.push(I++)}(0,h.S6)(a,function(t,o){var a=k(t);if(f&&null!=i.type&&(a.type=i.type),D((0,h.ce)(a,i),r,o),null==a.name&&e){var s=e[o];(0,h.Kn)(s)||(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}n&&(0,h.ce)(a.otherDims,n)})}});var C=e.generateCoord,A=e.generateCoordCount,L=null!=A;A=C?A||1:0;var O=C||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(d)(0,h.S6)(c,function(t){R(t)}),c.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var Z=0;Z<p;Z++){var N=k(Z);null==N.coordDim&&(N.coordDim=function(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}(O,u,L),N.coordDimIndex=0,(!C||A<=0)&&(N.isExtraCoord=!0),A--),R(N),null==N.type&&((0,P.u7)(t,Z)===P.Dq.Must||N.isExtraCoord&&(null!=N.otherDims.itemName||null!=N.otherDims.seriesName))&&(N.type="ordinal")}return function(t){for(var e=(0,h.kW)(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(c),new M.Eo({source:t,dimensions:c,fullDimensionCount:p,dimensionOmitted:d})}(c,{coordDimensions:g,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:m,canOmitUnusedDimensions:!d}),T=(a=S.dimensions,s=n.createInvertedIndices,f&&h.S6(a,function(t,e){var n=t.coordDim,i=f.categoryAxisMap.get(n);i&&(null==l&&(l=e),t.ordinalMeta=i.getOrdinalMeta(),s&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(u=!0)}),u||null==l||(a[l].otherDims.itemName=0),l),k=d?null:p.getSharedDataStore(S),I=(0,N.BM)(e,{schema:S,store:k}),D=new A(S,e);D.setCalculationInfo(I);var C=null!=T&&function(t){if(t.sourceFormat===y.cy){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!h.kJ((0,x.C4)(e))}}(c)?function(t,e,n,i){return i===T?n:this.defaultDimValueGetter(t,e,n,i)}:null;return D.hasItemOption=!1,D.initData(d?c:k,null,C),D}},8169:function(t,e,n){n.d(e,{H:()=>o,O:()=>a});var i=n(32658),r=n(96585);function o(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.hk)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.hk)(t,e,n[s]));return a.join(" ")}}function a(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.kJ)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")}},90838:function(t,e,n){n.d(e,{N:()=>ti});var i=n(12012),r=n(21328),o=n(69331),a=n(44421),s=n(58695),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.ZT)(e,t),e.prototype.getInitialData=function(t){return(0,r.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.Z,n=(0,a.th)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,l=.8*t.itemHeight,u=(0,a.th)(o,(t.itemWidth-l)/2,(t.itemHeight-l)/2,l,l,t.itemStyle.fill);return e.add(u),u.setStyle(t.itemStyle),u.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,u.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.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}(o.Z),u=n(96585),h=n(17524),c=n(19044),p=n(55413),d=n(63344),f=n(8169),g=n(77704),y=n(31386),v=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.ZT)(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=(0,a.th)(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=m,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(){(0,d.fD)(this.childAt(0))},e.prototype.downplay=function(){(0,d.Mh)(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 c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{var p=this.childAt(0);p.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(d):h.D(p,d,a,n),(0,h.Zi)(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,h.KZ(p,d,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,s,l,h,c,p,v,m,_,x=this.childAt(0),S=t.hostModel;if(i&&(o=i.emphasisItemStyle,s=i.blurItemStyle,l=i.selectItemStyle,h=i.focus,c=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,p=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),b=w.getModel("emphasis");o=b.getModel("itemStyle").getItemStyle(),l=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),h=b.get("focus"),c=b.get("blurScope"),p=b.get("disabled"),v=(0,g.k3)(w),m=b.getShallow("scale"),_=w.getShallow("cursor")}var M=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(M||0)*Math.PI/180||0);var T=(0,a.Cq)(t.getItemVisual(e,"symbolOffset"),n);T&&(x.x=T[0],x.y=T[1]),_&&x.attr("cursor",_);var k=t.getItemVisual(e,"style"),I=k.fill;if(x instanceof y.ZP){var D=x.style;x.useStyle((0,u.l7)({image:D.image,x:D.x,y:D.y,width:D.width,height:D.height},k))}else x.__isEmptyBrush?x.useStyle((0,u.l7)({},k)):x.useStyle(k),x.style.decal=null,x.setColor(I,r&&r.symbolInnerColor),x.style.strokeNoScale=!0;var C=t.getItemVisual(e,"liftZ"),A=this._z2;null!=C?null==A&&(this._z2=x.z2,x.z2+=C):null!=A&&(x.z2=A,this._z2=null);var P=r&&r.useNameLabel;(0,g.ni)(x,v,{labelFetcher:S,labelDataIndex:e,defaultText:function(e){return P?t.getName(e):(0,f.H)(t,e)},inheritColor:I,defaultOpacity:k.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=o,x.ensureState("select").style=l,x.ensureState("blur").style=s;var O=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*O,L.scaleY=this._sizeY*O,this.setSymbolScale(1),(0,d.k5)(this,h,c,p)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,p.A)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&h.bX(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();h.bX(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,a.zp)(t.getItemVisual(e,"symbolSize"))},e}(s.Z);function m(t,e){this.parent.drift(t,e)}function _(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 x(t){return null==t||(0,u.Kn)(t)||(t={isIgnore:t}),t||{}}function S(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:(0,g.k3)(e),cursorStyle:e.get("cursor")}}var w=function(){function t(t){this.group=new s.Z,this._SymbolCtor=t||v}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=x(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=S(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(_(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}}).update(function(c,p){var d=r.getItemGraphicEl(p),f=u(c);if(!_(t,f,c,e))return void n.remove(d);var g=t.getItemVisual(c,"symbol")||"circle",y=d&&d.getSymbolType&&d.getSymbolType();if(!d||y&&y!==g)n.remove(d),(d=new o(t,c,s,l)).setPosition(f);else{d.updateData(t,c,s,l);var v={x:f[0],y:f[1]};a?d.attr(v):h.D(d,v,i)}n.add(d),t.setItemGraphicEl(c,d)}).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=S(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=x(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(_(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){c.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}(),b=n(93054);function M(t,e,n){var i,r,o,a,s=t.getBaseAxis(),l=t.getOtherAxis(s),h=(i=l,r=n,o=0,a=i.scale.getExtent(),"start"===r?o=a[0]:"end"===r?o=a[1]:(0,u.hj)(r)&&!isNaN(r)?o=r:a[0]>0?o=a[0]:a[1]<0&&(o=a[1]),o),c=s.dim,p=l.dim,d=e.mapDimension(p),f=e.mapDimension(c),g=+("x"===p||"radius"===p),y=(0,u.UI)(t.dimensions,function(t){return e.mapDimension(t)}),v=!1,m=e.getCalculationInfo("stackResultDimension");return(0,b.M)(e,y[0])&&(v=!0,y[0]=m),(0,b.M)(e,y[1])&&(v=!0,y[1]=m),{dataDimsForPoint:y,valueStart:h,valueAxisDim:p,baseAxisDim:c,stacked:!!v,valueDim:d,baseDim:f,baseDataOffset:g,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function T(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 k=n(27129),I=n(71756),D=n(26991),C=n(46451),A=n(50654),P=n(36209),L=n(97566),O=Math.min,R=Math.max;function Z(t,e){return isNaN(t)||isNaN(e)}function N(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y<i;y++){var v=e[2*g],m=e[2*g+1];if(g>=r||g<0)break;if(Z(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 S=g+o,w=e[2*S],b=e[2*S+1];w===v&&b===m&&y<i;)y++,S+=o,g+=o,w=e[2*S],b=e[2*S+1],v=e[2*g],m=e[2*g+1],_=v-u,x=m-h;var M=y+1;if(l)for(;Z(w,b)&&M<i;)M++,S+=o,w=e[2*S],b=e[2*S+1];var T=.5,k=0,I=0,D=void 0,C=void 0;if(M>=i||Z(w,b))d=v,f=m;else{k=w-u,I=b-h;var A=v-u,P=w-v,L=m-h,N=b-m,z=void 0,E=void 0;if("x"===s){z=Math.abs(A),E=Math.abs(P);var B=k>0?1:-1;d=v-B*z*a,f=m,D=v+B*E*a,C=m}else if("y"===s){z=Math.abs(L),E=Math.abs(N);var F=I>0?1:-1;d=v,f=m-F*z*a,D=v,C=m+F*E*a}else z=Math.sqrt(A*A+L*L),d=v-k*a*(1-(T=(E=Math.sqrt(P*P+N*N))/(E+z))),f=m-I*a*(1-T),D=v+k*a*T,C=m+I*a*T,D=O(D,R(w,v)),C=O(C,R(b,m)),D=R(D,O(w,v)),C=R(C,O(b,m)),k=D-v,I=C-m,d=v-k*z/E,f=m-I*z/E,d=O(d,R(u,v)),f=O(f,R(h,m)),d=R(d,O(u,v)),f=R(f,O(h,m)),k=v-d,I=m-f,D=v+k*E/z,C=m+I*E/z}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=C}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var z=function(){this.smooth=0,this.smoothConstraint=!0},E=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new z},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Z(n[2*r-2],n[2*r-1]);r--);for(;i<r&&Z(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=N(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=P.Z.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=r[l++],h=void 0,c=void 0,p=void 0,d=void 0,f=void 0,g=void 0,y=void 0;switch(u){case o.M:n=r[l++],i=r[l++];break;case o.L:if(h=r[l++],c=r[l++],(y=a?(t-n)/(h-n):(t-i)/(c-i))<=1&&y>=0){var v=a?(c-i)*y+i:(h-n)*y+n;return a?[t,v]:[v,t]}n=h,i=c;break;case o.C:h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++],g=r[l++];var m=a?(0,L.kD)(n,h,p,f,t,s):(0,L.kD)(i,c,d,g,t,s);if(m>0)for(var _=0;_<m;_++){var x=s[_];if(x<=1&&x>=0){var v=a?(0,L.af)(i,c,d,g,x):(0,L.af)(n,h,p,f,x);return a?[t,v]:[v,t]}}n=f,i=g}}},e}(A.ZP),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(z),F=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new B},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&&Z(n[2*o-2],n[2*o-1]);o--);for(;r<o&&Z(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=N(t,n,r,o,o,1,e.smooth,a,e.connectNulls);N(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(A.ZP),H=n(47389),W=n(92741),V=n(63248),G=n(43718),U=n(67375);function X(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function Y(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function q(t,e){var n=Y(t),i=n[0],r=n[1],o=Y(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function K(t){return u.hj(t)?t:.5*!!t}function j(t,e,n,i,r){var o=n.getBaseAxis(),a=+("x"!==o.dim&&"radius"!==o.dim),s=[],l=0,u=[],h=[],c=[],p=[];if(r){for(l=0;l<t.length;l+=2){var d=e||t;isNaN(d[l])||isNaN(d[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(c[0]=t[l+2],c[1]=t[l+3],h[0]=t[l],h[1]=t[l+1],s.push(h[0],h[1]),i){case"end":u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1]);break;case"middle":var f=(h[a]+c[a])/2,g=[];u[a]=g[a]=f,u[1-a]=h[1-a],g[1-a]=c[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function J(t,e){return[t[2*e],t[2*e+1]]}function Q(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<d.L1.length;e++)if(t.get([d.L1[e],"endLabel","show"]))return!0;return!1}function $(t,e,n,i){if(!(0,V.H)(e,"cartesian2d"))return(0,W.X0)(e,n,i);var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=Q(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),h=(0,W.ID)(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var c=h.shape,p=Math.max(c.width,c.height);u?(c.y-=p,c.height+=2*p):(c.x-=p,c.width+=2*p)}return l&&l(1,h),h}var tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.init=function(){var t=new s.Z,e=new w;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=u.ak(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),c=a.getLayout("points")||[],f="polar"===r.type,g=this._coordSys,y=this._symbolDraw,m=this._polyline,_=this._polygon,x=this._lineGroup,S=!e.ssr&&t.get("animation"),w=!l.isEmpty(),b=l.get("origin"),D=M(r,a,b),C=w&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=(0,k.o)(2*i),o=0;o<i;o++){var a=T(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,D),A=t.get("showSymbol"),P=t.get("connectNulls"),L=A&&!f&&function(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;a<r;a+=o)if(1.5*v.getSymbolSize(e,a)[+!!t.isHorizontal()]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return u.S6(o.getViewLabels(),function(t){s[o.scale.getRawOrdinalNumber(t.tickValue)]=1}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}(t,a,r),O=this._data;O&&O.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),O.setItemGraphicEl(e,null))}),A||y.remove(),o.add(x);var R=!f&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(i=r.getArea()).width?(i.x-=.1,i.y-=.1,i.width+=.2,i.height+=.2):i.r0&&(i.r0-=.5,i.r+=.5)),this._clipShapeForSymbol=i;var Z=function(t,e,n){var i,r,o=t.getVisual("visualMeta");if(o&&o.length&&t.count()){if("cartesian2d"!==e.type)return;for(var a=o.length-1;a>=0;a--){var s=t.getDimensionInfo(o[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){r=o[a];break}}if(!r)return;var l=e.getAxis(i),h=u.UI(r.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),c=h.length,p=r.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),p.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,U.t7)(r,[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}else n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}return r}(h,"x"===i?n.getWidth():n.getHeight()),f=d.length;if(!f&&c)return h[0].coord<0?p[1]?p[1]:h[c-1].color:p[0]?p[0]:h[0].color;var g=d[0].coord-10,y=d[f-1].coord+10,v=y-g;if(v<.001)return"transparent";u.S6(d,function(t){t.offset=(t.coord-g)/v}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var m=new I.Z(0,0,0,0,d,!0);return m[i]=g,m[i+"2"]=y,m}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(m&&g.type===r.type&&R===this._step){w&&!_?_=this._newPolygon(c,C):_&&!w&&(x.remove(_),_=this._polygon=null),f||this._initOrUpdateEndLabel(t,r,(0,G.Lz)(Z));var N=x.getClipPath();if(N){var z=$(this,r,!1,t);h.KZ(N,{shape:z.shape},t)}else x.setClipPath($(this,r,!0,t));A&&y.updateData(a,{isIgnore:L,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),X(this._stackedOnPoints,C)&&X(this._points,c)||(S?this._doUpdateAnimation(a,C,r,n,R,b,P):(R&&(C&&(C=j(C,c,r,R,P)),c=j(c,null,r,R,P)),m.setShape({points:c}),_&&_.setShape({points:c,stackedOnPoints:C})))}else A&&y.updateData(a,{isIgnore:L,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),S&&this._initSymbolLabelAnimation(a,r,i),R&&(C&&(C=j(C,c,r,R,P)),c=j(c,null,r,R,P)),m=this._newPolyline(c),w?_=this._newPolygon(c,C):_&&(x.remove(_),_=this._polygon=null),f||this._initOrUpdateEndLabel(t,r,(0,G.Lz)(Z)),x.setClipPath($(this,r,!0,t));var E=t.getModel("emphasis"),B=E.get("focus"),F=E.get("blurScope"),H=E.get("disabled");m.useStyle(u.ce(s.getLineStyle(),{fill:"none",stroke:Z,lineJoin:"bevel"})),(0,d.WO)(m,t,"lineStyle"),m.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(m.getState("emphasis").style.lineWidth=+m.style.lineWidth+1),(0,p.A)(m).seriesIndex=t.seriesIndex,(0,d.k5)(m,B,F,H);var W=K(t.get("smooth")),V=t.get("smoothMonotone");if(m.setShape({smooth:W,smoothMonotone:V,connectNulls:P}),_){var Y=a.getCalculationInfo("stackedOnSeries"),q=0;_.useStyle(u.ce(l.getAreaStyle(),{fill:Z,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),Y&&(q=K(Y.get("smooth"))),_.setShape({smooth:W,stackedOnSmooth:q,smoothMonotone:V,connectNulls:P}),(0,d.WO)(_,t,"areaStyle"),(0,p.A)(_).seriesIndex=t.seriesIndex,(0,d.k5)(_,B,F,H)}var J=this._changePolyState;a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=J)}),this._polyline.onHoverStateChange=J,this._data=a,this._coordSys=r,this._stackedOnPoints=C,this._points=c,this._step=R,this._valueOrigin=b,t.get("triggerLineEvent")&&(this.packEventData(t,m),_&&this.packEventData(t,_))},e.prototype.packEventData=function(t,e){(0,p.A)(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=C.gO(r,i);if(this._changePolyState("emphasis"),o instanceof Array||null==o||!(o>=0))H.Z.prototype.highlight.call(this,t,e,n,i);else{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)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new v(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()}},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=C.gO(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 H.Z.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,d.Gl)(this._polyline,t),e&&(0,d.Gl)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new E({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 F({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.mf(l)&&(l=l(null));var h=s.get("animationDelay")||0,c=u.mf(h)?h(null):h;t.eachItemGraphicEl(function(t,o){if(t){var s=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=e.pointToCoord(s);i?(p=n.startAngle,d=n.endAngle,f=-g[1]/180*Math.PI):(p=n.r0,d=n.r,f=g[0])}else i?(p=n.x,d=n.x+n.width,f=t.x):(p=n.y+n.height,d=n.y,f=t.y);var y=d===p?0:(f-p)/(d-p);a&&(y=1-y);var v=u.mf(h)?h(o):l*y+c,m=t.getSymbolPath(),_=m.getTextContent();t.attr({scaleX:0,scaleY:0}),t.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:v}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:v}),m.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Q(t)){var r,o,a,s=t.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var h=this._endLabel;h||((h=this._endLabel=new D.ZP({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=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}(u);c>=0&&((0,g.ni)(l,(0,g.k3)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:c,defaultText:function(t,e,n){return null!=n?(0,f.O)(s,n):(0,f.H)(s,t)},enableTextSetter:!0},(o=(r=e.getBaseAxis()).isHorizontal(),a=r.inverse,{normal:{align:i.get("align")||(o?a?"right":"left":"center"),verticalAlign:i.get("verticalAlign")||(o?"middle":a?"top":"bottom")}})),l.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(),y=f.isHorizontal(),v=f.inverse,m=e.shape,_=v?y?m.x:m.y+m.height:y?m.x+m.width:m.y,x=(y?d:0)*(v?-1:1),S=(y?0:-d)*(v?-1:1),w=y?"x":"y",b=function(t,e,n){for(var i,r,o=t.length/2,a=+("x"!==n),s=0,l=-1,u=0;u<o;u++)if(!(isNaN(r=t[2*u+a])||isNaN(t[2*u+1-a]))){if(0===u){i=r;continue}if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}return{range:[s,l],t:(e-i)/(r-i)}}(u,_,w),M=b.range,T=M[1]-M[0],k=void 0;if(T>=1){if(T>1&&!c){var I=J(u,M[0]);s.attr({x:I[0]+x,y:I[1]+S}),r&&(k=h.getRawValue(M[0]))}else{var I=l.getPointOn(_,w);I&&s.attr({x:I[0]+x,y:I[1]+S});var D=h.getRawValue(M[0]),A=h.getRawValue(M[1]);r&&(k=C.pk(n,p,D,A,b.t))}i.lastFrameIndex=M[0]}else{var P=1===t||i.lastFrameIndex>0?M[0]:0,I=J(u,P);r&&(k=h.getRawValue(P)),s.attr({x:I[0]+x,y:I[1]+S})}if(r){var L=(0,g.qA)(s);"function"==typeof L.setLabelText&&L.setLabelText(k)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o,a,s){for(var l,u=(l=[],e.diff(t).add(function(t){l.push({cmd:"+",idx:t})}).update(function(t,e){l.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){l.push({cmd:"-",idx:t})}).execute(),l),h=[],c=[],p=[],d=[],f=[],g=[],y=[],v=M(r,e,a),m=t.getLayout("points")||[],_=e.getLayout("points")||[],x=0;x<u.length;x++){var S=u[x],w=!0,b=void 0,I=void 0;switch(S.cmd){case"=":b=2*S.idx,I=2*S.idx1;var D=m[b],C=m[b+1],A=_[I],P=_[I+1];(isNaN(D)||isNaN(C))&&(D=A,C=P),h.push(D,C),c.push(A,P),p.push(n[b],n[b+1]),d.push(i[I],i[I+1]),y.push(e.getRawIndex(S.idx1));break;case"+":var L=S.idx,O=v.dataDimsForPoint,R=r.dataToPoint([e.get(O[0],L),e.get(O[1],L)]);I=2*L,h.push(R[0],R[1]),c.push(_[I],_[I+1]);var Z=T(v,r,e,L);p.push(Z[0],Z[1]),d.push(i[I],i[I+1]),y.push(e.getRawIndex(L));break;case"-":w=!1}w&&(f.push(S),g.push(g.length))}g.sort(function(t,e){return y[t]-y[e]});for(var N=h.length,z=(0,k.o)(N),E=(0,k.o)(N),B=(0,k.o)(N),F=(0,k.o)(N),H=[],x=0;x<g.length;x++){var W=g[x],V=2*x,G=2*W;z[V]=h[G],z[V+1]=h[G+1],E[V]=c[G],E[V+1]=c[G+1],B[V]=p[G],B[V+1]=p[G+1],F[V]=d[G],F[V+1]=d[G+1],H[x]=f[W]}return{current:z,next:E,stackedOnCurrent:B,stackedOnNext:F,status:H}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin,0),p=c.current,d=c.stackedOnCurrent,f=c.next,g=c.stackedOnNext;if(r&&(d=j(c.stackedOnCurrent,c.current,n,r,a),p=j(c.current,null,n,r,a),g=j(c.stackedOnNext,c.next,n,r,a),f=j(c.next,null,n,r,a)),q(p,f)>3e3||l&&q(d,g)>3e3){s.stopAnimation(),s.setShape({points:f}),l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:g}));return}s.shape.__points=c.current,s.shape.points=p;var y={shape:{points:f}};c.current!==p&&(y.shape.__points=c.next),s.stopAnimation(),h.D(s,y,u),l&&(l.setShape({points:p,stackedOnPoints:d}),l.stopAnimation(),h.D(l,{shape:{stackedOnPoints:g}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],m=c.status,_=0;_<m.length;_++)if("="===m[_].cmd){var x=t.getItemGraphicEl(m[_].idx1);x&&v.push({el:x,ptIdx:_})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<v.length;e++){var n=v[e].el,i=2*v[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(H.Z),te=n(94431),tn=n(24488);function ti(t){t.registerChartView(tt),t.registerSeriesModel(l),t.registerLayout({seriesType:"line",plan:(0,te.Z)(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext,r=!0;if(n){var o=(0,u.UI)(n.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),a=o.length,s=e.getCalculationInfo("stackResultDimension");(0,b.M)(e,o[0])&&(o[0]=s),(0,b.M)(e,o[1])&&(o[1]=s);var l=e.getStore(),h=e.getDimensionIndex(o[0]),c=e.getDimensionIndex(o[1]);return a&&{progress:function(t,e){for(var i=t.end-t.start,o=r&&(0,k.o)(i*a),s=[],u=[],p=t.start,d=0;p<t.end;p++){var f=void 0;if(1===a){var g=l.get(h,p);f=n.dataToPoint(g,null,u)}else s[0]=l.get(h,p),s[1]=l.get(c,p),f=n.dataToPoint(s,null,u);r?(o[d++]=f[0],o[d++]=f[1]):e.setItemLayout(p,f.slice())}r&&e.setLayout("points",o)}}}}}),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,tn.Z)("line"))}},33408:function(t,e,n){n.d(e,{Z:()=>o});var i=n(96585),r=n(46451);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.gO(s,t);if(null==l||l<0||i.kJ(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)if(t.isStacked){var c=h.getBaseAxis(),p=h.getOtherAxis(c).dim,d=c.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(i.UI(h.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},71270:function(t,e,n){n.d(e,{E:()=>h,z:()=>s});var i=n(96585),r=n(76226),o=(0,n(46451).Yf)(),a=i.S6;function s(t,e,n){if(!r.Z.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,n("click",i.WA(u,"click")),n("mousemove",i.WA(u,"mousemove")),n("globalout",l));function n(n,i){t.on(n,function(n){var r,s,l,u,h,c,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,h=e,p=u.showTip.length,d=u.hideTip.length,p?c=u.showTip[p-1]:d&&(c=u.hideTip[d-1]),c&&(c.dispatchAction=null,h.dispatchAction(c))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function h(t,e){if(!r.Z.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},53079:function(t,e,n){n.d(e,{N:()=>B});var i=n(62786),r=n(12012),o=n(96585),a=n(58695),s=n(19044),l=n(26991),u=n(17524),h=n(70297),c=n(3036),p=n(59524),d=n(46451),f=(0,d.Yf)(),g=o.d9,y=o.ak,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.WA(m,e,p);this.updatePointerEl(l,h,d),this.updateLabelEl(l,h,d,e)}else l=this._group=new a.Z,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);S(l,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=h.r(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=f(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=f(t).labelEl=new l.ZP(g(e.label));t.add(r),_(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=f(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=f(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),_(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l){r&&i.remove(r),this._handle=null;return}this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c.sT(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(r)),S(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.kJ(u)||(u=[u,u]),r.scaleX=u[0]/2,r.scaleY=u[1]/2,p.T9(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,x(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(x(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(x(i)),f(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),p.ZH(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 m(t,e,n,i){!function t(e,n){if(!(o.Kn(e)&&o.Kn(n)))return e===n;var i=!0;return o.S6(n,function(n,r){i=i&&t(e[r],n)}),!!i}(f(n).lastProp,i)&&(f(n).lastProp=i,e?u.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function x(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function S(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)})}var w=n(61285),b=n(60891),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=T(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=w.fk(i),c=k[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=b.bK(a.model,n);w.gf(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=b.bK(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=w.Zh(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=T(o,r).getOtherAxis(r).getGlobalExtent(),l=+("x"!==r.dim),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];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function T(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var k={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.BL([e,n[0]],[e,n[1]],I(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:w.uE([e-i/2,n[0]],[i,r],I(t))}}};function I(t){return+("x"!==t.dim)}var D=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(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}(n(68943).Z),C=n(71270),A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";C.z("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){C.E("axisPointer",e)},e.prototype.dispose=function(t,e){C.E("axisPointer",e)},e.type="axisPointer",e}(n(28440).Z),P=n(33408),L=(0,d.Yf)();function O(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t.dispatchAction||(0,o.ak)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){E(r)&&(r=(0,P.Z)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,h,c,p,d,f,g,y,v,m,_,x=E(r),S=t.axesInfo,w=s.axesInfo,b="leave"===i||E(r),M={},T={},k={list:[],map:{}},I={showPointer:(0,o.WA)(Z,T),showTooltip:(0,o.WA)(N,k)};(0,o.S6)(s.coordSysMap,function(t,e){var n=x||t.containPoint(r);(0,o.S6)(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}}(S,t);if(!b&&n&&(!S||o)){var a=o&&o.value;null!=a||x||(a=i.pointToData(r)),null!=a&&R(t,a,I,!1,M)}})});var D={};return(0,o.S6)(w,function(t,e){var n=t.linkGroup;n&&!T[e]&&(0,o.S6)(n.axesInfo,function(e,i){var r=T[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,z(e),z(t)))),D[t.key]=o}})}),(0,o.S6)(D,function(t,e){R(w[e],t,I,!0,M)}),l=T,u=w,h=M.axesInfo=[],(0,o.S6)(u,function(t,e){var n=t.axisPointerModel.option,i=l[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&h.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(E(e)||!t.list.length)return 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})}(k,r,t,a),c=w,p=0,f=(d=n).getZr(),g="axisPointerLastHighlights",y=L(f)[g]||{},v=L(f)[g]={},(0,o.S6)(c,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.S6)(n.seriesDataIndices,function(t){v[t.seriesIndex+" | "+t.dataIndex]=t})}),m=[],_=[],(0,o.S6)(y,function(t,e){v[e]||_.push(t)}),(0,o.S6)(v,function(t,e){y[e]||m.push(t)}),_.length&&d.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:_}),m.length&&d.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:m}),M}}function R(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var s,l,u,h,c,p,d,f,g=(s=e,h=(u=(l=t).axis).dim,c=s,p=[],d=Number.MAX_VALUE,f=-1,(0,o.S6)(l.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(h);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(r,s,u);i=a.dataIndices,n=a.nestestValue}else{if(!(i=t.getData().indicesOfNearest(r[0],s,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if(null!=n&&isFinite(n)){var l=s-n,g=Math.abs(l);g<=d&&((g<d||l>=0&&f<0)&&(d=g,f=l,c=n,p.length=0),(0,o.S6)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:c}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,o.l7)(r,y[0]),!i&&t.snap&&a.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function Z(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function N(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=h.zm(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.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 z(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 E(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function B(t){i.Z.registerAxisPointerClass("CartesianAxisPointer",M),t.registerComponentModel(D),t.registerComponentView(A),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.kJ)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,h.KM)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},O)}},70297:function(t,e,n){n.d(e,{KM:()=>o,iG:()=>s,np:()=>u,r:()=>l,zm:()=>c});var i=n(84456),r=n(96585);function o(t,e){var n,o,s,l,u,p,d,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,o=t,s=e,l=o.getComponent("tooltip"),p=(u=o.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.S6)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=c(t.model),s=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",l);if((0,r.S6)(t.getAxes(),(0,r.WA)(m,!1,null)),t.getTooltipAxes&&l&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.S6)(v.baseAxes,(0,r.WA)(m,!y||"cross",g)),y&&(0,r.S6)(v.otherAxes,(0,r.WA)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||h(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.S6)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.d9)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get(["label","show"]);if(h.show=null==c||c,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.ce)(h,p.textStyle)}}return t.model.getModel("axisPointer",new i.Z(u,n,o))}(g,f,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),x=c(g.model),S=l||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:S,snap:m,useHandle:h(y),seriesModels:[],linkGroup:null};s[x]=w,n.seriesInvolved=n.seriesInvolved||S;var b=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[i+"AxisId"],n.id)||a(o[i+"AxisIndex"],n.componentIndex)||a(o[i+"AxisName"],n.name))return r}}(p,g);if(null!=b){var M=d[b]||(d[b]={axesInfo:{}});M.axesInfo[x]=w,M.mapper=p[b].mapper,w.linkGroup=M}}}}),g.seriesInvolved&&(f=g,t.eachSeries(function(t){var e=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);e&&"none"!==n&&!1!==n&&"item"!==n&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&(0,r.S6)(f.coordSysAxesInfo[c(e.model)],function(n){var i=n.axis;e.getAxis(i.dim)===i&&(n.seriesModels.push(t),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=t.getData().count())})})),g}function a(t,e){return"all"===t||(0,r.kJ)(t)&&(0,r.cq)(t,e)>=0||t===e}function s(t){var e=l(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=h(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function h(t){return!!t.get(["handle","show"])}function c(t){return t.type+"||"+t.id}},61285:function(t,e,n){n.d(e,{BL:()=>g,Zh:()=>d,fk:()=>c,gf:()=>f,gk:()=>p,uE:()=>y});var i=n(96585),r=n(19044),o=n(45258),a=n(43718),s=n(85215),l=n(589),u=n(46629),h=n(77704);function c(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 p(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.DX(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.S6(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.HD(s)?a=s.replace("{value}",a):i.mf(s)&&(a=s(u))}return a}function d(t,e,n){var i=s.Ue();return s.U1(i,i,n.rotation),s.Iu(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function f(t,e,n,i,r,s){var l,c,f,g,y,v,m,_,x,S,w,b,M,T,k,I,D,C,A=u.Z.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),m={position:d(i.axis,t,n),align:A.textAlign,verticalAlign:A.textVerticalAlign},_=p(r.get("value"),i.axis,i.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),x=r.getModel("label"),S=a.MY(x.get("padding")||0),w=x.getFont(),b=o.lP(_,w),M=m.position,T=b.width+S[1]+S[3],k=b.height+S[0]+S[2],"right"===(I=m.align)&&(M[0]-=T),"center"===I&&(M[0]-=T/2),"bottom"===(D=m.verticalAlign)&&(M[1]-=k),"middle"===D&&(M[1]-=k/2),l=M,c=T,f=k,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+c,y)-c,l[1]=Math.min(l[1]+f,v)-f,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(C=x.get("backgroundColor"))&&"auto"!==C||(C=i.get(["axisLine","lineStyle","color"])),e.label={x:M[0],y:M[1],style:(0,h.Lr)(x,{text:_,font:w,fill:x.getTextColor(),padding:S,backgroundColor:C}),z2:10}}function g(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},46629:function(t,e,n){n.d(e,{Z:()=>T});var i=n(96585),r=n(58695),o=n(16504),a=n(19044),s=n(26991),l=n(55413),u=n(77704),h=n(84456),c=n(81731),p=n(44421),d=n(85215),f=n(63261),g=n(589),y=n(70431),v=n(44964),m=Math.PI,_=function(){function t(t,e){this.group=new r.Z,this.opt=e,this.axisModel=t,(0,i.ce)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new r.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!x[t]},t.prototype.add=function(t){x[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=(0,c.wW)(e-t);return(0,c.mW)(o)?(r=n>0?"top":"bottom",i="center"):(0,c.mW)(o-m)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<m?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}(),x={axisLine:function(t,e,n,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=r.transform,h=[l[0],0],c=[l[1],0],d=h[0]>c[0];u&&((0,f.Ne)(h,h,u),(0,f.Ne)(c,c,u));var g=(0,i.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.Z({shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",n.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,i.HD)(v)&&(v=[v,v]),((0,i.HD)(m)||(0,i.hj)(m))&&(m=[m,m]);var _=(0,p.Cq)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],S=m[1];(0,i.S6)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((h[0]-c[0])*(h[0]-c[0])+(h[1]-c[1])*(h[1]-c[1]))}],function(e,i){if("none"!==v[i]&&null!=v[i]){var r=(0,p.th)(v[i],-x/2,-S/2,x,S,g.stroke,!0),o=e.r+e.offset,a=d?c:h;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,r){var o=function(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),h=M(o.getTicksCoords(),e.transform,u,(0,i.ce)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<h.length;c++)t.add(h[c]);return h}}(n,r,e,t),c=function(t,e,n,r){var o=n.axis;if(!(!(0,i.Jv)(r.axisLabelShow,n.get(["axisLabel","show"]))||o.scale.isBlank())){var c=n.getModel("axisLabel"),p=c.get("margin"),d=o.getViewLabels(),f=((0,i.Jv)(r.labelRotate,c.get("rotate"))||0)*m/180,g=_.innerTextLayout(r.rotation,f,r.labelDirection),y=n.getCategories&&n.getCategories(!0),v=[],x=_.isLabelSilent(n),S=n.get("triggerEvent");return(0,i.S6)(d,function(f,m){var w="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(f.tickValue):f.tickValue,b=f.formattedLabel,M=f.rawLabel,T=c;if(y&&y[w]){var k=y[w];(0,i.Kn)(k)&&k.textStyle&&(T=new h.Z(k.textStyle,c,n.ecModel))}var I=T.getTextColor()||n.get(["axisLine","lineStyle","color"]),D=o.dataToCoord(w),C=T.getShallow("align",!0)||g.textAlign,A=(0,i.pD)(T.getShallow("alignMinLabel",!0),C),P=(0,i.pD)(T.getShallow("alignMaxLabel",!0),C),L=T.getShallow("verticalAlign",!0)||T.getShallow("baseline",!0)||g.textVerticalAlign,O=(0,i.pD)(T.getShallow("verticalAlignMinLabel",!0),L),R=(0,i.pD)(T.getShallow("verticalAlignMaxLabel",!0),L),Z=new s.ZP({x:D,y:r.labelOffset+r.labelDirection*p,rotation:g.rotation,silent:x,z2:10+(f.level||0),style:(0,u.Lr)(T,{text:b,align:0===m?A:m===d.length-1?P:C,verticalAlign:0===m?O:m===d.length-1?R:L,fill:(0,i.mf)(I)?I("category"===o.type?M:"value"===o.type?w+"":w,m):I})});if(Z.anid="label_"+w,a.setTooltipConfig({el:Z,componentModel:n,itemName:b,formatterParamsExtra:{isTruncated:function(){return Z.isTruncated},value:M,tickIndex:m}}),S){var N=_.makeAxisEventDataBase(n);N.targetType="axisLabel",N.value=M,N.tickIndex=m,"category"===o.type&&(N.dataIndex=w),(0,l.A)(Z).eventData=N}e.add(Z),Z.updateTransform(),v.push(Z),t.add(Z),Z.decomposeTransform()}),v}}(n,r,e,t);(function(t,e,n){if(!(0,g.WY)(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(S(o),S(u)):w(o,a)&&(i?(S(a),S(h)):(S(o),S(u))),!1===r?(S(s),S(c)):w(l,s)&&(r?(S(l),S(p)):(S(s),S(c)))}})(e,c,o),function(t,e,n,r){var o=n.axis,a=n.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=r*a.get("length"),h=(0,i.ce)(l.getLineStyle(),(0,i.ce)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var p=M(s[c],e.transform,u,h,"minorticks_"+c),d=0;d<p.length;d++)t.add(p[d])}}(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])&&function(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new v.Z(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<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,h=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var c=o.obb,p=!1,d=0;d<e.length;d++){var f=e[d];if(n.intersect(f.rect)&&(a&&f.axisAligned||(f.obb||(f.obb=new y.Z(f.localRect,f.transform)),c||(c=new y.Z(s,l)),c.intersect(f.obb)))){p=!0;break}}p?(i(u),h&&i(h)):(u.attr("ignore",o.defaultAttr.ignore),h&&h.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}(function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var h=s?new y.Z(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:h,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}((0,i.UI)(c,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})))},axisName:function(t,e,n,r){var o,h,p=(0,i.Jv)(t.axisName,e.get("name"));if(p){var d,f,g,y,v,x,S,w,M,T=e.get("nameLocation"),k=t.nameDirection,I=e.getModel("nameTextStyle"),D=e.get("nameGap")||0,C=e.axis.getExtent(),A=C[0]>C[1]?-1:1,P=["start"===T?C[0]-A*D:"end"===T?C[1]+A*D:(C[0]+C[1])/2,b(T)?t.labelOffset+k*D:0],L=e.get("nameRotate");null!=L&&(L=L*m/180),b(T)?o=_.innerTextLayout(t.rotation,null!=L?L:t.rotation,k):(d=t.rotation,f=T,g=L||0,y=C,S=(0,c.wW)(g-d),w=y[0]>y[1],M="start"===f&&!w||"start"!==f&&w,(0,c.mW)(S-m/2)?(x=M?"bottom":"top",v="center"):(0,c.mW)(S-1.5*m)?(x=M?"top":"bottom",v="center"):(x="middle",v=S<1.5*m&&S>m/2?M?"left":"right":M?"right":"left"),o={rotation:S,textAlign:v,textVerticalAlign:x},null!=(h=t.axisNameAvailableWidth)&&(isFinite(h=Math.abs(h/Math.sin(o.rotation)))||(h=null)));var O=I.getFont(),R=e.get("nameTruncate",!0)||{},Z=R.ellipsis,N=(0,i.Jv)(t.nameTruncateMaxWidth,R.maxWidth,h),z=new s.ZP({x:P[0],y:P[1],rotation:o.rotation,silent:_.isLabelSilent(e),style:(0,u.Lr)(I,{text:p,font:O,overflow:"truncate",width:N,ellipsis:Z,fill:I.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:I.get("align")||o.textAlign,verticalAlign:I.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:z,componentModel:e,itemName:p}),z.__fullText=p,z.anid="name",e.get("triggerEvent")){var E=_.makeAxisEventDataBase(e);E.targetType="axisName",E.name=p,(0,l.A)(z).eventData=E}r.add(z),z.updateTransform(),n.add(z),z.decomposeTransform()}}};function S(t){t&&(t.ignore=!0)}function w(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=d.yR([]);return d.U1(r,r,-t.rotation),n.applyTransform(d.dC([],r,t.getLocalTransform())),i.applyTransform(d.dC([],r,e.getLocalTransform())),n.intersect(i)}}function b(t){return"middle"===t||"center"===t}function M(t,e,n,i,r){for(var s=[],l=[],u=[],h=0;h<t.length;h++){var c=t[h].coord;l[0]=c,l[1]=0,u[0]=c,u[1]=n,e&&((0,f.Ne)(l,l,e),(0,f.Ne)(u,u,e));var p=new o.Z({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[h].tickValue,s.push(p)}return s}let T=_},62786:function(t,e,n){n.d(e,{Z:()=>s});var i=n(12012),r=n(70297),o=n(28440),a={};let s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.iG(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.np(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.Z)},58964:function(t,e,n){n.d(e,{N:()=>h});var i=n(12012),r=n(68943),o=n(28440),a=n(15693),s=n(62239),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new s.U(this),(0,s.t)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,s.t)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.fY},e}(r.Z),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.type="dataset",e}(o.Z);function h(t){t.registerComponentModel(l),t.registerComponentView(u)}},95691:function(t,e,n){n.d(e,{N:()=>tg});var i=n(12012),r=n(28440),o=n(68943),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(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}(o.Z),s=n(40361),l=n(96585),u=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),h=n(46451),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",h.C6).models[0]},e.type="cartesian2dAxis",e}(o.Z);l.jB(c,u);var p={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,showMinLine:!0,showMaxLine:!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)"]}}},d=l.TS({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),f=l.TS({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}}},p),g=l.TS({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},f),y=l.ce({logBase:10},f);let v={category:d,value:f,time:g,log:y};var m=n(37624),_=n(16436),x={value:1,category:1,time:1,log:1};function S(t,e,n,r){(0,l.S6)(x,function(o,a){var s=(0,l.TS)((0,l.TS)({},v[a],!0),r,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,i.ZT)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,m.YD)(this),i=n?(0,m.tE)(t):{},r=e.getTheme();(0,l.TS)(t,r.get(a+"Axis")),(0,l.TS)(t,this.getDefaultOption()),t.type=w(t),n&&(0,m.dt)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=_.Z.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",w)}function w(t){return t.type||(t.data?"category":"value")}var b=n(589),M=n(44964),T=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 l.UI(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.hX(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}(),k=n(85215),I=n(63261),D=["x","y"];function C(t){return"interval"===t.type||"time"===t.type}var A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=D,e}return(0,i.ZT)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(C(t)&&C(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=(0,k.U_)([],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 M.Z(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(0,I.Ne)(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(0,I.Ne)(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 M.Z(i,r,o,a)},e}(T),P=n(81731),L=n(45258),O=(0,h.Yf)();function R(t,e){var n=l.UI(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 Z(t,e){var n,i,r,o,a=N(t,"labels"),s=(0,b.rk)(e),u=z(a,s);return u||(l.mf(s)?r=F(t,s):(o="auto"===s?null!=(i=O(n=t).autoInterval)?i:O(n).autoInterval=n.calculateCategoryInterval():s,r=B(t,o)),E(a,s,{labels:r,labelCategoryInterval:o}))}function N(t,e){return O(t)[e]||(O(t)[e]=[])}function z(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function E(t,e,n){return t.push({key:e,value:n}),n}function B(t,e,n){var i=(0,b.J9)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=(0,b.WY)(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 F(t,e,n){var i=t.scale,r=(0,b.J9)(t),o=[];return l.S6(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 H=[0,1];function W(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var V=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(0,i.ZT)(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)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(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(0,P.M9)(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&&W(n=n.slice(),i.count()),(0,P.NU)(t,H,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&W(n=n.slice(),i.count());var r=(0,P.NU)(t,n,H,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=function(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent(),r=R(t,n);return{ticks:l.hX(r,function(t){return t>=i[0]&&t<=i[1]})}}return"category"===t.type?function(t,e){var n,i,r=N(t,"ticks"),o=(0,b.rk)(e),a=z(r,o);if(a)return a;if((!e.get("show")||t.scale.isBlank())&&(n=[]),l.mf(o))n=F(t,o,!0);else if("auto"===o){var s=Z(t,t.getLabelModel());i=s.labelCategoryInterval,n=l.UI(s.labels,function(t){return t.tickValue})}else n=B(t,i=o,!0);return E(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:l.UI(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,i=(0,l.UI)(n,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,o,a=e.length;if(t.onBand&&!n&&a){var s=t.getExtent();if(1===a)e[0].coord=s[0],r=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;(0,l.S6)(e,function(t){t.coord-=h/2});var c=t.scale.getExtent();o=1+c[1]-e[a-1].tickValue,r={coord:e[a-1].coord+h*o,tickValue:c[1]+1},e.push(r)}var p=s[0]>s[1];d(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],r.coord)&&(i?r.coord=s[1]:e.pop()),i&&d(r.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=(0,P.NM)(t),e=(0,P.NM)(e),p?t>e:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,l.UI)(e,function(t){return(0,l.UI)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return function(t){var e,n,i,r,o,a,s=t.getLabelModel().get("customValues");if(s){var u=(0,b.J9)(t),h=t.scale.getExtent(),c=R(t,s),p=l.hX(c,function(t){return t>=h[0]&&t<=h[1]});return{labels:l.UI(p,function(e){var n={value:e};return{formattedLabel:u(n),rawLabel:t.scale.getLabel(n),tickValue:e}})}}return"category"===t.type?(n=(e=t).getLabelModel(),i=Z(e,n),!n.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i):(o=(r=t).scale.getTicks(),a=(0,b.J9)(r),{labels:l.UI(o,function(t,e){return{level:t.level,formattedLabel:a(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value}})})}(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;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e,n,i=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),r=(0,b.J9)(t),o=(i.axisRotate-i.labelRotate)/180*Math.PI,a=t.scale,s=a.getExtent(),l=a.count();if(s[1]-s[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var h=s[0],c=t.dataToCoord(h+1)-t.dataToCoord(h),p=Math.abs(c*Math.cos(o)),d=Math.abs(c*Math.sin(o)),f=0,g=0;h<=s[1];h+=u){var y=0,v=0,m=L.lP(r({value:h}),i.font,"center","top");y=1.3*m.width,v=1.3*m.height,f=Math.max(f,y,7),g=Math.max(g,v,7)}var _=f/p,x=g/d;isNaN(_)&&(_=1/0),isNaN(x)&&(x=1/0);var S=Math.max(0,Math.floor(Math.min(_,x))),w=O(t.model),M=t.getExtent(),T=w.lastAutoInterval,k=w.lastTickCount;return null!=T&&null!=k&&1>=Math.abs(T-S)&&1>=Math.abs(k-l)&&T>S&&w.axisExtent0===M[0]&&w.axisExtent1===M[1]?S=T:(w.lastTickCount=l,w.lastAutoInterval=S,w.axisExtent0=M[0],w.axisExtent1=M[1]),S}(this)},t}()),G=n(60891),U=n(72034),X=n(36700),Y=Math.log,q=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=D,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=(0,l.XP)(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,u=a.scale;(0,U.lM)(u)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):((0,b.Jk)(u,s),(0,U.lM)(u)&&(e=a))}r.length&&(e||(e=r.pop(),(0,b.Jk)(e.scale,e.model)),(0,l.S6)(r,function(t){!function(t,e,n){var i=X.Z.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=(0,b.Xv)(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=Y(t.base);u=[Y(u[0])/p,Y(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;y<u[1]&&isFinite(y)&&isFinite(u[1]);)f=(0,U.r1)(f),y=u[0]+f*a;else if(c)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=(0,U.r1)(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=(0,U.r1)(f));var v=f*a;y=Math.ceil(u[1]/f)*f,(g=(0,P.NM)(y-v))<0&&u[0]>=0?(g=0,y=(0,P.NM)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,P.NM)(v))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*_),i.setInterval.call(t,f),(m||_)&&i.setNiceExtent.call(t,g+f,y-f)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};(0,l.S6)(n.x,function(t){j(n,"y",t,r)}),(0,l.S6)(n.y,function(t){j(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=(0,m.ME)(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.S6)(a,function(t){var e,n,i,r,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,n=a?o.x:o.y,r=(i=e.getExtent())[0]+i[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return r-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return r-t+n}})}s(),r&&((0,l.S6)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,b.Do)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}}),s()),(0,l.S6)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,l.Kn)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",h.C6).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",h.C6).models[0],a=t.gridModel,s=this._coordsList;return i?(e=i.coordinateSystem,0>(0,l.cq)(s,e)&&(e=null)):r&&o?e=this.getCartesian(r.componentIndex,o.componentIndex):r?n=this.getAxis("x",r.componentIndex):o?n=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(n,i){if(K(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new V(e,(0,b.aG)(n),[0,0],n.get("type"),l),h="category"===u.type;u.onBand=h&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,(0,l.S6)(a.x,function(e,n){(0,l.S6)(a.y,function(r,o){var a="x"+n+"y"+o,s=new A(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,l.S6)((0,b.PY)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,l.S6)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,G.Yh)(t)){var i=(0,G.Mk)(t),r=i.xAxisModel,o=i.yAxisModel;if(K(r,e)&&K(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,l.S6)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);0>(0,l.cq)(e,r)&&e.push(r),0>(0,l.cq)(n,o)&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if((0,G.Yh)(t)){var e=(0,G.Mk)(t),n=e.xAxisModel,i=e.yAxisModel;t.coordinateSystem=n.getCoordSysModel().coordinateSystem.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=D,t}();function K(t,e){return t.getCoordSysModel()===e}function j(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)J(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&J(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function J(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,b.Yb)(t)}var Q=n(58695),$=n(19044),tt=n(16504),te=n(46629),tn=n(62786),ti=(0,h.Yf)(),tr=["axisLine","axisTickLabel","axisName"],to=["splitArea","splitLine","minorSplitLine"],ta=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Q.Z,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=G.bK(a,e),u=new te.Z(e,l.l7({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if((0,U.lM)(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.S6(tr,u.add,u),this._axisGroup.add(u.getGroup()),l.S6(to,function(t){e.get([t,"show"])&&ts[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||$.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){ti(this).splitAreaColors=null},e.type="cartesianAxis",e}(tn.Z),ts={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),u=!1!==o.get("showMinLine"),h=!1!==o.get("showMaxLine");s=l.kJ(s)?s:[s];for(var c=i.coordinateSystem.getRect(),p=r.isHorizontal(),d=0,f=r.getTicksCoords({tickModel:o}),g=[],y=[],v=a.getLineStyle(),m=0;m<f.length;m++){var _=r.toGlobalCoord(f[m].coord);if((0!==m||u)&&(m!==f.length-1||h)){var x=f[m].tickValue;p?(g[0]=_,g[1]=c.y,y[0]=_,y[1]=c.y+c.height):(g[0]=c.x,g[1]=_,y[0]=c.x+c.width,y[1]=_);var S=d++%s.length,w=new tt.Z({anid:null!=x?"line_"+x:null,autoBatch:!0,shape:{x1:g[0],y1:g[1],x2:y[0],y2:y[1]},style:l.ce({stroke:s[S]},v),silent:!0});$.subPixelOptimizeLine(w.shape,v.lineWidth),e.add(w)}}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],h=[],c=o.getLineStyle(),p=0;p<l.length;p++)for(var d=0;d<l[p].length;d++){var f=r.toGlobalCoord(l[p][d].coord);s?(u[0]=f,u[1]=a.y,h[0]=f,h[1]=a.y+a.height):(u[0]=a.x,u[1]=f,h[0]=a.x+a.width,h[1]=f);var g=new tt.Z({anid:"minor_line_"+l[p][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,silent:!0});$.subPixelOptimizeLine(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),h=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var p=u.length,d=ti(t).splitAreaColors,f=l.kW(),g=0;if(d)for(var y=0;y<c.length;y++){var v=d.get(c[y].tickValue);if(null!=v){g=(v+(p-1)*y)%p;break}}var m=r.toGlobalCoord(c[0].coord),_=a.getAreaStyle();u=l.kJ(u)?u:[u];for(var y=1;y<c.length;y++){var x=r.toGlobalCoord(c[y].coord),S=void 0,w=void 0,b=void 0,M=void 0;r.isHorizontal()?(S=m,w=h.y,b=x-S,M=h.height,m=S+b):(S=h.x,w=m,b=h.width,M=x-w,m=w+M);var T=c[y-1].tickValue;null!=T&&f.set(T,g),e.add(new s.Z({anid:null!=T?"area_"+T:null,shape:{x:S,y:w,width:b,height:M},style:l.ce({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}ti(t).splitAreaColors=f}}}(t,e,n,i)}},tl=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.type="xAxis",e}(ta),tu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=tl.type,e}return(0,i.ZT)(e,t),e.type="yAxis",e}(ta),th=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.ZT)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.Z({shape:t.coordinateSystem.getRect(),style:(0,l.ce)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.Z),tc={offset:0};function tp(t){t.registerComponentView(th),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",q),S(t,"x",c,tc),S(t,"y",c,tc),t.registerComponentView(tl),t.registerComponentView(tu),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var td=n(53079),tf=n(70392);function tg(t){(0,tf.D)(tp),(0,tf.D)(td.N)}},45334:function(t,e,n){n.d(e,{N:()=>V});var i=n(70392),r=n(12012),o=n(96585),a=n(84456),s=n(46451),l=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(0,r.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),o.kJ(e)&&o.S6(e,function(t,i){var r;o.HD(t)&&(t={type:t}),e[i]=o.TS(t,"all"===(r=t.type)?{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])}:"inverse"===r?{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}:void 0)})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&(0,s.yu)(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,r=o.kW(),l=o.UI(i,function(t){return((o.HD(t)||o.hj(t))&&(t={name:t}),r.get(t.name))?null:(r.set(t.name,!0),new a.Z(t,this,this.ecModel))},this);this._data=o.hX(l,function(t){return!!t})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;o.S6(n,function(t){e[t.get("name")]=!1})}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){e[t.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&o.cq(this._availableNames,t)>=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}(n(68943).Z),u=n(67375),h=n(58695),c=n(26991),p=n(40361),d=n(19044),f=n(63344),g=n(77704),y=n(43718),v=n(37624),m=n(28440),_=n(44421),x=n(33398),S=n(55413),w=o.WA,b=o.S6,M=h.Z,T=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new M),this.group.add(this._selectorGroup=new M),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,a,s,l=t.get("align"),u=t.get("orient");l&&"auto"!==l||(l="right"===t.get("left")&&"vertical"===u?"right":"left");var h=t.get("selector",!0),c=t.get("selectorPosition",!0);h&&(!c||"auto"===c)&&(c="horizontal"===u?"end":"start"),this.renderInner(l,t,e,n,h,u,c);var d=t.getBoxLayoutParams(),f={width:n.getWidth(),height:n.getHeight()},g=t.get("padding"),m=v.ME(d,f,g),_=this.layoutInner(t,l,m,i,h,c),x=v.ME(o.ce({width:_.width,height:_.height},d),f,g);this.group.x=x.x-_.x,this.group.y=x.y-_.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(r=_,a=y.MY(t.get("padding")),(s=t.getItemStyle(["color","opacity"])).fill=t.get("backgroundColor"),r=new p.Z({shape:{x:r.x-a[3],y:r.y-a[0],width:r.width+a[1]+a[3],height:r.height+a[0]+a[2],r:t.get("borderRadius")},style:s,silent:!0,z2:-1})))}},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,a,s){var l=this.getContentGroup(),h=o.kW(),c=e.get("selectedMode"),p=[];n.eachRawSeries(function(t){t.get("legendHoverLink")||p.push(t.id)}),b(e.getData(),function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var d=new M;d.newline=!0,l.add(d);return}var f=n.getSeriesByName(s)[0];if(!h.get(s))if(f){var g=f.getData(),y=g.getVisual("legendLineStyle")||{},v=g.getVisual("legendIcon"),m=g.getVisual("style"),_=this._createItem(f,s,a,r,e,t,y,m,v,c,i);_.on("click",w(k,s,null,i,p)).on("mouseover",w(D,f.name,null,i,p)).on("mouseout",w(C,f.name,null,i,p)),n.ssr&&_.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=f.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}else n.eachRawSeries(function(l){if(!h.get(s)&&l.legendVisualProvider){var d=l.legendVisualProvider;if(d.containName(s)){var f=d.indexOfName(s),g=d.getItemVisual(f,"style"),y=d.getItemVisual(f,"legendIcon"),v=(0,u.Qc)(g.fill);v&&0===v[3]&&(v[3]=.2,g=o.l7(o.l7({},g),{fill:(0,u.Pz)(v,"rgba")}));var m=this._createItem(l,s,a,r,e,t,{},g,y,c,i);m.on("click",w(k,null,s,i,p)).on("mouseover",w(D,null,s,i,p)).on("mouseout",w(C,null,s,i,p)),n.ssr&&m.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=l.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}}},this)},this),r&&this._createSelector(r,e,i,a,s)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();b(t,function(t){var i=t.type,r=new c.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,g.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,f.vF)(r)})},e.prototype._createItem=function(t,e,n,i,r,a,s,l,u,h,y){var v=t.visualDrawType,m=r.get("itemWidth"),S=r.get("itemHeight"),w=r.isSelected(e),T=i.get("symbolRotate"),k=i.get("symbolKeepAspect"),I=i.get("icon"),D=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=2*(e.lineWidth>0)),b(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?(0,x.I)(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}}(u=I||u||"roundRect",i,s,l,v,w,y),C=new M,A=i.getModel("textStyle");if(o.mf(t.getLegendIcon)&&(!I||"inherit"===I))C.add(t.getLegendIcon({itemWidth:m,itemHeight:S,icon:u,iconRotate:T,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:k}));else{var P,L,O,R="inherit"===I&&t.getData().getVisual("symbol")?"inherit"===T?t.getData().getVisual("symbolRotate"):T:0;C.add((L=(P={itemWidth:m,itemHeight:S,icon:u,iconRotate:R,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:k}).icon||"roundRect",(O=(0,_.th)(L,0,0,P.itemWidth,P.itemHeight,P.itemStyle.fill,P.symbolKeepAspect)).setStyle(P.itemStyle),O.rotation=(P.iconRotate||0)*Math.PI/180,O.setOrigin([P.itemWidth/2,P.itemHeight/2]),L.indexOf("empty")>-1&&(O.style.stroke=O.style.fill,O.style.fill="#fff",O.style.lineWidth=2),O))}var Z=r.get("formatter"),N=e;o.HD(Z)&&Z?N=Z.replace("{name}",null!=e?e:""):o.mf(Z)&&(N=Z(e));var z=w?A.getTextColor():i.get("inactiveColor");C.add(new c.ZP({style:(0,g.Lr)(A,{text:N,x:"left"===a?m+5:-5,y:S/2,fill:z,align:a,verticalAlign:"middle"},{inheritColor:z})}));var E=new p.Z({shape:C.getBoundingRect(),style:{fill:"transparent"}}),B=i.getModel("tooltip");return B.get("show")&&d.setTooltipConfig({el:E,componentModel:r,itemName:e,itemTooltipOption:B.option}),C.add(E),C.eachChild(function(t){t.silent=!0}),E.silent=!h,this.getContentGroup().add(C),(0,f.vF)(C),C.__legendDataIndex=n,C},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();v.BZ(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)return a.x=u[0],a.y=u[1],this.group.getBoundingRect();v.BZ("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 m={x:0,y:0};return m[f]=l[f]+p+h[f],m[g]=Math.max(l[g],h[g]),m[y]=Math.min(0,h[y]+c[1-d]),m},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(m.Z);function k(t,e,n,i){C(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),D(t,e,n,i)}function I(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function D(t,e,n,i){I(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function C(t,e,n,i){I(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function A(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function P(t,e,n){var i="allSelect"===t||"inverseSelect"===t,r={},a=[];n.eachComponent({mainType:"legend",query:e},function(n){i?n[t]():n[t](e.name),L(n,r),a.push(n.componentIndex)});var s={};return n.eachComponent("legend",function(t){(0,o.S6)(r,function(e,n){t[e?"select":"unSelect"](n)}),L(t,s)}),i?{selected:s,legendIndex:a}:{name:e.name,selected:s}}function L(t,e){var n=e||{};return(0,o.S6)(t.getData(),function(e){var i=e.get("name");if("\n"!==i&&""!==i){var r=t.isSelected(i);(0,o.RI)(n,i)?n[i]=n[i]&&r:n[i]=r}}),n}function O(t){t.registerComponentModel(l),t.registerComponentView(T),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,A),t.registerSubTypeDefaulter("legend",function(){return"plain"}),t.registerAction("legendToggleSelect","legendselectchanged",(0,o.WA)(P,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,o.WA)(P,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,o.WA)(P,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,o.WA)(P,"select")),t.registerAction("legendUnSelect","legendunselected",(0,o.WA)(P,"unSelect"))}var R=n(95202),Z=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=(0,v.tE)(e);t.prototype.init.call(this,e,n,i),N(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),N(this,this.option,e)},e.type="legend.scroll",e.defaultOption=(0,R.ZL)(l.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}),e}(l);function N(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,(0,v.dt)(e,n,{type:"box",ignoreSize:!!r})}var z=n(17524),E=h.Z,B=["width","height"],F=["x","y"],H=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,r.ZT)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new E),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new E)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,s,l){var u=this;t.prototype.renderInner.call(this,e,n,i,r,a,s,l);var h=this._controllerGroup,p=n.get("pageIconSize",!0),f=o.kJ(p)?p:[p,p];y("pagePrev",0);var g=n.getModel("pageTextStyle");function y(t,e){var i=d.createIcon(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:o.ak(u._pageGo,u,t+"DataIndex",n,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});i.name=t,h.add(i)}h.add(new c.ZP({name:"pageText",style:{text:"xx/xx",fill:g.getTextColor(),font:g.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),y("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var s=this.getSelectorGroup(),l=t.getOrient().index,u=B[l],h=F[l],c=B[1-l],p=F[1-l];r&&v.BZ("horizontal",s,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),f=s.getBoundingRect(),g=[-f.x,-f.y],y=o.d9(n);r&&(y[u]=n[u]-f[u]-d);var m=this._layoutContentAndController(t,i,y,l,u,c,p,h);if(r){if("end"===a)g[l]+=m[u]+d;else{var _=f[u]+d;g[l]-=_,m[h]-=_}m[u]+=f[u]+d,g[1-l]+=m[p]+m[c]/2-f[c]/2,m[c]=Math.max(m[c],f[c]),m[p]=Math.min(m[p],f[p]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,s,l){var u=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;v.BZ(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),v.BZ("horizontal",c,t.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),f=c.getBoundingRect(),g=this._showController=d[r]>n[r],y=[-d.x,-d.y];e||(y[i]=u[l]);var m=[0,0],_=[-f.x,-f.y],x=o.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?_[i]+=n[r]-f[r]:m[i]+=f[r]+x),_[1-i]+=d[a]/2-f[a]/2,u.setPosition(y),h.setPosition(m),c.setPosition(_);var S={x:0,y:0};if(S[r]=g?n[r]:d[r],S[a]=Math.max(d[a],f[a]),S[s]=Math.min(0,f[s]+_[1-i]),h.__rectSize=n[r],g){var w={x:0,y:0};w[r]=Math.max(n[r]-f[r]-x,0),w[a]=S[a],h.setClipPath(new p.Z({shape:w})),h.__rectSize=w[r]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(t);return null!=b.pageIndex&&z.D(u,{x:b.contentPosition[0],y:b.contentPosition[1]},g?t:null),this._updatePageInfoView(t,b),S},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;o.S6(["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"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&r&&i.setStyle("text",o.HD(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):r({current:s,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=B[r],a=F[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=+!!h,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&&!_(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(var f=s-1,g=d,y=d,v=null;f>=-1;--f)(!(v=m(l[f]))||!_(y,v.s))&&g.i<y.i&&(y=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=v;return p;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){var e,n;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},e.type="legend.scroll",e}(T);function W(t){(0,i.D)(O),t.registerComponentModel(Z),t.registerComponentView(H),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)})})}function V(t){(0,i.D)(O),(0,i.D)(W)}},14863:function(t,e,n){n.d(e,{N:()=>g});var i=n(12012),r=n(96585),o=n(26991),a=n(40361),s=n(55413),l=n(77704),u=n(37624),h=n(68943),c=n(28440),p=n(43718),d=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(0,i.ZT)(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}(h.Z),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,h=t.getModel("textStyle"),c=t.getModel("subtextStyle"),d=t.get("textAlign"),f=r.pD(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.ZP({style:(0,l.Lr)(h,{text:t.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.ZP({style:(0,l.Lr)(c,{text:v,fill:c.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),S=t.get("triggerEvent",!0);g.silent=!_&&!S,m.silent=!x&&!S,_&&g.on("click",function(){(0,p.MI)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.MI)(x,"_"+t.get("subtarget"))}),(0,s.A)(g).eventData=(0,s.A)(m).eventData=S?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),v&&i.add(m);var w=i.getBoundingRect(),b=t.getBoxLayoutParams();b.width=w.width,b.height=w.height;var M=(0,u.ME)(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?M.x+=M.width:"center"===d&&(M.x+=M.width/2)),f||("center"===(f=t.get("top")||t.get("bottom"))&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),i.x=M.x,i.y=M.y,i.markRedraw();var T={align:d,verticalAlign:f};g.setStyle(T),m.setStyle(T),w=i.getBoundingRect();var k=M.margin,I=t.getItemStyle(["color","opacity"]);I.fill=t.get("backgroundColor");var D=new a.Z({shape:{x:w.x-k[3],y:w.y-k[0],width:w.width+k[1]+k[3],height:w.height+k[0]+k[2],r:t.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});i.add(D)}},e.type="title",e}(c.Z);function g(t){t.registerComponentModel(d),t.registerComponentView(f)}},72632:function(t,e,n){n.d(e,{N:()=>j});var i=n(53079),r=n(70392),o=n(12012),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(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}(n(68943).Z),s=n(96585),l=n(76226),u=n(3036),h=n(75225),c=n(43718);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function d(t){if(l.Z.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var f=d(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=d(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,c.zW)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var v=n(13134),m=y(g,"transition"),_=y(f,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.Z.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.Z.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=l.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[f,a]]}function w(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,h.YB)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var b=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.Z.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,s.HD)(r)?document.querySelector(r):(0,s.Mh)(r)?r:(0,s.mf)(r)&&r(t.getDom()));w(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,u.OD)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,u,h,p,d,f,g,y,w,b,M,T,k,I,D,C,A,P,L,O=this.el,R=O.style,Z=this._styleCoord;O.innerHTML?R.cssText=x+(n=!this._firstShow,i=this._longHide,r=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),d=t.get("shadowOffsetY"),f=t.getModel("textStyle"),g=(0,v.d_)(t,"html"),y=p+"px "+d+"px "+u+"px "+h,r.push("box-shadow:"+y),n&&o&&r.push((M="opacity"+(b=" "+o/2+"s "+(w="cubic-bezier(0.23,1,0.32,1)"))+",visibility"+b,i||(b=" "+o+"s "+w,M+=l.Z.transformSupported?","+_+b:",left"+b+",top"+b),m+":"+M)),a&&r.push("background-color:"+a),(0,s.S6)(["width","color","radius"],function(e){var n="border-"+e,i=(0,c.zW)(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))}),r.push((T=[],k=f.get("fontSize"),(I=f.getTextColor())&&T.push("color:"+I),T.push("font:"+f.getFont()),D=(0,s.pD)(f.get("lineHeight"),Math.round(3*k/2)),k&&T.push("line-height:"+D+"px"),C=f.get("textShadowColor"),A=f.get("textShadowBlur")||0,P=f.get("textShadowOffsetX")||0,L=f.get("textShadowOffsetY")||0,C&&A&&T.push("text-shadow:"+P+"px "+L+"px "+A+"px "+C),(0,s.S6)(["decoration","align"],function(t){var e=f.get(t);e&&T.push("text-"+t+":"+e)}),T.join(";"))),null!=g&&r.push("padding:"+(0,c.MY)(g).join("px ")+"px"),r.join(";")+";")+S(Z[0],Z[1],!0)+"border-color:"+(0,c.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):R.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.HD)(r)&&"item"===n.get("trigger")&&!p(n)&&(a=function(t,e,n){if(!(0,s.HD)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,c.Lz)(e);var l=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",u=Math.max(1.5*Math.round(a),6),h="",p=_+":";(0,s.cq)(["left","right"],l)>-1?(h+="top:50%",p+="translateY(-50%) rotate("+(r="left"===l?-225:-45)+"deg)"):(h+="left:50%",p+="translateX(-50%) rotate("+(r="top"===l?225:45)+"deg)");var d=r*Math.PI/180,f=u+a,g=f*Math.abs(Math.cos(d))+f*Math.abs(Math.sin(d));h+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",h+";"+p+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,s.HD)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.kJ)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.Mh)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(w(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,s.S6)(r,function(t){i[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.Z.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.ak)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),M=n(26991),T=n(99833),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),C(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;s.Kn(t)&&(0,T._y)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new M.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.d_)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s.S6(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),s.S6(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=D(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;C(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=I(r.borderWidth||0),a=D(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.ak(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function I(t){return Math.max(0,t)}function D(t){var e=I(t.shadowBlur||0),n=I(t.shadowOffsetX||0),i=I(t.shadowOffsetY||0);return{left:I(e-n),right:I(e+n),top:I(e-i),bottom:I(e+i)}}function C(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var A=n(81731),P=n(40361),L=n(33408),O=n(37624),R=n(84456),Z=n(71270),N=n(589),z=n(61285),E=n(46451),B=n(28440),F=n(41070),H=n(55413),W=n(77178),V=n(89114),G=n(59524),U=new P.Z({shape:{x:-1,y:-1,width:2,height:2}}),X=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.prototype.init=function(t,e){if(!l.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,E.U9)(n.get("renderMode"));this._tooltipContent="richText"===i?new k(e):new b(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.Z.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,G.T9)(this,"_updatePosition",50,"fixRate"):(0,G.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");Z.z("itemTooltip",this._api,(0,s.ak)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=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&&!l.Z.node&&n.getDom()){var r=q(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,E.zH)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,E.HZ)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,H.A)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)U.x=i.x,U.y=i.y,U.update(),(0,H.A)(U).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:U},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=(0,L.Z)(i,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}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},r))}},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(q(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&&"axis"===Y([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,r,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){if("legend"===(0,H.A)(n).ssrType)return;this._lastDataByCoordSys=null,(0,V.o)(n,function(t){return null!=(0,H.A)(t).dataIndex?(i=t,!0):null!=(0,H.A)(t).tooltipConfig?(r=t,!0):void 0},!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,s.ak)(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=Y([e.tooltipOption],i),a=this._renderMode,l=[],u=(0,v.TX)("section",{blocks:[],noHeader:!0}),h=[],p=new v.iv;(0,s.S6)(t,function(t){(0,s.S6)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=z.gk(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,v.TX)("section",{header:o,noHeader:!(0,s.fy)(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),(0,s.S6)(t.seriesDataIndices,function(u){var f=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=f.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=N.DX(e.axis,{value:r}),y.axisValueLabel=o,y.marker=p.makeTooltipMarker("item",(0,c.Lz)(y.color),a);var v=(0,W.f)(f.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=Y([f],i).get("valueFormatter");d.blocks.push(_?(0,s.l7)({valueFormatter:_},m):m)}v.text&&h.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),h.reverse();var d=e.position,f=o.get("order"),g=(0,v.BY)(u,p,a,f,n.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=h.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],d,null,p)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,H.A)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,h=r.dataType,p=l.getData(h),d=this._renderMode,f=t.positionDefault,g=Y([p.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,h),_=new v.iv;m.marker=_.makeTooltipMarker("item",(0,c.Lz)(m.color),d);var x=(0,W.f)(l.formatTooltip(u,!1,h)),S=g.get("order"),w=g.get("valueFormatter"),b=x.frag,M=b?(0,v.BY)(w?(0,s.l7)({valueFormatter:w},b):b,_,d,S,i.get("useUTC"),g.get("textStyle")):x.text,T="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,M,m,T,t.offsetX,t.offsetY,t.position,t.target,_)}),n({type:"showTip",dataIndexInside:u,dataIndex:p.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,H.A)(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,s.HD)(o)){var l=o;o={content:l,formatter:l},a=!0}a&&i&&o.content&&((o=(0,s.d9)(o)).content=(0,h.F1)(o.content));var u=[o],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&u.push(c),u.push({formatter:o.content});var p=t.positionDefault,d=Y(u,this._tooltipModel,p?{position:p}:null),f=d.get("content"),g=Math.random()+"",y=new v.iv;this._showOrMove(d,function(){var n=(0,s.d9)(d.get("formatterParams")||{});this._showTooltipContent(d,f,n,g,t.offsetX,t.offsetY,t.position,e,y)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var p=t.get("formatter");a=a||t.get("position");var d=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(p)if((0,s.HD)(p)){var g=t.ecModel.get("useUTC"),y=(0,s.kJ)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;d=p,v&&(d=(0,F.WU)(y.axisValue,d,g)),d=(0,c.kF)(d,n,!0)}else if((0,s.mf)(p)){var m=(0,s.ak)(function(e,i){e===this._ticket&&(h.setContent(i,u,t,f,a),this._updatePosition(t,a,r,o,h,n,l))},this);this._ticket=i,d=p(n,i,m)}else d=p;h.setContent(d,u,t,f,a),h.show(t,f),this._updatePosition(t,a,r,o,h,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,s.kJ)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,s.kJ)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),d=t.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),(0,s.mf)(e)&&(e=e([n,i],o,r.el,f,{viewSize:[l,u],contentSize:h.slice()})),(0,s.kJ)(e))n=(0,A.GM)(e[0],l),i=(0,A.GM)(e[1],u);else if((0,s.Kn)(e)){var g=e;g.width=h[0],g.height=h[1];var y=(0,O.ME)(g,{width:l,height:u});n=y.x,i=y.y,c=null,d=null}else if((0,s.HD)(e)&&a){var v=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,f,h,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,S,w,b,M,T,k,I,v=(m=n,_=i,x=r,S=l,w=u,b=c?null:20,M=d?null:20,k=(T=x.getSize())[0],I=T[1],null!=b&&(m+k+b+2>S?m-=k+b:m+=b),null!=M&&(_+I+M>w?_-=I+M:_+=M),[m,_]);n=v[0],i=v[1]}if(c&&(n-=K(c)?h[0]/2:"right"===c?h[0]:0),d&&(i-=K(d)?h[1]/2:"bottom"===d?h[1]:0),p(t)){var D,C,P,L,R,Z,N,z,v=(D=n,C=i,P=r,L=l,R=u,N=(Z=P.getSize())[0],z=Z[1],D=Math.min(D+N,L)-N,C=Math.min(C+z,R)-z,[D=Math.max(D,0),C=Math.max(C,0)]);n=v[0],i=v[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&&(0,s.S6)(n,function(n,o){var a=n.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(r=r&&a.length===l.length)&&(0,s.S6)(a,function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.S6)(a,function(t,e){var n=u[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,s.S6)(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){!l.Z.node&&e.getDom()&&((0,G.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),Z.E("itemTooltip",e))},e.type="tooltip",e}(B.Z);function Y(t,e,n){var i,r=e.ecModel;n?(i=new R.Z(n,r,r),i=new R.Z(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof R.Z&&(a=a.get("tooltip",!0)),(0,s.HD)(a)&&(a={formatter:a}),a&&(i=new R.Z(a,i,r)))}return i}function q(t,e){return t.dispatchAction||(0,s.ak)(e.dispatchAction,e)}function K(t){return"center"===t||"middle"===t}function j(t){(0,r.D)(i.N),t.registerComponentModel(a),t.registerComponentView(X),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.ZT),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.ZT)}},13134:function(t,e,n){n.d(e,{BY:()=>y,TX:()=>p,d_:()=>x,iv:()=>S,jT:()=>_});var i=n(75225),r=n(43718),o=n(96585),a=n(15615),s=n(81731);function l(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,i.F1)(e+"")+"px"}function u(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function d(t){return"section"===t.type}function f(t,e,n,s){var p,y=e.noHeader,_={html:h[p=function t(e){if(d(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.S6)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:c[p]},x=[],S=e.blocks||[];(0,o.hu)(!S||(0,o.kJ)(S)),S=S||[];var w=t.orderMode;if(e.sortBlocks&&w){S=S.slice();var b={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(b,w)){var M=new a.ID(b[w],null);S.sort(function(t,e){return M.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&S.reverse()}(0,o.S6)(S,function(n,i){var r=e.valueFormatter,a=(d(n)?f:g)(r?(0,o.l7)((0,o.l7)({},t),{valueFormatter:r}):t,n,i>0?_.html:0,s);null!=a&&x.push(a)});var T="richText"===t.renderMode?x.join(_.richText):v(s,x.join(""),y?n:_.html);if(y)return T;var k=(0,r.uX)(e.header,"ordinal",t.useUTC),I=u(s,t.renderMode).nameStyle,D=l(s);return"richText"===t.renderMode?m(t,k,I)+_.richText+T:v(s,'<div style="'+I+";"+D+';">'+(0,i.F1)(k)+"</div>"+T,n)}function g(t,e,n,a){var s=t.renderMode,l=e.noName,h=e.noValue,c=!e.markerType,p=e.name,d=t.useUTC,f=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,function(t,e){return(0,r.uX)(t,(0,o.kJ)(C)?C[e]:C,d)})};if(!l||!h){var g,y,_,x,S,w,b,M,T,k,I=c?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),D=l?"":(0,r.uX)(p,"ordinal",d),C=e.valueType,A=h?[]:f(e.value,e.dataIndex),P=!c||!l,L=!c&&l,O=u(a,s),R=O.nameStyle,Z=O.valueStyle;return"richText"===s?(c?"":I)+(l?"":m(t,D,R))+(h?"":(g=t,y=A,_=P,x=L,S=[Z],_&&S.push({padding:[0,0,0,x?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(y)?y.join(" "):y,S))):v(a,(c?"":I)+(l?"":(w=D,'<span style="'+R+";"+(c?"":"margin-left:2px")+'">'+(0,i.F1)(w)+"</span>"))+(h?"":(b=A,M=P,T=L,k=Z,b=(0,o.kJ)(b)?b:[b],'<span style="'+(M?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+k+'">'+(0,o.UI)(b,function(t){return(0,i.F1)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n,i,r,o){if(t)return(d(t)?f:g)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e,n){return'<div style="margin: '+n+"px 0 0;"+l(t)+';">'+e+'<div style="clear:both"></div></div>'}function m(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function _(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.Lz)(n)}function x(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var S=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.A0)({color:e,type:t,renderMode:n,markerId:i});return(0,o.HD)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,function(t){return(0,o.l7)(n,t)}):(0,o.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},65391:function(t,e,n){n.d(e,{N:()=>S});var i=n(96585),r=n(99833),o=n(15615),a={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},s=function(){function t(t){null==(this._condVal=(0,i.HD)(t)?new RegExp(t):(0,i.Kj)(t)?t:null)&&(0,r._y)("")}return t.prototype.evaluate=function(t){var e=typeof t;return(0,i.HD)(e)?this._condVal.test(t):!!(0,i.hj)(e)&&this._condVal.test(t+"")},t}(),l=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),u=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),h=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),c=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),p=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function d(t,e){if(!0===t||!1===t){var n,u,h,y,v=new l;return v.value=t,v}if(g(t)||(0,r._y)(""),t.and)return f("and",t,e);if(t.or)return f("or",t,e);if(t.not){return n=t,u=e,g(h=n.not)||(0,r._y)(""),(y=new c).child=d(h,u),y.child||(0,r._y)(""),y}return function(t,e){for(var n=e.prepareGetValue(t),l=[],u=(0,i.XP)(t),h=t.parser,c=h?(0,o.o2)(h):null,d=0;d<u.length;d++){var f=u[d];if(!("parser"===f||e.valueGetterAttrMap.get(f))){var g=(0,i.RI)(a,f)?a[f]:f,y=t[f],v=c?c(y):y,m=(0,o.tR)(g,v)||"reg"===g&&new s(v);m||(0,r._y)(""),l.push(m)}}l.length||(0,r._y)("");var _=new p;return _.valueGetterParam=n,_.valueParser=c,_.getValue=e.getValue,_.subCondList=l,_}(t,e)}function f(t,e,n){var o=e[t];(0,i.kJ)(o)||(0,r._y)(""),o.length||(0,r._y)("");var a="and"===t?new u:new h;return a.children=(0,i.UI)(o,function(t){return d(t,n)}),a.children.length||(0,r._y)(""),a}function g(t){return(0,i.Kn)(t)&&!(0,i.zG)(t)}var y=function(){function t(t,e){this._cond=d(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}(),v={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,o=new y(t.config,{valueGetterAttrMap:(0,i.kW)({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;(0,i.RI)(t,"dimension")||(0,r._y)("");var o=n.getDimensionInfo(e);return o||(0,r._y)(""),{dimIdx:o.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),a=[],s=0,l=n.count();s<l;s++)e=n.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}},m=n(15693),_=n(46451),x={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,a=(0,_.kF)(n);a.length||(0,r._y)("");var s=[];(0,i.S6)(a,function(t){var n=t.dimension,i=t.order,a=t.parser,l=t.incomparable;null==n&&(0,r._y)(""),"asc"!==i&&"desc"!==i&&(0,r._y)(""),l&&"min"!==l&&"max"!==l&&(0,r._y)(""),"asc"!==i&&"desc"!==i&&(0,r._y)("");var u=e.getDimensionInfo(n);u||(0,r._y)("");var h=a?(0,o.o2)(a):null;a&&!h&&(0,r._y)(""),s.push({dimIdx:u.index,parser:h,comparator:new o.ID(i,l)})});var l=e.sourceFormat;l!==m.XD&&l!==m.qb&&(0,r._y)("");for(var u=[],h=0,c=e.count();h<c;h++)u.push(e.getRawDataItem(h));return u.sort(function(t,n){for(var i=0;i<s.length;i++){var r=s[i],o=e.retrieveValueFromItem(t,r.dimIdx),a=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(o=r.parser(o),a=r.parser(a));var l=r.comparator.evaluate(o,a);if(0!==l)return l}return 0}),{data:u}}};function S(t){t.registerTransform(v),t.registerTransform(x)}},63248:function(t,e,n){n.d(e,{H:()=>i});function i(t,e){return t.type===e}},589:function(t,e,n){n.d(e,{Yb:()=>z,Do:()=>F,PY:()=>V,aG:()=>N,rk:()=>H,WY:()=>W,Xv:()=>R,J9:()=>E,Jk:()=>Z,DX:()=>B});var i=n(96585),r=n(12012),o=n(47765),a=n(16436),s=n(72034),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new a.Z({})),(0,i.kJ)(r)&&(r=new a.Z({categories:(0,i.UI)(r,function(t){return(0,i.Kn)(t)?t.value:t})})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return(0,r.ZT)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,i.HD)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.bA(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){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}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<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(o.Z);o.Z.registerClass(l);var u=n(36700),h=n(12105),c=n(44964),p=n(81731),d=n(41070),f=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,r.ZT)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.WU)(t.value,d.V8[(0,d.xC)((0,d.Tj)(this._minLevelUnit))]||d.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,d.k7)(t,e,n,r,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 r=this.getSetting("useUTC"),o=function(t,e,n,r){for(var o=d.FW,a=0,s=[],l=[],u=0,h=0,c=0;c<o.length&&a++<1e4;++c){var f=(0,d.Tj)(o[c]);if((0,d.$K)(o[c])&&(!function(t,i,o){var a=[],s=!i.length;if(!function(t,e,n,i){var r=p.sG(e),o=p.sG(n),a=function(t){return(0,d.q5)(r,t,i)===(0,d.q5)(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},f=function(){return c()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return f();case"millisecond":return f()&&a("millisecond")}}((0,d.Tj)(t),r[0],r[1],n)){s&&(i=[{value:function(t,e,n){var i=new Date(t);switch((0,d.Tj)(e)){case"year":case"month":i[(0,d.vh)(n)](0);case"day":i[(0,d.f5)(n)](1);case"hour":i[(0,d.En)(n)](0);case"minute":i[(0,d.eN)(n)](0);case"second":i[(0,d.rM)(n)](0),i[(0,d.cb)(n)](0)}return i.getTime()}(new Date(r[0]),t,n)},{value:r[1]}]);for(var l=0;l<i.length-1;l++){var u=i[l].value,h=i[l+1].value;if(u!==h){var c,f,g,y=void 0,m=void 0,_=void 0,x=!1;switch(t){case"year":y=Math.max(1,Math.round(e/d.s2/365)),m=(0,d.sx)(n),_=(0,d.xL)(n);break;case"half-year":case"quarter":case"month":y=(c=e/(30*d.s2))>6?6:c>3?3:c>2?2:1,m=(0,d.CW)(n),_=(0,d.vh)(n);break;case"week":case"half-week":case"day":y=(f=e/d.s2)>16?16:f>7.5?7:f>3.5?4:f>1.5?2:1,m=(0,d.xz)(n),_=(0,d.f5)(n);break;case"half-day":case"quarter-day":case"hour":y=(g=e/d.dV)>12?12:g>6?6:g>3.5?4:g>2?2:1,m=(0,d.Wp)(n),_=(0,d.En)(n);break;case"minute":y=v(e,!0),m=(0,d.fn)(n),_=(0,d.eN)(n);break;case"second":y=v(e,!1),m=(0,d.MV)(n),_=(0,d.rM)(n);break;case"millisecond":y=p.kx(e,!0),m=(0,d.RZ)(n),_=(0,d.cb)(n)}!function(t,e,n,i,o,a,s){for(var l=new Date(e),u=e,h=l[i]();u<n&&u<=r[1];)s.push({value:u}),h+=t,l[o](h),u=l.getTime();s.push({value:u,notAdd:!0})}(y,u,h,m,_,0,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-y})}}for(var l=0;l<a.length;l++)o.push(a[l])}}(o[c],s[s.length-1]||[],l),f!==(o[c+1]?(0,d.Tj)(o[c+1]):null))){if(l.length){h=u,l.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<l.length;++y){var m=l[y].value;(0===y||l[y-1].value!==m)&&(g.push(l[y]),m>=r[0]&&m<=r[1]&&u++)}var _=(r[1]-r[0])/e;if(u>1.5*_&&h>_/1.5||(s.push(g),u>_||t===o[c]))break}l=[]}}for(var x=(0,i.hX)((0,i.UI)(s,function(t){return(0,i.hX)(t,function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd})}),function(t){return t.length>0}),S=[],w=x.length-1,c=0;c<x.length;++c)for(var b=x[c],M=0;M<b.length;++M)S.push({value:b[M].value,level:w-c});S.sort(function(t,e){return t.value-e.value});for(var T=[],c=0;c<S.length;++c)(0===c||S[c].value!==S[c-1].value)&&T.push(S[c]);return T}(this._minLevelUnit,this._approxInterval,r,e);return(n=n.concat(o)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=d.s2,e[1]+=d.s2),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-d.s2}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=y.length,a=Math.min(f(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,i.hj)(t)?t:+p.sG(t)},e.prototype.contain=function(t){return s.XS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.Fv(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.type="time",e}(u.Z),y=[["second",d.WT],["minute",d.yR],["hour",d.dV],["quarter-day",6*d.dV],["half-day",12*d.dV],["day",1.2*d.s2],["half-week",3.5*d.s2],["week",7*d.s2],["month",31*d.s2],["quarter",95*d.s2],["half-year",d.P5/2],["year",d.P5]];function v(t,e){return(t/=e?d.yR:d.WT)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.Z.registerClass(g);var m=o.Z.prototype,_=u.Z.prototype,x=p.NM,S=Math.floor,w=Math.ceil,b=Math.pow,M=Math.log,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.Z,e._interval=0,e}return(0,r.ZT)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),o=_.getTicks.call(this,t);return i.UI(o,function(t){var e=t.value,i=p.NM(b(this.base,e));return i=e===n[0]&&this._fixMin?I(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?I(i,r[1]):i}},this)},e.prototype.setExtent=function(t,e){var n=M(this.base);t=M(Math.max(0,t))/n,e=M(Math.max(0,e))/n,_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=m.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]=I(e[0],n[0])),this._fixMax&&(e[1]=I(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=M(t[0])/M(e),t[1]=M(t[1])/M(e),m.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=p.Xd(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&1>Math.abs(i)&&Math.abs(i)>0;)i*=10;var r=[p.NM(w(e[0]/i)*i),p.NM(S(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){_.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 t=M(t)/M(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=M(t)/M(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),b(this.base,t)},e.type="log",e}(o.Z),k=T.prototype;function I(t,e){return x(t,p.p8(e))}k.getMinorTicks=_.getMinorTicks,k.getLabel=_.getLabel,o.Z.registerClass(T);var D=n(93054),C=n(45258),A=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var o=e.get("min",!0);null==o&&(o=e.get("startValue",!0));var a=this._modelMinRaw=o;(0,i.mf)(a)?this._modelMinNum=O(t,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=O(t,a));var s=this._modelMaxRaw=e.get("max",!0);if((0,i.mf)(s)?this._modelMaxNum=O(t,s({min:n[0],max:n[1]})):"dataMax"!==s&&(this._modelMaxNum=O(t,s)),r)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),u=(0,i.kJ)(l)?l:[l||0,l||0];"boolean"==typeof u[0]||"boolean"==typeof u[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,C.GM)(u[0],1),(0,C.GM)(u[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,h=null!=l;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==l&&(l=t?r?r-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var c=(0,i.Bu)(s)||(0,i.Bu)(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(s=p,u=!0),null!=d&&(l=d,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[L[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[P[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),P={min:"_determinedMin",max:"_determinedMax"},L={min:"_dataMin",max:"_dataMax"};function O(t,e){return null==e?null:(0,i.Bu)(e)?NaN:t.parse(e)}function R(t,e){var n,r,o=t.type,a=(n=t.getExtent(),(r=t.rawExtentInfo)||(r=new A(t,e,n),t.rawExtentInfo=r),r).calculate();t.setBlank(a.isBlank);var s=a.min,l=a.max,u=e.ecModel;if(u&&"time"===o){var c=(0,h.Ge)("bar",u),p=!1;if(i.S6(c,function(t){p=p||t.getBaseAxis()===e.axis}),p){var d=function(t,e,n,r){var o=n.axis.getExtent(),a=Math.abs(o[1]-o[0]),s=(0,h.G_)(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.S6(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;i.S6(s,function(t){u=Math.max(t.offset+t.width,u)});var c=(l=Math.abs(l))+(u=Math.abs(u)),p=e-t,d=p/(1-(l+u)/a)-p;return e+=u/c*d,{min:t-=l/c*d,max:e}}(s,l,e,(0,h.My)(c));s=d.min,l=d.max}}return{extent:[s,l],fixMin:a.minFixed,fixMax:a.maxFixed}}function Z(t,e){var n=R(t,e),i=n.extent,r=e.get("splitNumber");t instanceof T&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function N(t,e){if(e=e||t.get("type"))switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new g({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.Z.getClass(e)||u.Z)}}function z(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function E(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(n,i){return t.scale.getFormattedLabel(n,i,e)}:i.HD(e)?function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}:i.mf(e)?function(i,r){return null!=n&&(r=i.value-n),e(B(t,i),r,null!=i.level?{level:i.level}:null)}:function(e){return t.scale.getLabel(e)}}function B(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function F(t){var e,n,i,r=t.model,o=t.scale;if(!(!r.get(["axisLabel","show"])||o.isBlank())){var a=o.getExtent();n=o instanceof l?o.count():(e=o.getTicks()).length;var s=t.getLabelModel(),u=E(t),h=1;n>40&&(h=Math.ceil(n/40));for(var p=0;p<n;p+=h){var d=u(e?e[p]:{value:a[0]+p},p),f=function(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 c.Z(t.x,t.y,o,a)}(s.getTextRect(d),s.get("rotate")||0);i?i.union(f):i=f}return i}}function H(t){var e=t.get("interval");return null==e?"auto":e}function W(t){return"category"===t.type&&0===H(t.getLabelModel())}function V(t,e){var n={};return i.S6(t.mapDimensionsAll(e),function(e){n[(0,D.IR)(t,e)]=!0}),i.XP(n)}},60891:function(t,e,n){n.d(e,{Mk:()=>s,Yh:()=>a,bK:()=>o});var i=n(96585),r=n(46451);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,h=o.dim,c=r.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===h?[p[2]-f,p[3]+f]:[p[0]-f,p[1]+f];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===h?g[d[u]]:p[0],"x"===h?g[d[u]]:p[3]],a.rotation=Math.PI/2*("x"!==h),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[d[l]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.Jv(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.S6(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.C6).models[0];e[i]=a}),e}},44733:function(t,e,n){n.d(e,{Z:()=>o});var i=n(96585),r={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.S6(r,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){i.S6(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},82994:function(t,e,n){n.d(e,{zl:()=>eH,qR:()=>eV,je:()=>eq,ds:()=>eN,Pu:()=>ez,Hr:()=>eu,OB:()=>eK,yn:()=>eY,sq:()=>eE,S1:()=>eZ,Og:()=>eG,YK:()=>eF,RS:()=>eW,Br:()=>eB});var i,r,o,a,s,l,u,h,c,p,d,f,g,y,v,m,_,x,S,w,b,M,T=n(12012),k=n(44262),I=n(96585),D=n(76226),C=n(22137),A=n(46606),P=n(46451),L=n(84456),O=n(68943),R="";"undefined"!=typeof navigator&&(R=navigator.platform||"");var Z="rgba(0, 0, 0, 0.2)";let N={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Z,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Z,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Z,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Z,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Z,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Z,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:R.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};var z=n(490),E=(0,I.kW)(),B=n(14937),F="\0_ec_inner",H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,T.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new L.Z(i),this._locale=new L.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=G(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,G(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):o(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,I.S6)(s,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,r=this._componentsMap,o=this._componentsCount,a=[],s=(0,I.kW)(),l=e&&e.replaceMergeMainTypeMap;(0,z.md)(this),(0,I.S6)(t,function(t,e){null!=t&&(O.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.d9)(t):(0,I.TS)(n[e],t,!0))}),l&&l.each(function(t,e){O.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),O.Z.topologicalTravel(a,O.Z.getAllClassMainTypes(),function(e){var a,s=function(t,e,n){var i=E.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,P.kF(t[e])),u=r.get(e),h=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=P.ab(u,s,h);P.O0(c,e,O.Z),n[e]=null,r.set(e,null),o.set(e,0);var p=[],d=[],f=0;(0,I.S6)(c,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=O.Z.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.l7)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))},this),n[e]=p,r.set(e,d),o.set(e,f),"series"===e&&i(this)},this),this._seriesIndices||i(this)},e.prototype.getOption=function(){var t=(0,I.d9)(this.option);return(0,I.S6)(t,function(e,n){if(O.Z.hasClass(n)){for(var i=P.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!P.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[F],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<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.S6)(P.kF(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?W("id",r,a):null!=o?W("name",o,a):(0,I.hX)(a,function(t){return!!t}),V(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=V(l?this.queryComponents(l):(0,I.hX)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.hX)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.mf)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.HD)(t)?i.get(t):(0,I.Kn)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=P.U5(t,null);return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.hX)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){r(this),(0,I.S6)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.S6)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){r(this),(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return r(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){r(this);var n=[];(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.kW)(n)},e.prototype.restoreData=function(t){i(this);var e=this._componentsMap,n=[];e.each(function(t,e){O.Z.hasClass(e)&&n.push(e)}),O.Z.topologicalTravel(n,O.Z.getAllClassMainTypes(),function(n){(0,I.S6)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(i=function(t){var e=t._seriesIndices=[];(0,I.S6)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.kW)(e)},r=function(t){},o=function(t,e){t.option={},t.option[F]=1,t._componentsMap=(0,I.kW)({series:[]}),t._componentsCount=(0,I.kW)();var n,i,r,o=e.aria;(0,I.Kn)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.S6)(i,function(t,e){("colorLayer"!==e||!r)&&(O.Z.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.TS)(n[e],t,!1):(0,I.d9)(t):null==n[e]&&(n[e]=t)))}),(0,I.TS)(e,N,!1),t._mergeOption(e,null)}),e}(L.Z);function W(t,e,n){if((0,I.kJ)(e)){var i=(0,I.kW)();return(0,I.S6)(e,function(t){null!=t&&null!=P.U5(t,null)&&i.set(t,!0)}),(0,I.hX)(n,function(e){return e&&i.get(e[t])})}var r=P.U5(e,null);return(0,I.hX)(n,function(e){return e&&null!=r&&e[t]===r})}function V(t,e){return e.hasOwnProperty("subType")?(0,I.hX)(t,function(t){return t&&t.subType===e.subType}):t}function G(t){var e=(0,I.kW)();return t&&(0,I.S6)(P.kF(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.jB)(H,B._);var U=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let X=function(t){I.S6(U,function(e){this[e]=I.ak(t[e],t)},this)};var Y=n(44733),q=/^(min|max)?(.+)$/,K=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.S6)((0,P.kF)(t.series),function(t){t&&t.data&&(0,I.fU)(t.data)&&(0,I.s7)(t.data)}),(0,I.S6)((0,P.kF)(t.dataset),function(t){t&&t.source&&(0,I.fU)(t.source)&&(0,I.s7)(t.source)})),t=(0,I.d9)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);function p(t){(0,I.S6)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t),h&&(0,I.kJ)(u)&&(0,I.S6)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.S6)(l,function(t){return p(t)}),(0,I.S6)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.d9)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.S6)(t,function(t,e){var n=e.match(q);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.UI)(s,function(t){return(0,I.d9)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),j=I.S6,J=I.Kn,Q=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function $(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Q.length;n<i;n++){var r=Q[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.TS(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.TS(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function tt(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.ce(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function te(t){tt(t,"itemStyle"),tt(t,"lineStyle"),tt(t,"areaStyle"),tt(t,"label"),tt(t,"labelLine"),tt(t,"upperLabel"),tt(t,"edgeLabel")}function tn(t,e){var n=J(t)&&t[e],i=J(n)&&n.textStyle;if(i)for(var r=0,o=P.Td.length;r<o;r++){var a=P.Td[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function ti(t){t&&(te(t),tn(t,"label"),t.emphasis&&tn(t.emphasis,"label"))}function tr(t){return I.kJ(t)?t:t?[t]:[]}function to(t){return(I.kJ(t)?t[0]:t)||{}}function ta(t){t&&(0,I.S6)(ts,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var ts=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tl=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tu=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function th(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tu.length;n++){var i=tu[n][1],r=tu[n][0];null!=e[i]&&(e[r]=e[i])}}function tc(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tp(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function td(t,e){var n;j(tr(t.series),function(t){J(t)&&function(t){if(J(t)){$(t),te(t),tn(t,"label"),tn(t,"upperLabel"),tn(t,"edgeLabel"),t.emphasis&&(tn(t.emphasis,"label"),tn(t.emphasis,"upperLabel"),tn(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&($(e),ti(e));var n=t.markLine;n&&($(n),ti(n));var i=t.markArea;i&&ti(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.fU(o))for(var a=0;a<o.length;a++)ti(o[a]);I.S6(t.categories,function(t){te(t)})}if(r&&!I.fU(r))for(var a=0;a<r.length;a++)ti(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)ti(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.kJ(l[a])?(ti(l[a][0]),ti(l[a][1])):ti(l[a]);"gauge"===t.type?(tn(t,"axisLabel"),tn(t,"title"),tn(t,"detail")):"treemap"===t.type?(tt(t.breadcrumb,"itemStyle"),I.S6(t.levels,function(t){te(t)})):"tree"===t.type&&te(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),j(n,function(e){j(tr(t[e]),function(t){t&&(tn(t,"axisLabel"),tn(t.axisPointer,"label"))})}),j(tr(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tn(e,"axisLabel"),tn(e&&e.axisPointer,"label")}),j(tr(t.calendar),function(t){tt(t,"itemStyle"),tn(t,"dayLabel"),tn(t,"monthLabel"),tn(t,"yearLabel")}),j(tr(t.radar),function(t){tn(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),j(tr(t.geo),function(t){J(t)&&(ti(t),j(tr(t.regions),function(t){ti(t)}))}),j(tr(t.timeline),function(t){ti(t),tt(t,"label"),tt(t,"itemStyle"),tt(t,"controlStyle",!0);var e=t.data;I.kJ(e)&&I.S6(e,function(t){I.Kn(t)&&(tt(t,"label"),tt(t,"itemStyle"))})}),j(tr(t.toolbox),function(t){tt(t,"iconStyle"),j(t.feature,function(t){tt(t,"iconStyle")})}),tn(to(t.axisPointer),"label"),tn(to(t.tooltip).axisPointer,"label"),t.series=(0,P.kF)(t.series),(0,I.S6)(t.series,function(t){if((0,I.Kn)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),tc(t.label);var n=t.data;if(n&&!(0,I.fU)(n))for(var i=0;i<n.length;i++)tc(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var r=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=r&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];null==a[o[s]]&&(a[o[s]]=n)}(t,"itemStyle.color",r)}else if("bar"===e){th(t),th(t.backgroundStyle),th(t.emphasis);var n=t.data;if(n&&!(0,I.fU)(n))for(var i=0;i<n.length;i++)"object"==typeof n[i]&&(th(n[i]),th(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tp(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tp)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.ce)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),ta(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.S6)(tl,function(e){var n=t[e];n&&((0,I.kJ)(n)||(n=[n]),(0,I.S6)(n,function(t){ta(t)}))})}var tf=n(81731);function tg(t){(0,I.S6)(t,function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,h){var c,p,d=a.get(e.stackedDimension,h);if(isNaN(d))return r;s?p=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var f=NaN,g=n-1;g>=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=(0,tf.S$)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})})}var ty=n(69331),tv=n(28440),tm=n(47389),t_=n(40361),tx=n(31386),tS=n(17524),tw=n(50654),tb=n(55413),tM=n(63344),tT=n(59524),tk=n(12772),tI=n(22154),tD=n(70259),tC=(0,P.Yf)(),tA={itemStyle:(0,tk.Z)(tI.t,!0),lineStyle:(0,tk.Z)(tD.v,!0)},tP={lineStyle:"stroke",itemStyle:"fill"};function tL(t,e){var n=t.visualStyleMapper||tA[e];return n||(console.warn("Unknown style type '"+e+"'."),tA.itemStyle)}function tO(t,e){var n=t.visualDrawType||tP[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tR=new L.Z,tZ=n(58695),tN=n(26991),tz=n(52902),tE=Math.PI,tB=n(72739),tF=n(95202),tH=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.kW)(),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,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,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=(0,I.kW)();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;(0,I.S6)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.hu)(!(i.reset&&i.overallReset),""),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))}(0,I.S6)(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=(0,I.kW)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tB.v)({plan:tX,reset:tY,count:tj}));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||(0,tB.v)({reset:tW});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.kW)(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,(0,tB.v)({reset:tV,onDirty:tU})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}(0,I.hu)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,(0,I.S6)(n.getSeries(),p)),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(0,I.mf)(t)&&(t={overallReset:t,seriesType:function(t){a=null;try{t(tJ,tQ)}catch(t){}return a}(t)}),t.uid=(0,tF.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function tW(t){t.overallReset(t.ecModel,t.api,t.payload)}function tV(t){return t.overallProgress&&tG}function tG(){this.agent.dirty(),this.getDownstream().dirty()}function tU(){this.agent&&this.agent.dirty()}function tX(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tY(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,P.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.UI)(e,function(t,e){return tK(e)}):tq}var tq=tK(0);function tK(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function tj(t){return t.data.count()}var tJ={},tQ={};function t$(t,e){for(var n in e.prototype)t[n]=I.ZT}t$(tJ,H),t$(tQ,X),tJ.eachSeriesByType=tJ.eachRawSeriesByType=function(t){a=t},tJ.eachComponent=function(t){"series"===t.mainType&&t.subType&&(a=t.subType)};var t0=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t1="#B9B8CE",t2="#100C2A",t5=function(){return{axisLine:{lineStyle:{color:t1}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t6=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t3={darkMode:!0,color:t6,backgroundColor:t2,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t1},pageTextStyle:{color:t1}},textStyle:{color:t1},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t1}},dataZoom:{borderColor:"#71708A",textStyle:{color:t1},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t1}},timeline:{lineStyle:{color:t1},label:{color:t1},controlStyle:{color:t1,borderColor:t1}},calendar:{itemStyle:{color:t2},dayLabel:{color:t1},monthLabel:{color:t1},yearLabel:{color:t1}},timeAxis:t5(),logAxis:t5(),valueAxis:t5(),categoryAxis:t5(),line:{symbol:"circle"},graph:{color:t6},gauge:{title:{color:t1},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t1},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t3.categoryAxis.splitLine.show=!1;var t4=n(35350),t9=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.HD(t)){var r=(0,t4.u9)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.S6(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&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}(),t7=["symbol","symbolSize","symbolRotate","symbolOffset"],t8=t7.concat(["symbolKeepAspect"]),et=n(99833);function ee(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=(0,P.gO)(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:(0,I.kJ)(u)?l.getName(u[0]):l.getName(u),selected:(0,I.HD)(i)?i:(0,I.l7)({},i)})}})}var en=n(45199),ei=n(25990),er=n(89114),eo=n(33398),ea=new A.Z,es=n(82379),el=n(85857),eu={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},eh="__flagInMainProcess",ec="__pendingUpdate",ep="__needsUpdateStatus",ed=/^[a-zA-Z0-9_]+$/,ef="__connectUpdateStatus";function eg(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:ev(this,t,e)}}function ey(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ev(this,t,e)}}function ev(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),A.Z.prototype[e].apply(t,n)}var em=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,T.ZT)(e,t),e}(A.Z),e_=em.prototype;e_.on=ey("on"),e_.off=ey("off");var ex=function(t){function e(e,n,i){var r=t.call(this,new t9)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},(0,I.HD)(n)&&(n=eC[n]),r._dom=e,i.ssr&&k.Qq(function(t){var e=(0,tb.A)(t),n=e.dataIndex;if(null!=n){var i=(0,I.kW)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.S1(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.pD)(i.useDirtyRect,!1),useCoarsePointer:(0,I.pD)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tT.P2)((0,I.ak)(o.flush,o),17),(n=(0,I.d9)(n))&&td(n,!0),r._theme=n,r._locale=(0,ei.D0)(i.locale||ei.sO),r._coordSysMgr=new Y.Z;var a=r._api=S(r);function s(t,e){return t.__prio-e.__prio}return(0,C.Z)(eD,s),(0,C.Z)(ek,s),r._scheduler=new tH(r,a,ek,eD),r._messageCenter=new em,r._initEvents(),r.resize=(0,I.ak)(r.resize,r),o.animation.on("frame",r._onframe,r),y(o,r),v(o,r),(0,I.s7)(r),r}return(0,T.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){M(this);var t=this._scheduler;if(this[ec]){var e=this[ec].silent;this[eh]=!0;try{s(this),h.update.call(this,null,this[ec].updateParams)}catch(t){throw this[eh]=!1,this[ec]=null,t}this._zr.flush(),this[eh]=!1,this[ec]=null,f.call(this,e),g.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),p(this,i),t.performVisualTasks(i),x(this,this._model,r,"remain",{}),n-=new Date-o}while(n>0&&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[eh]){if(this._disposed)return void this.id;if((0,I.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[eh]=!0,!this._model||e){var i,r,o,a=new K(this._api),l=this._theme,u=this._model=new H;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:r},eI);var c={seriesTransition:o,optionChanged:!0};if(n)this[ec]={silent:i,updateParams:c},this[eh]=!1,this.getZr().wakeUp();else{try{s(this),h.update.call(this,null,c)}catch(t){throw this[ec]=null,this[eh]=!1,t}this._ssr||this._zr.flush(),this[ec]=null,this[eh]=!1,f.call(this,i),g.call(this,i)}}},e.prototype.setTheme=function(){(0,et.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},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||D.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(D.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,I.S6)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.S6)(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(0,I.S6)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(!eL[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.S6)(eP,function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,I.d9)(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),h.push({dom:p,left:d.left,top:d.top})}}),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=es.qW.createCanvas(),g=k.S1(f,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:d}),!e)return t.connectedBackgroundColor&&g.add(new t_.Z({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),(0,I.S6)(h,function(t){var e=new tx.ZP({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,I.S6)(h,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return c(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return c(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,i=this._model,r=P.pm(i,t);return(0,I.S6)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.S6)(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))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=P.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.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;(0,I.S6)(ew,function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&(0,er.o)(o,function(t){var e=(0,tb.A)(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=(0,I.l7)({},e.eventData),!0},!0),n){var a=n.componentType,s=n.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)}),(0,I.S6)(eT,function(t,e){i._messageCenter.on(e,function(t){this.trigger(e,t)},i)}),(0,I.S6)(["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?(ee("map","selectchanged",e,i,t),ee("pie","selectchanged",e,i,t)):"select"===t.fromAction?(ee("map","selected",e,i,t),ee("pie","selected",e,i,t)):"unselect"===t.fromAction&&(ee("map","unselected",e,i,t),ee("pie","unselected",e,i,t))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed)return void this.id;this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&P.P$(this.getDom(),eR,"");var t=this._api,e=this._model;(0,I.S6)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.S6)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eP[this.id]},e.prototype.resize=function(t){if(!this[eh]){if(this._disposed)return void this.id;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[ec]&&(null==i&&(i=this[ec].silent),n=!0,this[ec]=null),this[eh]=!0;try{n&&s(this),h.update.call(this,{type:"resize",animation:(0,I.l7)({duration:0},t&&t.animation)})}catch(t){throw this[eh]=!1,t}this[eh]=!1,f.call(this,i),g.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,I.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eA[t]){var n=eA[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed)return void this.id;this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,I.l7)({},t);return e.type=eT[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,I.Kn)(e)||(e={silent:!!e}),eM[t.type])&&this._model){if(this[eh])return void this._pendingActions.push(t);var n=e.silent;d.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&D.Z.browser.weChat&&this._throttledZrFlush(),f.call(this,n),g.call(this,n)}},e.prototype.updateLabelLayout=function(){ea.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).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;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tM.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===tM.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,i,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=Math.max(e.z2,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,n,i,-1/0),!0})}}function i(t,e){e.eachRendered(function(t){if(!tS.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tS.eq(t)){if(t instanceof tw.ZP&&(0,tM.e9)(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)}})}s=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),l(t,!0),l(t,!1),e.plan()},l=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;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,t4.u9)(t.type);(h=new(e?tv.Z.getClass(c.main,c.sub):tm.Z.getClass(c.sub))).init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(h,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var h=r[l];h.__alive?l++:(e||h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},u=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i)return void(0,I.S6)([].concat(t._componentsViews).concat(t._chartsViews),h);var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=u&&(o=(0,I.kW)(),(0,I.S6)(P.kF(u),function(t){var e=P.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tM.xp)(n))if(e instanceof ty.Z)n.type!==tM.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,tM.UL)(e,n,t._api);else{var i=(0,tM.oJ)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tM.Ki&&r&&!n.notBlur&&(0,tM.zI)(e.mainType,e.componentIndex,t._api),a&&(0,I.S6)(a,function(t){n.type===tM.Ki?(0,tM.fD)(t):(0,tM.Mh)(t)})}else(0,tM.aG)(n)&&e instanceof ty.Z&&((0,tM.og)(e,n,t._api),(0,tM.ci)(e),b(t))},t),a&&a.eachComponent(l,function(e){o&&null!=o.get(e.id)||h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){s(this),h.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),p(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),m(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),ea.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=(0,I.kW)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),x(this,i,r,e,{},a),ea.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tm.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),m(this,n,this._api,e,{}),ea.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tm.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),ea.trigger("afterupdate",i,this._api))},updateLayout:function(t){h.update.call(this,t)}},c=function(t,e,n,i){if(t._disposed)return void t.id;for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=P.pm(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},p=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},d=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,l=eM[o],c=l.actionInfo,p=(c.update||"update").split(":"),d=p.pop(),f=null!=p[0]&&(0,t4.u9)(p[0]);this[eh]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,I.UI)(t.batch,function(e){return(e=(0,I.ce)((0,I.l7)({},e),t)).batch=null,e}));var v=[],m=(0,tM.aG)(t),_=(0,tM.xp)(t);if(_&&(0,tM.T5)(this._api),(0,I.S6)(g,function(e){if((n=(n=l.action(e,i._model,i._api))||(0,I.l7)({},e)).type=c.event||n.type,v.push(n),_){var r=P.zH(t),o=r.queryOptionMap;u(i,d,e,r.mainTypeSpecified?o.keys()[0]:"series"),b(i)}else m?(u(i,d,e,"series"),b(i)):f&&u(i,d,e,f.main,f.sub)}),"none"!==d&&!_&&!m&&!f)try{this[ec]?(s(this),h.update.call(this,t),this[ec]=null):h[d].call(this,t)}catch(t){throw this[eh]=!1,t}if(n=y?{type:c.event||o,escapeConnect:a,batch:v}:v[0],this[eh]=!1,!e){var x=this._messageCenter;if(x.trigger(n.type,n),m){var S={type:"selectchanged",escapeConnect:a,selected:(0,tM.C5)(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};x.trigger(S.type,S)}}},f=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();d.call(this,n,t)}},g=function(t){t||this.trigger("updated")},y=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[ec]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},v=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,er.o)(n,tM.Av);i&&((0,tM.$l)(i,t,e._api),b(e))}).on("mouseout",function(t){var n=t.target,i=(0,er.o)(n,tM.Av);i&&((0,tM.xr)(i,t,e._api),b(e))}).on("click",function(t){var n=t.target,i=(0,er.o)(n,function(t){return null!=(0,tb.A)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tb.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},m=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,C.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.S6)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),_(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive=!1}),x(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},_=function(t,e,o,a,s,l){(0,I.S6)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},x=function(t,e,o,a,s,l){var u,h,c,p,d=t._scheduler;s=(0,I.l7)(s||{},{updatedSeries:e.getSeries()}),ea.trigger("series:beforeupdate",e,o,s);var f=!1;e.eachSeries(function(e){var n,r,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var u=s.renderTask;d.updatePayload(u,a),i(e,s),l&&l.get(e.uid)&&u.dirty(),u.perform(d.getPerformArgs(u))&&(f=!0),s.group.silent=!!e.get("silent"),n=e,r=s,o=n.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tM.ci)(e)}),d.unfinished=f||d.unfinished,ea.trigger("series:layoutlabels",e,o,s),ea.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),u=t,h=e,c=u._zr.storage,p=0,c.traverse(function(t){!t.isGroup&&p++}),!(p>h.get("hoverLayerThreshold"))||D.Z.node||D.Z.worker||h.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),ea.trigger("series:afterupdate",e,o,s)},b=function(t){t[ep]=!0,t.getZr().wakeUp()},M=function(t){t[ep]&&(t.getZr().storage.traverse(function(t){tS.eq(t)||e(t)}),t[ep]=!1)},S=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,T.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tM.fD)(e,n),b(t)},n.prototype.leaveEmphasis=function(e,n){(0,tM.Mh)(e,n),b(t)},n.prototype.enterBlur=function(e){(0,tM.SX)(e),b(t)},n.prototype.leaveBlur=function(e){(0,tM.VP)(e),b(t)},n.prototype.enterSelect=function(e){(0,tM.XX)(e),b(t)},n.prototype.leaveSelect=function(e){(0,tM.SJ)(e),b(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(X))(t)},w=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][ef]=e}(0,I.S6)(eT,function(n,i){t._messageCenter.on(i,function(n){if(eL[t.group]&&0!==t[ef]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.S6)(eP,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.S6)(r,function(t){1!==t[ef]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(A.Z),eS=ex.prototype;eS.on=eg("on"),eS.off=eg("off"),eS.one=function(t,e,n){var i=this;(0,et.Sh)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var ew=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function eb(t){}var eM={},eT={},ek=[],eI=[],eD=[],eC={},eA={},eP={},eL={},eO=new Date-0,eR="_echarts_instance_";function eZ(t,e,n){var i=!(n&&n.ssr);if(i){var r,o=(r=t,eP[P.IL(r,eR)]);if(o)return o}var a=new ex(t,e,n);return a.id="ec_"+eO++,eP[a.id]=a,i&&P.P$(t,eR,a.id),w(a),ea.trigger("afterinit",a),a}function eN(t){0>(0,I.cq)(eI,t)&&eI.push(t)}function ez(t,e){eX(ek,t,e,2e3)}function eE(t){eF("afterinit",t)}function eB(t){eF("afterupdate",t)}function eF(t,e){ea.on(t,e)}function eH(t,e,n){(0,I.mf)(e)&&(n=e,e="");var i=(0,I.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),eT[e=t.event]||((0,I.hu)(ed.test(i)&&ed.test(e)),eM[i]||(eM[i]={action:n,actionInfo:t}),eT[e]=i)}function eW(t,e){Y.Z.register(t,e)}function eV(t,e){eX(eD,t,e,1e3,"layout")}function eG(t,e){eX(eD,t,e,3e3,"visual")}var eU=[];function eX(t,e,n,i,r){if(((0,I.mf)(e)||(0,I.Kn)(e))&&(n=e,e=i),!((0,I.cq)(eU,n)>=0)){eU.push(n);var o=tH.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function eY(t,e){eA[t]=e}function eq(t,e,n){var i=(0,el.C)("registerMap");i&&i(t,e,n)}var eK=en.DA;eG(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tL(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tO(t,i),l=o[s],u=(0,I.mf)(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||(0,I.mf)(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||(0,I.mf)(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=(0,I.l7)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),eG(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tL(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tR.option=n[i];var a=r(tR),s=t.ensureUniqueItemVisual(e,"style");(0,I.l7)(s,a),tR.option.decal&&(t.setItemVisual(e,"decal",tR.option.decal),tR.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),eG(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.kW)();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)),tC(t).scope=r}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),i={},r=e.getData(),o=tC(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tO(e,a);r.each(function(t){i[r.getRawIndex(t)]=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)}})}})}}),eG(2e3,{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<t7.length;a++){var s=t7[a],l=t.get(s);(0,I.mf)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.l7)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.XP)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),eG(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<t8.length;i++){var r=t8[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),eG(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=(0,eo.I)(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=(0,eo.I)(r,e))}})}),eN(td),ez(900,function(t){var e=(0,I.kW)();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(tg)}),eA.default=function(t,e){e=e||{},I.ce(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,i=new tZ.Z,r=new t_.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tN.ZP({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 t_.Z({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tz.Z({shape:{startAngle:-tE/2,endAngle:-tE/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*tE/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tE/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},eH({type:tM.Ki,event:tM.Ki,update:tM.Ki},I.ZT),eH({type:tM.yx,event:tM.yx,update:tM.yx},I.ZT),eH({type:tM.Hg,event:tM.Hg,update:tM.Hg},I.ZT),eH({type:tM.JQ,event:tM.JQ,update:tM.JQ},I.ZT),eH({type:tM.iK,event:tM.iK,update:tM.iK},I.ZT),eC.light={color:t0,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t0]},eC.dark=t3},85857:function(t,e,n){n.d(e,{C:()=>o,M:()=>r});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},25990:function(t,e,n){n.d(e,{D0:()=>h,sO:()=>l,Li:()=>p,G8:()=>c});var i=n(84456),r=n(76226),o=n(96585),a={},s={},l=r.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new i.Z(e),a[t]=e}function h(t){if(!(0,o.HD)(t))return(0,o.TS)((0,o.d9)(t),(0,o.d9)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.d9)(e):(0,o.TS)((0,o.d9)(e),(0,o.d9)(a.EN),!1)}function c(t){return s[t]}function p(){return s.EN}u("EN",{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:". "}}}}),u("ZH",{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:""}}}})},72739:function(t,e,n){n.d(e,{v:()=>r});var i=n(96585);function r(t){return new o(t)}var o=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,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),h=this._modDataCount||0,c=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==c||h!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=c,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var y=this._progress;if((0,i.kJ)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,c,p);else this._doProgress(y,f,g,c,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,r=Math.ceil((i=c)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},58185:function(t,e,n){n.d(e,{ZP:()=>y,hG:()=>h});var i,r=n(96585),o=n(15615),a=n(58136),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,p={float:c,int:h,ordinal:Array,number:Array,time:c};function d(t){return t>65535?l:u}function f(){return[1/0,-1/0]}function g(t,e,n,i,r){var o=p[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.QY)(o),this._dimensions=(0,r.UI)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=f(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=f());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];g(n,u,h.type,l,!0)}for(var c=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var h=r[f],y=i.arrayRows.call(this,t[d]||c,h.property,d,f);n[f][p]=y;var v=a[f];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.UI)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=f()),g(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,l);else for(var p=[],d=t;d<e;d++){p=i.getItem(d,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,u[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!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<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))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<u;l++){var h=e-i[this.getRawIndex(l)],c=Math.abs(h);c<=n&&((c<o||c===o&&h>=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<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=d(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(d(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,h=0;h<i;h++){var c=void 0,p=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a)c=e(u[l][p],h);else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.XP)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(d(e._rawCount))(a),l=0,u=i[0],h=t[u][0],c=t[u][1],p=e._chunks,f=!1;if(!e._indices){var g=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=h&&m<=c||isNaN(m))&&(s[l++]=g),g++}f=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],S=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=h&&m<=c||isNaN(m))&&(w>=x&&w<=S||isNaN(w))&&(s[l++]=g),g++}f=!0}}if(!f)if(1===o)for(var v=0;v<a;v++){var b=e.getRawIndex(v),m=p[i[0]][b];(m>=h&&m<=c||isNaN(m))&&(s[l++]=b)}else for(var v=0;v<a;v++){for(var M=!0,b=e.getRawIndex(v),T=0;T<o;T++){var k=i[T],m=p[k][b];(m<t[k][0]||m>t[k][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=f();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=i[e[p]][c];s[o]=h;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(r[0]=d,d=r);for(var u=0;u<d.length;u++){var g=e[u],y=d[u],v=l[g],m=i[g];m&&(m[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},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(d(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+f)/2,v=0,m=f;m<g;m++){var _=this.getRawIndex(m),x=a[_];isNaN(x)||(v+=x)}v/=g-f;var S=p,w=Math.min(p+u,s),b=p-1,M=a[h];n=-1,r=S;for(var T=-1,k=0,m=S;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){k++,T<0&&(T=_);continue}(i=Math.abs((b-y)*(x-M)-(b-m)*(v-M)))>n&&(n=i,r=_)}k>0&&k<w-S&&(c[l++]=Math.min(T,r),r=Math.max(T,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.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(d(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var h=u,c=o[this.getRawIndex(h)],p=u,f=o[this.getRawIndex(p)],g=r;u+r>a&&(g=a-u);for(var y=0;y<g;y++){var v=o[this.getRawIndex(u+y)];v<c&&(c=v,h=u+y),v>f&&(f=v,p=u+y)}var m=this.getRawIndex(h),_=this.getRawIndex(p);h<p?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},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]=f(),c=new(d(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(a.length=s=u-g);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=_}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();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],i=f();if(!n)return i;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=i)[0],a=e[1],s=0;s<r;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},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<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.u4)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.d9)(this._extent),t._rawExtent=(0,r.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=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(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},16436:function(t,e,n){n.d(e,{Z:()=>a});var i=n(96585),r=0;function o(t){return(0,i.Kn)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.UI)(r,o);return new t({categories:a,needCollect:!a,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(!(0,i.HD)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.kW)(this.categories))},t}()},58136:function(t,e,n){n.d(e,{Kp:()=>p,Ld:()=>l,ML:()=>c,QY:()=>g,_P:()=>u,nx:()=>h});var i=n(96585),r=n(15693),o=n(46451),a=n(490),s=function(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,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;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.XD){var l,u;"auto"===a||null==a?f(function(t){null!=t&&"-"!==t&&((0,i.HD)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,i.hj)(a)?a:+!!a,s||1!==u||(s=[],f(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.Wc?t.length:t[0]?t[0].length:null}else if(e===r.qb)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.XP)(e)}(t));else if(e===r.hL)s||(s=[],(0,i.S6)(t,function(t,e){s.push(e)}));else if(e===r.cy){var h=(0,o.C4)(t[0]);l=(0,i.kJ)(h)&&h.length||1}else r.J5;return{startIndex:u,dimensionsDefine:d(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,i.d9)(e)})}function h(t){return new s({data:t,sourceFormat:(0,i.fU)(t)?r.J5:r.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.RA;if((0,i.fU)(t))e=r.J5;else if((0,i.kJ)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.kJ)(a)||(0,i.fU)(a)){e=r.XD;break}else if((0,i.Kn)(a)){e=r.qb;break}}}}else if((0,i.Kn)(t)){for(var s in t)if((0,i.RI)(t,s)&&(0,i.zG)(t[s])){e=r.hL;break}}return e}function d(t){if(t){var e=(0,i.kW)();return(0,i.UI)(t,function(t,n){var r={name:(t=(0,i.Kn)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function f(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},56235:function(t,e,n){n.d(e,{Eo:()=>l,Jj:()=>c,Jl:()=>p,bB:()=>u,v5:()=>h});var i=n(96585),r=n(46451),o=n(58136),a=(0,r.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!p(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,h=void 0,c=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,h=d.type,c=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,h=f.type)}r.push({property:u,type:h,ordinalMeta:c}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function h(t){for(var e=(0,i.kW)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.Kn)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function p(t){return t>30}},32658:function(t,e,n){n.d(e,{Pl:()=>p,_j:()=>g,a:()=>m,hk:()=>b,tB:()=>S});var i,r,o,a,s,l=n(96585),u=n(46451),h=n(58136),c=n(15693),p=function(){var t;function e(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,p=o.dimensionsDefine,d=a[w(s,u)];if((0,l.l7)(t,d),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=g(s,u);t.getItem=(0,l.ak)(f,null,r,h,p);var y=m(s,u);t.count=(0,l.ak)(y,null,r,h,p)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],p=0;p<h;p++){var d=r[p*o+a];c[t+p]=d,d<l&&(l=d),d>u&&(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<t.length;e++)this._data.push(t[e])}(t={})[c.XD+"_"+c.fY]={pure:!0,appendData:r},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:r},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,l.S6)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[c.cy]={appendData:r},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),d=function(t,e,n,i){return t[i]},f=((i={})[c.XD+"_"+c.fY]=function(t,e,n,i){return t[i+e]},i[c.XD+"_"+c.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},i[c.qb]=d,i[c.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},i[c.cy]=d,i);function g(t,e){return f[w(t,e)]}var y=function(t,e,n){return t.length},v=((r={})[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[c.XD+"_"+c.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[c.qb]=y,r[c.hL]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},r[c.cy]=y,r);function m(t,e){return v[w(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var i=(0,u.C4)(t);return i instanceof Array?i[e]:i},o[c.J5]=_,o);function S(t){return x[t]}function w(t,e){return t===c.XD?t+"_"+e:t}function b(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return x[o](i,a,s)}var l=i;return o===c.cy&&(l=(0,u.C4)(i)),l}}}},93054:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var i=n(96585),r=n(56235);function o(t,e,n){var o,a,s,l,u,h,c,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.bB)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,i.S6)(a,function(t,e){(0,i.HD)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||f&&f!==t.coordDim||(h=t))}),!h||d||u||(d=!0),h){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=h.coordDim,v=h.type,m=0;(0,i.S6)(a,function(t){t.coordDim===y&&m++});var _={name:c,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,v),x.storeDimIndex=l.ensureCalculationDimension(c,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:c}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},15615:function(t,e,n){n.d(e,{ID:()=>c,o2:()=>l,tR:()=>d,yQ:()=>a});var i=n(81731),r=n(96585),o=n(99833);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.hj)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:Number(t))}var s=(0,r.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.HD)(t)?(0,r.fy)(t):t}});function l(t){return s.get(t)}var u={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},h=function(){function t(t,e){(0,r.hj)(e)||(0,o._y)(""),this._opFn=u[t],this._rvalFloat=(0,i.FK)(e)}return t.prototype.evaluate=function(t){return(0,r.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)},t}(),c=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=(0,r.hj)(t)?t:(0,i.FK)(t),o=(0,r.hj)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.HD)(t),u=(0,r.HD)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}(),p=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(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=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function d(t,e){return"eq"===t||"ne"===t?new p("eq"===t,e):(0,r.RI)(u,t)?new h(t,e):null}},490:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>c,Wd:()=>h,md:()=>l,pY:()=>u,u7:()=>p});var i=n(46451),r=n(96585),o=n(15693),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function l(t){s(t).datasetMap=(0,r.kW)()}function u(t,e,n){var i,o,a={},l=h(e);if(!l||!t)return a;var u=[],c=[],p=s(e.ecModel).datasetMap,d=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.S6)(t,function(e,n){var s=(0,r.Kn)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.S6)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(c,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(u,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(c,o,r),f.categoryWayDim+=r}}),u.length&&(a.itemName=u),c.length&&(a.seriesName=c),a}function h(t){if(!t.get("data",!0))return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function c(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function p(t,e){return function(t,e,n,s,l,u){var h,c,p;if((0,r.fU)(t))return a.Not;if(s){var d=s[u];(0,r.Kn)(d)?(c=d.name,p=d.type):(0,r.HD)(d)&&(c=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.XD)if(n===o.Wc){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(h=_(f[l+g])))return h}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(h=_(y[u])))return h}else if(e===o.qb){if(!c)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(h=_(v[c])))return h}}else if(e===o.hL){if(!c)return a.Not;var f=t[c];if(!f||(0,r.fU)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(h=_(f[g])))return h}else if(e===o.cy)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.C4)(v);if(!(0,r.kJ)(m))return a.Not;if(null!=(h=_(m[u])))return h}function _(t){var e=(0,r.HD)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},62239:function(t,e,n){n.d(e,{U:()=>h,t:()=>c});var i=n(96585),r=n(58136),o=n(15693),a=n(490),s=n(45199),l=n(58185),u=n(32658),h=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,a=this._getUpstreamSourceManagers(),s=!!a.length;if(p(n)){var l=void 0,u=void 0,h=void 0;if(s){var c=a[0];c.prepareSource(),l=(h=c.getSource()).data,u=h.sourceFormat,e=[c._getVersionSign()]}else l=n.get("data",!0),u=(0,i.fU)(l)?o.J5:o.cy,e=[];var d=this._getSourceMetaRawOption()||{},f=h&&h.metaRawOption||{},g=(0,i.pD)(d.seriesLayoutBy,f.seriesLayoutBy)||null,y=(0,i.pD)(d.sourceHeader,f.sourceHeader),v=(0,i.pD)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!y!=!!f.sourceHeader||v?[(0,r._P)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=n.get("source",!0);t=[(0,r._P)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&d("");var l=[],u=[];return(0,i.S6)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||d(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.vK)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.ML)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];p(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.ZP).initData(new u.Pl(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!p(t))return(0,i.UI)((0,a.JT)(t),function(t){return t.getSourceManager()});var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return p(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){t.option.transform&&(0,i.s7)(t.option.transform)}function p(t){return"series"===t.mainType}function d(t){throw Error(t)}},45199:function(t,e,n){n.d(e,{DA:()=>y,vK:()=>v});var i=n(15693),r=n(46451),o=n(96585),a=n(32658),s=n(15615),l=n(99833),u=n(58136),h=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw 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(0,s.yQ)(t,e)},t}();function c(t){return m(t.sourceFormat)||(0,l._y)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l._y)(""),e===i.XD){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.qb){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.l7)({},n[a]));return r}}function d(t,e,n){if(null!=n){if((0,o.hj)(n)||!isNaN(n)&&!(0,o.RI)(e,n))return t[n];else if((0,o.RI)(e,n))return e[n]}}function f(t){return(0,o.d9)(t)}var g=(0,o.kW)();function y(t){var e=(t=(0,o.d9)(t)).type;e||(0,l._y)("");var n=e.split(":");2!==n.length&&(0,l._y)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}function v(t,e,n){var s=(0,r.kF)(t),y=s.length;y||(0,l._y)("");for(var v=0;v<y;v++)e=function(t,e,n,s){e.length||(0,l._y)(""),(0,o.Kn)(t)||(0,l._y)("");var y=t.type,v=g.get(y);v||(0,l._y)("");var _=(0,o.UI)(e,function(t){return function(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.fY&&(0,l._y)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.S6)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.RI)(y,n)&&(0,l._y)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.ak)(c,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var x=(0,a.a)(s,i.fY);n.count=(0,o.ak)(x,null,r,u,g);var S=(0,a.tB)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return S(t,e,n.name)}};return n.getDimensionInfo=(0,o.ak)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.ak)(f,null,g),n}(t,v)}),x=(0,r.kF)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.d9)(t.config)}));return(0,o.UI)(x,function(t,n){(0,o.Kn)(t)||(0,l._y)(""),t.data||(0,l._y)(""),m((0,u.Kp)(t.data))||(0,l._y)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(t.data,r,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===i.XD||t===i.qb}},70392:function(t,e,n){n.d(e,{D:()=>function t(e){if((0,l.kJ)(e))return void(0,l.S6)(e,function(e){t(e)});(0,l.cq)(c,e)>=0||(c.push(e),(0,l.mf)(e)&&(e={install:e}),e.install(p))}});var i=n(82994),r=n(28440),o=n(47389),a=n(68943),s=n(69331),l=n(96585),u=n(85857),h=n(44262),c=[],p={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:u.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.wm)(t,e)}}},77704:function(t,e,n){n.d(e,{Lr:()=>c,k3:()=>h,ni:()=>u,pe:()=>_,qA:()=>m,qT:()=>v});var i=n(26991),r=n(96585),o=n(63344),a=n(46451),s={};function l(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.L1.length;c++){var p=o.L1[c],d=e[p];h[p]=(0,r.pD)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return h}function u(t,e,n,a){n=n||s;for(var u=t instanceof i.ZP,h=!1,d=0;d<o.qc.length;d++){var f=e[o.qc[d]];if(f&&f.getShallow("show")){h=!0;break}}var g=u?t:t.getTextContent();if(h){!u&&(g||(g=new i.ZP,t.setTextContent(g)),t.stateProxy&&(g.stateProxy=t.stateProxy));var y=l(n,e),v=e.normal,_=!!v.getShallow("show"),x=c(v,a&&a.normal,n,!1,!u);x.text=y.normal,u||t.setTextConfig(p(v,n,!1));for(var d=0;d<o.L1.length;d++){var S=o.L1[d],f=e[S];if(f){var w=g.ensureState(S),b=!!(0,r.pD)(f.getShallow("show"),_);b!==_&&(w.ignore=!b),w.style=c(f,a&&a[S],n,!0,!u),w.style.text=y[S],u||(t.ensureState(S).textConfig=p(f,n,!0))}}g.silent=!!v.getShallow("silent"),null!=g.style.x&&(x.x=g.style.x),null!=g.style.y&&(x.y=g.style.y),g.ignore=!_,g.useStyle(x),g.dirty(),n.enableTextSetter&&(m(g).setLabelText=function(t){var i=l(n,e,t);!function(t,e){for(var n=0;n<o.L1.length;n++){var i=o.L1[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}(g,i)})}else g&&(g.ignore=!0);t.dirty()}function h(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.L1.length;i++){var r=o.L1[i];n[r]=t.getModel([r,e])}return n}function c(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||s;var a,l=e.ecModel,u=l&&l.option.textStyle,h=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||s).rich;if(n){e=e||{};for(var i=(0,r.XP)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(h){for(var c in a={},h)if(h.hasOwnProperty(c)){var p=e.getModel(["rich",c]);y(a[c]={},p,u,n,i,o,!1,!0)}}a&&(t.rich=a);var d=e.get("overflow");d&&(t.overflow=d);var f=e.get("minMargin");null!=f&&(t.margin=f),y(t,e,u,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.l7)(a,e),a}function p(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.pD)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var d=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],f=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],g=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function y(t,e,n,i,o,a,l,u){n=!o&&n||s;var h=i&&i.inheritColor,c=e.getShallow("color"),p=e.getShallow("textBorderColor"),y=(0,r.pD)(e.getShallow("opacity"),n.opacity);("inherit"===c||"auto"===c)&&(c=h||null),("inherit"===p||"auto"===p)&&(p=h||null),a||(c=c||n.color,p=p||n.textBorderColor),null!=c&&(t.fill=c),null!=p&&(t.stroke=p);var v=(0,r.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=v&&(t.lineWidth=v);var m=(0,r.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,r.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=y||u||(y=i&&i.defaultOpacity),null!=y&&(t.opacity=y),o||a||null!=t.fill||!i.inheritColor||(t.fill=i.inheritColor);for(var x=0;x<d.length;x++){var S=d[x],w=(0,r.pD)(e.getShallow(S),n[S]);null!=w&&(t[S]=w)}for(var x=0;x<f.length;x++){var S=f[x],w=e.getShallow(S);null!=w&&(t[S]=w)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!l||!i.disableBox){for(var x=0;x<g.length;x++){var S=g[x],w=e.getShallow(S);null!=w&&(t[S]=w)}var M=e.getShallow("borderType");null!=M&&(t.borderDash=M),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&h&&(t.backgroundColor=h),("auto"===t.borderColor||"inherit"===t.borderColor)&&h&&(t.borderColor=h)}}function v(t,e){var n=e&&e.getModel("textStyle");return(0,r.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var m=(0,a.Yf)();function _(t,e,n,i){if(t){var r=m(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)}}},12105:function(t,e,n){n.d(e,{Bk:()=>f,G_:()=>p,Ge:()=>h,My:()=>c,bK:()=>d});var i=n(96585),r=n(81731),o=n(93054),a=n(94431),s=n(27129);function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t){return t.dim+t.index}function h(t,e){var n=[];return e.eachSeriesByType(t,function(t){g(t)&&n.push(t)}),n}function c(t){var e,n,o,a=function(t){var e={};(0,i.S6)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(t),s=[];return(0,i.S6)(t,function(t){var e,n=t.coordinateSystem.getBaseAxis(),i=n.getExtent();if("category"===n.type)e=n.getBandWidth();else if("value"===n.type||"time"===n.type){var o=a[n.dim+"_"+n.index],h=Math.abs(i[1]-i[0]),c=n.scale.getExtent(),p=Math.abs(c[1]-c[0]);e=o?h/p*o:h}else{var d=t.getData();e=Math.abs(i[1]-i[0])/d.count()}var f=(0,r.GM)(t.get("barWidth"),e),g=(0,r.GM)(t.get("barMaxWidth"),e),v=(0,r.GM)(t.get("barMinWidth")||(y(t)?.5:1),e),m=t.get("barGap"),_=t.get("barCategoryGap");s.push({bandWidth:e,barWidth:f,barMaxWidth:g,barMinWidth:v,barGap:m,barCategoryGap:_,axisKey:u(n),stackId:l(t)})}),e=s,n={},(0,i.S6)(e,function(t,e){var i=t.axisKey,r=t.bandWidth,o=n[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;n[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)}),o={},(0,i.S6)(n,function(t,e){o[e]={};var n,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,i.XP)(a).length,15)+"%");var u=(0,r.GM)(l,s),h=(0,r.GM)(t.gap,1),c=t.remainedWidth,p=t.autoWidthCount,d=(c-u)/(p+(p-1)*h);d=Math.max(d,0),(0,i.S6)(a,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+h*i,p--}else{var i=d;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==d&&(t.width=i,c-=i+h*i,p--)}}),d=Math.max(d=(c-u)/(p+(p-1)*h),0);var f=0;(0,i.S6)(a,function(t,e){t.width||(t.width=d),n=t,f+=t.width*(1+h)}),n&&(f-=n.width*h);var g=-f/2;(0,i.S6)(a,function(t,n){o[e][n]=o[e][n]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+h)})}),o}function p(t,e,n){if(t&&e){var i=t[u(e)];return null!=i&&null!=n?i[l(n)]:i}}function d(t,e){var n=h(t,e),r=c(n);(0,i.S6)(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),i=l(t),o=r[u(n)][i],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function f(t){return{seriesType:t,plan:(0,a.Z)(),reset:function(t){if(g(t)){var e,n,i,r=t.getData(),a=t.coordinateSystem,l=a.getBaseAxis(),u=a.getOtherAxis(l),h=r.getDimensionIndex(r.mapDimension(u.dim)),c=r.getDimensionIndex(r.mapDimension(l.dim)),p=t.get("showBackground",!0),d=r.mapDimension(u.dim),f=r.getCalculationInfo("stackResultDimension"),v=(0,o.M)(r,d)&&!!r.getCalculationInfo("stackedOnSeries"),m=u.isHorizontal(),_=(e=0,(i=(n=u).model.get("startValue"))||(i=0),n.toGlobalCoord(n.dataToCoord("log"===n.type?i>0?i:1:i))),x=y(t),S=t.get("barMinHeight")||0,w=f&&r.getDimensionIndex(f),b=r.getLayout("size"),M=r.getLayout("offset");return{progress:function(t,e){for(var n,i=t.count,r=x&&(0,s.o)(3*i),o=x&&p&&(0,s.o)(3*i),l=x&&(0,s.o)(i),u=a.master.getRect(),d=m?u.width:u.height,f=e.getStore(),g=0;null!=(n=t.next());){var y=f.get(v?w:h,n),T=f.get(c,n),k=_,I=void 0;v&&(I=y-f.get(h,n));var D=void 0,C=void 0,A=void 0,P=void 0;if(m){var L=a.dataToPoint([y,T]);if(v){var O=a.dataToPoint([I,T]);k=O[0]}D=k,C=L[1]+M,A=L[0]-k,P=b,Math.abs(A)<S&&(A=(A<0?-1:1)*S)}else{var L=a.dataToPoint([T,y]);if(v){var O=a.dataToPoint([T,I]);k=O[1]}D=L[0]+M,C=k,A=b,Math.abs(P=L[1]-k)<S&&(P=(P<=0?-1:1)*S)}x?(r[g]=D,r[g+1]=C,r[g+2]=m?A:P,o&&(o[g]=m?u.x:D,o[g+1]=m?C:u.y,o[g+2]=d),l[n]=n):e.setItemLayout(n,{x:D,y:C,width:A,height:P}),g+=3}x&&e.setLayout({largePoints:r,largeDataIndices:l,largeBackgroundPoints:o,valueAxisHorizontal:m})}}}}}}function g(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function y(t){return t.pipelineContext&&t.pipelineContext.large}},68943:function(t,e,n){n.d(e,{Z:()=>p});var i=n(12012),r=n(96585),o=n(84456),a=n(95202),s=n(35350),l=n(46451),u=n(37624),h=(0,l.Yf)(),c=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.Kr("ec_cpt_model"),r}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),i=n?u.tE(t):{},o=e.getTheme();r.TS(t,o.get(this.mainType)),r.TS(t,this.getDefaultOption()),n&&u.dt(t,i,n)},n.prototype.mergeOption=function(t,e){r.TS(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.HZ)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.Z);(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,function(t){var e=[];return r.S6(c.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.UI(e,function(t){return(0,s.u9)(t).main}),"dataset"!==t&&0>=r.cq(e,"dataset")&&e.unshift("dataset"),e});let p=c},84456:function(t,e,n){n.d(e,{Z:()=>v});var i=n(76226),r=n(35350),o=(0,n(12772).Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(77704),l=n(26991),u=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new l.ZP,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<h.length;n++)e[h[n]]=this.getShallow(h[n]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}(),d=n(70259),f=n(22154),g=n(96585),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.d9)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.dm)(y),(0,r.Qj)(y),(0,g.jB)(y,d.K),(0,g.jB)(y,f.D),(0,g.jB)(y,a),(0,g.jB)(y,p);let v=y},69331:function(t,e,n){n.d(e,{Z:()=>k});var i=n(12012),r=n(96585),o=n(76226),a=n(46451),s=n(68943),l=n(14937),u=n(77178),h=n(37624),c=n(72739),p=n(35350),d=n(62239),f=n(13134),g=n(32658),y=a.Yf();function v(t,e){return t.getName(e)||t.getId(e)}var m=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:x,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(y(this).sourceManager=new d.U(this)).prepareSource();var i=this.getInitialData(t,n);b(i,this),this.dataTask.context.data=i,y(this).dataBeforeProcessed=i,_(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=y(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);b(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,y(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=T(this);if(!e)return y(this).data;var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=T(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}y(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.kW(t)},n.prototype.getSourceManager=function(){return y(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return y(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,i,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),p=c.length,d=s.getRawValue(l),y=(0,r.kJ)(d),v=(0,f.jT)(s,l);if(p>1||y&&!p){var m=function(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,function(t,e,n){var i=a.getDimensionInfo(n);return t=t||i&&!1!==i.tooltip&&null!=i.displayName},!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,f.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.S6)(i,function(t){c((0,g.hk)(a,n,t),t)}):(0,r.S6)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}(d,s,l,c,v);e=m.inlineValues,n=m.inlineValueTypes,i=m.blocks,o=m.inlineValues[0]}else if(p){var _=h.getDimensionInfo(c[0]);o=e=(0,g.hk)(h,l,c[0]),n=_.type}else o=e=y?d[0]:d;var x=(0,a.yu)(s),S=x&&s.name||"",w=h.getName(l),b=u?S:w;return(0,f.TX)("section",{header:S,noHeader:u||!x,sortParam:o,blocks:[(0,f.TX)("nameValue",{markerType:"item",markerColor:v,name:b,noName:!(0,r.fy)(b),value:e,valueType:n,dataIndex:l})].concat(i||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l._.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){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=v(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.XP(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}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[v(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.Kn(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=v(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var p=e[s-1],c=v(t,p);(n={})[c]=!0,o.selectedMap=n,this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.Z.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.Z);function _(t){var e,n,i,o=t.name;a.yu(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.S6(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function x(t){return t.model.getRawData().count()}function S(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function b(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.WA(M,e))})}function M(t,e){var n=T(t);return n&&n.setOutputEnd((e||this).count()),e}function T(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.jB(m,u.X),r.jB(m,l._),(0,p.pw)(m,s.Z);let k=m},77178:function(t,e,n){n.d(e,{X:()=>s,f:()=>l});var i=n(96585),r=n(32658),o=n(43718),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);return(u&&(c.value=u.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),l||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.mf(l))?(c.status=e,c.dimensionIndex=s,l(c)):i.HD(l)?(0,o.kF)(l,c).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(u&&i.kJ(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},22154:function(t,e,n){n.d(e,{D:()=>a,t:()=>r});var i=n(12772),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},70259:function(t,e,n){n.d(e,{K:()=>a,v:()=>r});var i=n(12772),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},12772:function(t,e,n){n.d(e,{Z:()=>r});var i=n(96585);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.cq(r,l)>=0||o&&0>i.cq(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},14937:function(t,e,n){n.d(e,{_:()=>o});var i=n(46451),r=(0,i.Yf)();(0,i.Yf)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return function(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)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}}(this,r,(0,i.kF)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}()},24488:function(t,e,n){n.d(e,{Z:()=>a});var i=n(96585),r={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)!isNaN(t[i])&&(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},o=function(t){return Math.round(t.length/2)};function a(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),s=t.get("sampling"),l=t.coordinateSystem,u=a.count();if(u>10&&"cartesian2d"===l.type&&s){var h=l.getBaseAxis(),c=l.getOtherAxis(h),p=h.getExtent(),d=n.getDevicePixelRatio(),f=Math.round(u/(Math.abs(p[1]-p[0])*(d||1)));if(isFinite(f)&&f>1){"lttb"===s?t.setData(a.lttbDownSample(a.mapDimension(c.dim),1/f)):"minmax"===s&&t.setData(a.minmaxDownSample(a.mapDimension(c.dim),1/f));var g=void 0;(0,i.HD)(s)?g=r[s]:(0,i.mf)(s)&&(g=s),g&&t.setData(a.downSample(a.mapDimension(c.dim),1/f,g,o))}}}}}},62635:function(t,e,n){n.d(e,{N:()=>v});var i=n(8473),r=n(96585),o=n(12012),a=n(46606),s=n(31516),l=n(40552),u=n(44964),h=n(59177),c=n(82379);function p(t,e,n){var i=c.qW.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 d=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.KL,"string"==typeof e?a=p(e,n,o):r.Kn(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(r.$j(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.ZT)(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=p("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 u.Z(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var p=new u.Z(0,0,0,0);p.copy(c),p.union(t),o[h]=p,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,f=c.width*c.height,g=l.width*l.height-d-f;g<i&&(i=g,r=h)}}if(s&&(o[r].union(t),n=!0),!n){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=this.__startIndex;p<this.__endIndex;++p){var d=t[p];if(d){var f=d.shouldBePainted(n,i,!0,!0),g=d.__isRendered&&(d.__dirty&h.YV||!f)?d.getPrevPaintRect():null;g&&c(g);var y=f&&(d.__dirty&h.YV||!d.__isRendered)?d.getPaintRect():null;y&&c(y)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var d=e[p],f=d&&d.shouldBePainted(n,i,!0,!0);if(d&&(!f||!d.__zr)&&d.__isRendered){var g=d.getPrevPaintRect();g&&c(g)}}do{r=!1;for(var p=0;p<o.length;){if(o[p].isZero()){o.splice(p,1);continue}for(var v=p+1;v<o.length;)o[p].intersect(o[v])?(r=!0,o[p].union(o[v]),o.splice(v,1)):v++;p++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,u=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,d=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,u/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var u=void 0;r.Qq(e)?(u=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=u,e.__width=i,e.__height=a):r.dL(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,u=(0,l.RZ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(f,t,n,i,a),o.restore())}!n||h?g(0,0,a,u):n.length&&r.S6(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.Z),f=n(98279),g=n(76226),y=function(){function t(t,e,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=r.l7({},n||{}),this.dpr=n.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t,t.style&&(r.$j(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var h=t.width,c=t.height;null!=n.width&&(h=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var p=new d(t,this,this.dpr);p.__builtin__=!0,p.initContext(),u[314159]=p,p.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.ap)(t,0,n),this._height=(0,s.ap)(t,1,n);var f,g,y,v=this._domRoot=(f=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+f+"px","height:"+g+"px","padding:0","margin:0","border-width:0"].join(";")+";",y);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,n=t.length,i=this._hoverlayer;if(i&&i.clear(),n){for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<n;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),e||(e=i.ctx).save(),(0,l.Dm)(e,a,r,o===n-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.RV)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,f.Z)(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var h=!0,c=!1,p=this,d=0;d<o.length;d++)!function(r){var s,l=o[r],u=l.ctx,d=a&&l.createRepaintRects(t,e,p._width,p._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,d);else if(f===l.__startIndex){var m=t[f];m.incremental&&m.notClear&&!n||l.clear(!1,v,d)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,S=0;S<d.length;++S){var w=d[S];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)}(d);return g.Z.wxa&&r.S6(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,l.Dm)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.Dm)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new d("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.TS(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&r.TS(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(r>0&&t>i[0]){for(s=0;s<r-1&&(!(i[s]<t)||!(i[s+1]>t));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;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n,i,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(i=0;i<t.length;i++){var a=t[i],u=a.zlevel,c=void 0;n!==u&&(n=u,l=0),a.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):c=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),s=c),a.__dirty&h.YV&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),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.S6(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+.01){var a=this._layers[o];r.TS(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.cq(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(r,0,i),e=(0,s.ap)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.Dm)(n,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},36700:function(t,e,n){n.d(e,{Z:()=>h});var i=n(12012),r=n(81731),o=n(43718),a=n(47765),s=n(72034),l=r.NM,u=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(0,i.ZT)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(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[0]&&(e[0]=t[0]),t[1]>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=s.lb(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]<i[0]&&(t?o.push({value:l(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=l(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:l(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;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,u=[],h=(o.value-a.value)/t;s<t-1;){var c=l(a.value+(s+1)*h);c>i[0]&&c<i[1]&&u.push(c),s++}n.push(u)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.p8(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=l(t.value,n,!0);return o.OD(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=s.Qf(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=l(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.Z);a.Z.registerClass(u);let h=u},47765:function(t,e,n){n.d(e,{Z:()=>o});var i=n(35350),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[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}();i.au(r);let o=r},72034:function(t,e,n){n.d(e,{Fv:()=>h,Qf:()=>o,XS:()=>u,bA:()=>c,lM:()=>r,lb:()=>s,r1:()=>a});var i=n(81731);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,r){var o,a,u={},h=t[1]-t[0],c=u.interval=(0,i.kx)(h/e,!0);null!=n&&c<n&&(c=u.interval=n),null!=r&&c>r&&(c=u.interval=r);var p=u.intervalPrecision=s(c);return o=u.niceTickExtent=[(0,i.NM)(Math.ceil(t[0]/c)*c,p),(0,i.NM)(Math.floor(t[1]/c)*c,p)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,i.xW)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.NM)(n*e)}function s(t){return(0,i.p8)(t)+2}function l(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function c(t,e){return t*(e[1]-e[0])+e[0]}},35350:function(t,e,n){n.d(e,{PT:()=>l,Qj:()=>p,au:()=>g,dm:()=>u,pw:()=>h,u9:()=>s});var i=n(12012),r=n(96585),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.mf(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.XW(n,this)),r.l7(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=d,n.superApply=f,n.superClass=o,n}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.S6(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.S6(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},95202:function(t,e,n){n.d(e,{Kr:()=>a,ZL:()=>u,cj:()=>s,jS:()=>l});var i=n(96585),r=n(35350),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.u9)(t).main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function l(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,h=(s=r,l={},u=[],i.S6(s,function(t){var r,o,a,h=n(l,t),c=(r=h.originalDeps=e(t),o=s,a=[],i.S6(r,function(t){i.cq(o,t)>=0&&a.push(t)}),a);h.entryCount=c.length,0===h.entryCount&&u.push(t),i.S6(c,function(e){0>i.cq(h.predecessor,e)&&h.predecessor.push(e);var r=n(l,e);0>i.cq(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),c=h.graph,p=h.noEntryList,d={};for(i.S6(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=c[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.S6(g.successor,y?m:v)}i.S6(d,function(){throw Error("")})}function v(t){c[t].entryCount--,0===c[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return i.TS(i.TS({},t,!0),e,!0)}},33398:function(t,e,n){n.d(e,{I:()=>g});var i=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n(45671),s=n(96585),l=n(81731),u=n(44421),h=n(40552),c=n(82379),p=new o,d=new a.ZP(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],v=!0,m=0;m<f.length;++m){var _=a[f[m]];if(null!=_&&!(0,s.kJ)(_)&&!(0,s.HD)(_)&&!(0,s.hj)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=d.get(o);x&&(r?t.svgElement=x:t.image=x)}var S=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.hj)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,s.hj)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.hj)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,s.UI)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.UI)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),b=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.HD)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,s.HD)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,s.HD)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),M=(e=S,(0,s.UI)(e,function(t){return y(t)})),T=y(w),k=!r&&c.qW.createCanvas(),I=r&&{tag:"g",attrs:{},key:"dcl",children:[]},D=function(){for(var t=1,e=0,n=M.length;e<n;++e)t=(0,l.nl)(t,M[e]);for(var i=1,e=0,n=b.length;e<n;++e)i=(0,l.nl)(i,b[e].length);t*=i;var r=T*M.length*b.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();k&&(k.width=D.width*n,k.height=D.height*n,p=k.getContext("2d")),function(){p&&(p.clearRect(0,0,k.width,k.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,k.width,k.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-T,s=0,l=0,c=0;o<D.height;){if(s%2==0){for(var d=l/2%b.length,f=0,g=0,y=0;f<2*D.width;){for(var v=0,e=0;e<S[c].length;++e)v+=S[c][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=f+S[c][g]*m,x=o+w[s]*m,M=S[c][g]*a.symbolSize,C=w[s]*a.symbolSize,A=y/2%b[d].length;!function(t,e,o,s,l){var c=r?1:n,d=(0,u.th)(l,t*c,e*c,o*c,s*c,a.color,a.symbolKeepAspect);if(r){var f=i.painter.renderOneToVNode(d);f&&I.children.push(f)}else(0,h.RV)(p,d)}(_,x,M,C,b[d][A])}f+=S[c][g],++y,++g===S[c].length&&(g=0)}++c===S.length&&(c=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,k||I),t.image=k,t.svgElement=I,t.svgWidth=D.width,t.svgHeight=D.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},89114:function(t,e,n){n.d(e,{o:()=>i});function i(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}},43718:function(t,e,n){n.d(e,{A0:()=>f,Lz:()=>g,MI:()=>y,MY:()=>u,OD:()=>s,kF:()=>d,uX:()=>h,zW:()=>l});var i=n(96585),r=n(75225),o=n(81731),a=n(41070);function s(t){if(!(0,o.kE)(t))return i.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(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 u=i.MY;function h(t,e,n){function r(t){return t&&i.fy(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,o.sG)(t):t;if(!isNaN(+c))return(0,a.WU)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return i.cd(t)?r(t):i.hj(t)&&l(t)?t+"":"-";var p=(0,o.FK)(t);return l(p)?s(p):i.cd(t)?r(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){i.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var d=e[u][a[h]];t=t.replace(p(c[h],u),n?(0,r.F1)(d):d)}return t}function f(t,e){var n=i.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function y(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},19044:function(t,e,n){n.r(e),n.d(e,{Polyline:()=>G,lineLineIntersect:()=>tN,resizePath:()=>tM,setTooltipConfig:()=>tz,subPixelOptimizeLine:()=>tT,extendPath:()=>tv,Text:()=>C.ZP,Rect:()=>U.Z,Ellipse:()=>O,linePolygonIntersect:()=>tZ,isElementRemoved:()=>tc.eq,Polygon:()=>H,Ring:()=>z,RadialGradient:()=>tn,Sector:()=>R.C,getShapeClass:()=>t_,registerShape:()=>tm,makePath:()=>tx,subPixelOptimizeRect:()=>tk,transformDirection:()=>tA,Group:()=>D.Z,mergePath:()=>tb,Line:()=>X.Z,removeElementWithFadeOut:()=>tc.XD,removeElement:()=>tc.bX,subPixelOptimize:()=>tI,updateProps:()=>tc.D,makeImage:()=>tS,Path:()=>r.ZP,createIcon:()=>tR,Arc:()=>$.Z,Image:()=>I.ZP,initProps:()=>tc.KZ,traverseElements:()=>tB,extendShape:()=>tg,groupTransition:()=>tP,OrientedBoundingRect:()=>tr.Z,applyTransform:()=>tC,getTransform:()=>tD,clipPointsByRect:()=>tL,LinearGradient:()=>te.Z,IncrementalDisplayable:()=>tl,Circle:()=>A.Z,BezierCurve:()=>Q,CompoundPath:()=>tt,clipRectByRect:()=>tO,Point:()=>to.Z,BoundingRect:()=>ti.Z});var i=n(12012),r=n(50654),o=n(36209),a=n(63261),s=o.Z.CMD,l=[[],[],[]],u=Math.sqrt,h=Math.atan2,c=n(96585),p=Math.sqrt,d=Math.sin,f=Math.cos,g=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function v(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))}function _(t,e,n,i,r,o,a,s,l,u,h){var c=g/180*l,y=f(c)*(t-n)/2+d(c)*(e-i)/2,_=-1*d(c)*(t-n)/2+f(c)*(e-i)/2,x=y*y/(a*a)+_*_/(s*s);x>1&&(a*=p(x),s*=p(x));var S=(r===o?-1:1)*p((a*a*(s*s)-a*a*(_*_)-s*s*(y*y))/(a*a*(_*_)+s*s*(y*y)))||0,w=S*a*_/s,b=-(S*s)*y/a,M=(t+n)/2+f(c)*w-d(c)*b,T=(e+i)/2+d(c)*w+f(c)*b,k=m([1,0],[(y-w)/a,(_-b)/s]),I=[(y-w)/a,(_-b)/s],D=[(-1*y-w)/a,(-1*_-b)/s],C=m(I,D);if(-1>=v(I,D)&&(C=g),v(I,D)>=1&&(C=0),C<0){var A=Math.round(C/g*1e6)/1e6;C=2*g+A%2*g}h.addData(u,M,T,a,s,k,C,c,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,S=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(r.ZP);function b(t){return null!=t.setData}function M(t,e){var n=function(t){var e,n=new o.Z;if(!t)return n;var i=0,r=0,a=0,s=0,l=o.Z.CMD,u=t.match(x);if(!u)return n;for(var h=0;h<u.length;h++){for(var c=u[h],p=c.charAt(0),d=void 0,f=c.match(S)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,w=void 0,b=void 0,M=void 0,T=void 0,k=void 0,I=void 0,D=i,C=r,A=void 0,P=void 0;switch(p){case"l":i+=f[v++],r+=f[v++],d=l.L,n.addData(d,i,r);break;case"L":i=f[v++],r=f[v++],d=l.L,n.addData(d,i,r);break;case"m":i+=f[v++],r+=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="l";break;case"M":i=f[v++],r=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="L";break;case"h":i+=f[v++],d=l.L,n.addData(d,i,r);break;case"H":i=f[v++],d=l.L,n.addData(d,i,r);break;case"v":r+=f[v++],d=l.L,n.addData(d,i,r);break;case"V":r=f[v++],d=l.L,n.addData(d,i,r);break;case"C":d=l.C,n.addData(d,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":d=l.C,n.addData(d,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,w=r,A=n.len(),P=n.data,e===l.C&&(m+=i-P[A-4],w+=r-P[A-3]),d=l.C,D=f[v++],C=f[v++],i=f[v++],r=f[v++],n.addData(d,m,w,D,C,i,r);break;case"s":m=i,w=r,A=n.len(),P=n.data,e===l.C&&(m+=i-P[A-4],w+=r-P[A-3]),d=l.C,D=i+f[v++],C=r+f[v++],i+=f[v++],r+=f[v++],n.addData(d,m,w,D,C,i,r);break;case"Q":D=f[v++],C=f[v++],i=f[v++],r=f[v++],d=l.Q,n.addData(d,D,C,i,r);break;case"q":D=f[v++]+i,C=f[v++]+r,i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,D,C,i,r);break;case"T":m=i,w=r,A=n.len(),P=n.data,e===l.Q&&(m+=i-P[A-4],w+=r-P[A-3]),i=f[v++],r=f[v++],d=l.Q,n.addData(d,m,w,i,r);break;case"t":m=i,w=r,A=n.len(),P=n.data,e===l.Q&&(m+=i-P[A-4],w+=r-P[A-3]),i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,m,w,i,r);break;case"A":b=f[v++],M=f[v++],T=f[v++],k=f[v++],I=f[v++],D=i,C=r,i=f[v++],_(D,C,i,r=f[v++],k,I,b,M,T,d=l.A,n);break;case"a":b=f[v++],M=f[v++],T=f[v++],k=f[v++],I=f[v++],D=i,C=r,i+=f[v++],_(D,C,i,r+=f[v++],k,I,b,M,T,d=l.A,n)}}("z"===p||"Z"===p)&&(d=l.Z,n.addData(d),i=a,r=s),e=d}return n.toStatic(),n}(t),i=(0,c.l7)({},e);return i.buildPath=function(t){if(b(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){!function(t,e){if(e){var n,i,r,o,c,p,d=t.data,f=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<f;){switch(n=d[r++],o=r,i=0,n){case g:case v:i=1;break;case y:i=3;break;case x:i=2;break;case _:var S=e[4],w=e[5],b=u(e[0]*e[0]+e[1]*e[1]),M=u(e[2]*e[2]+e[3]*e[3]),T=h(-e[1]/M,e[0]/b);d[r]*=b,d[r++]+=S,d[r]*=M,d[r++]+=w,d[r++]*=b,d[r++]*=M,d[r++]+=T,d[r++]+=T,r+=2,o=r;break;case m:p[0]=d[r++],p[1]=d[r++],(0,a.Ne)(p,p,e),d[o++]=p[0],d[o++]=p[1],p[0]+=d[r++],p[1]+=d[r++],(0,a.Ne)(p,p,e),d[o++]=p[0],d[o++]=p[1]}for(c=0;c<i;c++){var k=l[c];k[0]=d[r++],k[1]=d[r++],(0,a.Ne)(k,k,e),d[o++]=k[0],d[o++]=k[1]}}t.increaseVersion()}}(n,t),this.dirtyShape()},i}var T=n(85215),k=n(15365),I=n(31386),D=n(58695),C=n(26991),A=n(26768),P=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},L=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new P},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(r.ZP);L.prototype.type="ellipse";let O=L;var R=n(98289),Z=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},N=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new Z},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}(r.ZP);N.prototype.type="ring";let z=N;function E(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,s,l,u=[],h=[],c=[],p=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,a.VV)(s,s,t[d]),(0,a.Fp)(l,l,t[d]);(0,a.VV)(s,s,i[0]),(0,a.Fp)(l,l,i[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)r=t[d?d-1:f-1],o=t[(d+1)%f];else if(0===d||d===f-1){u.push((0,a.d9)(t[d]));continue}else r=t[d-1],o=t[d+1];(0,a.lu)(h,o,r),(0,a.bA)(h,h,e);var y=(0,a.TE)(g,r),v=(0,a.TE)(g,o),m=y+v;0!==m&&(y/=m,v/=m),(0,a.bA)(c,h,-y),(0,a.bA)(p,h,v);var _=(0,a.IH)([],g,c),x=(0,a.IH)([],g,p);i&&((0,a.Fp)(_,_,s),(0,a.VV)(_,_,l),(0,a.Fp)(x,x,s),(0,a.VV)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var s=r.length,l=0;l<(n?s:s-1);l++){var u=o[2*l],h=o[2*l+1],c=r[(l+1)%s];t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);for(var l=1,p=r.length;l<p;l++)t.lineTo(r[l][0],r[l][1])}n&&t.closePath()}}var B=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},F=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new B},e.prototype.buildPath=function(t,e){E(t,e,!0)},e}(r.ZP);F.prototype.type="polygon";let H=F;var W=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},V=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new W},e.prototype.buildPath=function(t,e){E(t,e,!1)},e}(r.ZP);V.prototype.type="polyline";let G=V;var U=n(40361),X=n(16504),Y=n(97566),q=[],K=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function j(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Y.X_:Y.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Y.X_:Y.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Y.AZ:Y.Zm)(t.x1,t.cpx1,t.x2,e),(n?Y.AZ:Y.Zm)(t.y1,t.cpy1,t.y2,e)]}var J=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new K},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(h<1&&((0,Y.Lx)(n,a,r,h,q),a=q[1],r=q[2],(0,Y.Lx)(i,s,o,h,q),s=q[1],o=q[2]),t.quadraticCurveTo(a,s,r,o)):(h<1&&((0,Y.Vz)(n,a,l,r,h,q),a=q[1],l=q[2],r=q[3],(0,Y.Vz)(i,s,u,o,h,q),s=q[1],u=q[2],o=q[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return j(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=j(this.shape,t,!0);return a.Fv(e,e)},e}(r.ZP);J.prototype.type="bezier-curve";let Q=J;var $=n(52902);let tt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.ZP.prototype.getBoundingRect.call(this)},e}(r.ZP);var te=n(71756);let tn=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.ZT)(e,t),e}(n(75872).Z);var ti=n(44964),tr=n(70431),to=n(12430),ta=n(90635),ts=[];let tl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.ZT)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new ti.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(ts)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(ta.ZP);var tu=n(37763),th=n(55413),tc=n(17524),tp=Math.max,td=Math.min,tf={};function tg(t){return r.ZP.extend(t)}var ty=function(t,e){var n=M(t,e),r=w;function o(t){var e=r.call(this,t)||this;return e.applyTransform=n.applyTransform,e.buildPath=n.buildPath,e}return(0,i.ZT)(o,r),o};function tv(t,e){return ty(t,e)}function tm(t,e){tf[t]=e}function t_(t){if(tf.hasOwnProperty(t))return tf[t]}function tx(t,e,n,i){var r=new w(M(t,e));return n&&("center"===i&&(n=tw(n,r.getBoundingRect())),tM(r,n)),r}function tS(t,e,n){var i=new I.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(tw(e,r))}}});return i}function tw(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var tb=function(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.ZP(e);return s.createPathProxy(),s.buildPath=function(t){if(b(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function tM(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function tT(t,e){return tu._3(t,t,{lineWidth:e}),t}function tk(t){return tu.Pw(t.shape,t.shape,t.style),t}var tI=tu.vu;function tD(t,e){for(var n=T.yR([]);t&&t!==e;)T.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function tC(t,e,n){return e&&!(0,c.zG)(e)&&(e=k.ZP.getLocalTransform(e)),n&&(e=T.U_([],e)),a.Ne([],t,e)}function tA(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return Math.abs((o=tC(o,e,n))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tP(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,tc.D)(t,i,n,(0,th.A)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,c.l7)({},t.shape)),e}}function tL(t,e){return(0,c.UI)(t,function(t){var n=t[0];n=td(n=tp(n,e.x),e.x+e.width);var i=t[1];return[n,i=td(i=tp(i,e.y),e.y+e.height)]})}function tO(t,e){var n=tp(t.x,e.x),i=td(t.x+t.width,e.x+e.width),r=tp(t.y,e.y),o=td(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 tR(t,e,n){var i=(0,c.l7)({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),(0,c.ce)(r,n),new I.ZP(i)):tx(t.replace("path://",""),i,n,"center")}function tZ(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(tN(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function tN(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=c*h-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*h-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-c*g)/d;return!(v<0)&&!(v>1)}function tz(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,c.HD)(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&&(0,c.S6)((0,c.XP)(l),function(t){(0,c.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,th.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,c.ce)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function tE(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tB(t,e){if(t)if((0,c.kJ)(t))for(var n=0;n<t.length;n++)tE(t[n],e);else tE(t,e)}tf.circle=A.Z,tf.ellipse=O,tf.sector=R.C,tf.ring=z,tf.polygon=H,tf.polyline=G,tf.rect=U.Z,tf.line=X.Z,tf.bezierCurve=Q,tf.arc=$.Z},55413:function(t,e,n){n.d(e,{A:()=>i,Q:()=>r});var i=(0,n(46451).Yf)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},37624:function(t,e,n){n.d(e,{BZ:()=>c,ME:()=>p,YD:()=>d,dt:()=>f,tE:()=>g});var i=n(96585),r=n(44964),o=n(81731),a=n(43718),s=i.S6,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(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 c=h;function p(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,l=(0,o.GM)(t.left,i),u=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),p=(0,o.GM)(t.width,i),d=(0,o.GM)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-h-g-l),isNaN(d)&&(d=s-c-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-h-p-g),isNaN(u)&&(u=s-c-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(h||0)),isNaN(d)&&(d=s-f-u-(c||0));var v=new r.Z(l+n[3],u+n[0],p,d);return v.margin=n,v}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function f(t,e,n){var r=n&&n.ignoreSize;i.kJ(r)||(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++}),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var p=0;p<n.length;p++){var d=n[p];if(!h(o,d)&&h(t,d)){o[d]=t[d];break}}return o}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,n){s(t,function(t){e[t]=n[t]})}p(u[0],t,o),p(u[1],t,a)}function g(t){var e,n;return e={},(n=t)&&e&&s(l,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}i.WA(h,"vertical"),i.WA(h,"horizontal")},99833:function(t,e,n){function i(t){}function r(t){throw Error(t)}n.d(e,{Sh:()=>i,_y:()=>r})},46451:function(t,e,n){n.d(e,{C4:()=>h,C6:()=>M,Cc:()=>l,Co:()=>c,HZ:()=>T,IL:()=>I,O0:()=>m,P$:()=>k,Td:()=>u,U5:()=>g,U9:()=>D,Yf:()=>x,ab:()=>p,gO:()=>_,kF:()=>s,lY:()=>v,pk:()=>C,pm:()=>w,yu:()=>y,zH:()=>b});var i=n(96585),r=n(76226),o=n(81731),a="series\0";function s(t){return t instanceof Array?t:null==t?[]:[t]}function l(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<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var u=["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"];function h(t){return!(0,i.Kn)(t)||(0,i.kJ)(t)||t instanceof Date?t:t.value}function c(t){return(0,i.Kn)(t)&&!(t instanceof Array)}function p(t,e,n){var r,o,s,l,u,h,c,p,g,y,m,_,x,S="normalMerge"===n,w="replaceMerge"===n,b="replaceAll"===n;t=t||[],e=(e||[]).slice();var M=(0,i.kW)();(0,i.S6)(e,function(t,n){if(!(0,i.Kn)(t)){e[n]=null;return}});var T=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||v(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,M,n);return(S||w)&&(r=T,o=t,s=M,l=e,(0,i.S6)(l,function(t,e){if(t&&null!=t.id){var n=f(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.hu)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),S&&(u=T,h=e,(0,i.S6)(h,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var i=u[n].existing;if(!u[n].newOption&&i&&(null==i.id||null==t.id)&&!v(t)&&!v(i)&&d("name",i,t)){u[n].newOption=t,h[e]=null;return}}})),S||w?(c=T,p=e,g=w,(0,i.S6)(p,function(t){if(t){for(var e,n=0;(e=c[n])&&(e.newOption||v(e.existing)||e.existing&&null!=t.id&&!d("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=g):c.push({newOption:t,brandNew:g,existing:null,keyInfo:null}),n++}})):b&&(y=T,m=e,(0,i.S6)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=T,x=(0,i.kW)(),(0,i.S6)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,i.S6)(_,function(t){var e=t.newOption;(0,i.hu)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,i.S6)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.Kn)(r)){if(o.name=null!=r.name?f(r.name):n?n.name:a+e,n)o.id=f(n.id);else if(null!=r.id)o.id=f(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),T}function d(t,e,n){var i=g(e[t],null),r=g(n[t],null);return null!=i&&null!=r&&i===r}function f(t){return g(t,"")}function g(t,e){return null==t?e:(0,i.HD)(t)?t:(0,i.hj)(t)||(0,i.cd)(t)?t+"":e}function y(t){var e=t.name;return!!(e&&e.indexOf(a))}function v(t){return t&&null!=t.id&&0===f(t.id).indexOf("\0_ec_\0")}function m(t,e,n){(0,i.S6)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.Kn)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})}function _(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.kJ)(e.dataIndex)?(0,i.UI)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.kJ)(e.name)?(0,i.UI)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function x(){var t="__ec_inner_"+S++;return function(e){return e[t]||(e[t]={})}}var S=(0,o.jj)();function w(t,e,n){var i=b(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=T(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function b(t,e){if((0,i.HD)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.kW)(),a={},s=!1;return(0,i.S6)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,i.cq)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var M={useDefault:!0,enableAll:!1,enableNone:!1};function T(t,e,n,r){r=r||M;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,i.hu)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,i.hu)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function k(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function I(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function D(t){return"auto"===t?r.Z.domSupported?"html":"richText":t||"html"}function C(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.hj)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.NM)(u,s?Math.max((0,o.p8)(n||0),(0,o.p8)(r)):e)}if((0,i.HD)(r))return a<1?n:r;for(var h=[],c=Math.max(n?n.length:0,r.length),p=0;p<c;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)h[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;h[p]=(0,o.NM)(u,s?Math.max((0,o.p8)(f),(0,o.p8)(g)):e)}}return h}},81731:function(t,e,n){n.d(e,{FK:()=>v,GM:()=>o,M9:()=>l,NM:()=>a,NU:()=>r,S$:()=>u,Xd:()=>f,jj:()=>_,kE:()=>m,kx:()=>y,mW:()=>c,nl:()=>x,p8:()=>s,sG:()=>d,wW:()=>h,xW:()=>g});var i=n(96585);function r(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;else if(t>=o)return s}else if(t>=r)return a;else if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function o(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 i.HD(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function s(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e,n,i,r,o,a=1,s=0;s<15;s++,a*=10)if(Math.round(t*a)/a===t)return s}return i=(n=(e=t.toString().toLowerCase()).indexOf("e"))>0?+e.slice(n+1):0,r=n>0?n:e.length,Math.max(0,((o=e.indexOf("."))<0?0:r-1-o)-i)}function l(t,e){var n=Math.log,i=Math.LN10,r=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/i)+Math.round(n(Math.abs(e[1]-e[0]))/i),0),20);return isFinite(r)?r:20}function u(t,e){var n=Math.max(s(t),s(e)),i=t+e;return n>20?i:a(i,n)}function h(t){var e=2*Math.PI;return(t%e+e)%e}function c(t){return t>-1e-4&&t<1e-4}var p=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function d(t){if(t instanceof Date)return t;if(i.HD(t)){var e=p.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function f(t){return Math.pow(10,g(t))}function g(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function y(t,e){var n,i=g(t),r=Math.pow(10,i),o=t/r;return t=(e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*r,i>=-20?+t.toFixed(i<0?-i:0):t}function v(t){var e=parseFloat(t);return e==t&&(0!==e||!i.HD(t)||0>=t.indexOf("x"))?e:NaN}function m(t){return!isNaN(v(t))}function _(){return Math.round(9*Math.random())}function x(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},63344:function(t,e,n){n.d(e,{$l:()=>Y,Av:()=>tr,C5:()=>J,CX:()=>p,Gl:()=>A,Hg:()=>m,JQ:()=>_,Ki:()=>y,L1:()=>f,Mh:()=>N,RW:()=>to,SJ:()=>F,SX:()=>z,T5:()=>W,UL:()=>U,VP:()=>E,WO:()=>tn,XX:()=>B,aG:()=>ta,ci:()=>j,e9:()=>tl,fD:()=>Z,iK:()=>x,k5:()=>$,oJ:()=>X,og:()=>K,qc:()=>g,vF:()=>Q,wU:()=>d,xp:()=>ts,xr:()=>q,yx:()=>v,zI:()=>G});var i=n(96585),r=n(55413),o=n(67375),a=n(46451),s=n(50654),l=1,u={},h=(0,a.Yf)(),c=(0,a.Yf)(),p=1,d=2,f=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y="highlight",v="downplay",m="select",_="unselect",x="toggleSelect";function S(t){return null!=t&&"none"!==t}function w(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function b(t){w(t,"emphasis",d)}function M(t){t.hoverState===d&&w(t,"normal",0)}function T(t){w(t,"blur",p)}function k(t){t.hoverState===p&&w(t,"normal",0)}function I(t){t.selected=!0}function D(t){t.selected=!1}function C(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function A(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function P(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,r){var a=n&&(0,i.cq)(n,"select")>=0,l=!1;if(t instanceof s.ZP){var u=h(t),c=a&&u.selectFill||u.normalFill,p=a&&u.selectStroke||u.normalStroke;if(S(c)||S(p)){var d=(r=r||{}).style||{};"inherit"===d.fill?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=c):!S(d.fill)&&S(c)?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=(0,o.fD)(c)):!S(d.stroke)&&S(p)&&(l||(r=(0,i.l7)({},r),d=(0,i.l7)({},d)),d.stroke=(0,o.fD)(p)),r.style=d}}if(r&&null==r.z2){l||(r=(0,i.l7)({},r));var f=t.z2EmphasisLift;r.z2=t.z2+(null!=f?f:10)}return r}(this,0,e,c);else if("blur"===t)return n=c,r=(0,i.cq)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.l7)({},n),u=(0,i.l7)({opacity:r?a:.1*l.opacity},u),n.style=u),n;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,i.l7)({},p);var d=this.z2SelectLift;p.z2=this.z2+(null!=d?d:9)}return p}}return c}function L(t){t.stateProxy=P;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=P),n&&(n.stateProxy=P)}function O(t,e){H(t,e)||t.__highByOuter||C(t,b)}function R(t,e){H(t,e)||t.__highByOuter||C(t,M)}function Z(t,e){t.__highByOuter|=1<<(e||0),C(t,b)}function N(t,e){(t.__highByOuter&=~(1<<(e||0)))||C(t,M)}function z(t){C(t,T)}function E(t){C(t,k)}function B(t){C(t,I)}function F(t){C(t,D)}function H(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function W(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);a||r.push(s),o.isBlured&&(s.group.traverse(function(t){k(t)}),a&&n.push(i)),o.isBlured=!1}),(0,i.S6)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function V(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&E(i)}}if((n=n||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var p=h&&l?h===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!p||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||T(t)}),(0,i.zG)(e))a(t.getData(),e);else if((0,i.Kn)(e))for(var d=(0,i.XP)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),c(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function G(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){T(t)})}}}function U(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(s,e);l=((0,i.kJ)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var h=s.count(),c=0;!u&&c<h;)u=s.getItemGraphicEl(c++);if(u){var p=(0,r.A)(u);V(o,p.focus,p.blurScope,n)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&V(o,d,f,n)}}}function X(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),h=0;h<u.length;h++)if("self"===(0,r.A)(u[h]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function Y(t,e,n){var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&G(o.componentMainType,o.componentIndex,n),(0,i.S6)(s,function(t){return O(t,e)})):(V(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&G(o.componentMainType,o.componentIndex,n),O(t,e))}function q(t,e,n){W(n);var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.S6)(a,function(t){return R(t,e)}):R(t,e)}function K(t,e,n){if(ta(e)){var r=e.dataType,o=t.getData(r),s=(0,a.gO)(o,e);(0,i.kJ)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===m?"select":"unselect"](s,r)}}function j(t){var e=t.getAllData();(0,i.S6)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?B(e):F(e)})})}function J(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.S6)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function Q(t,e,n){var i,o,a,s;ti(t,!0),C(t,L),i=t,o=e,a=n,s=(0,r.A)(i),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}function $(t,e,n,i){i?ti(t,!1):Q(t,e,n)}var tt=["emphasis","blur","select"],te={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tn(t,e,n,i){n=n||"itemStyle";for(var r=0;r<tt.length;r++){var o=tt[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[te[n]]()}}function ti(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function tr(t){return!!(t&&t.__highDownDispatcher)}function to(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ta(t){var e=t.type;return e===m||e===_||e===x}function ts(t){var e=t.type;return e===y||e===v}function tl(t){var e=h(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}},44421:function(t,e,n){n.d(e,{Cq:()=>b,th:()=>S,zp:()=>w});var i=n(96585),r=n(50654),o=n(16504),a=n(40361),s=n(26768),l=n(19044),u=n(44964),h=n(45258),c=n(81731),p=r.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),d=r.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),f=r.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-h+c*d,l+s+p*d,n-h,l+s),t.closePath()}}),g=r.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),y={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:d,pin:f,arrow:g,triangle:p},v={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},m={};(0,i.S6)(y,function(t,e){m[e]=new t});var _=r.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.wI)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(r=m[i="rect"]),v[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function S(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Z(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function w(t){return(0,i.kJ)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function b(t,e){if(null!=t)return(0,i.kJ)(t)||(t=[t,t]),[(0,c.GM)(t[0],e[0])||0,(0,c.GM)((0,i.pD)(t[1],t[0]),e[1])||0]}},59524:function(t,e,n){n.d(e,{P2:()=>a,T9:()=>s,ZH:()=>l});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(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<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(h),f?h=setTimeout(c,d):r>=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 s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[r]!==n||h!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}}function l(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},41070:function(t,e,n){n.d(e,{$K:()=>_,CW:()=>k,En:()=>Z,FW:()=>y,MV:()=>A,P5:()=>c,RZ:()=>P,Tj:()=>m,V8:()=>f,WT:()=>s,WU:()=>S,Wp:()=>D,cb:()=>E,dV:()=>u,eN:()=>N,f5:()=>R,fn:()=>C,k7:()=>w,q5:()=>M,rM:()=>z,s2:()=>h,sx:()=>T,vh:()=>O,xC:()=>x,xL:()=>L,xz:()=>I,yR:()=>l});var i=n(96585),r=n(81731),o=n(25990),a=n(84456),s=1e3,l=6e4,u=36e5,h=864e5,c=31536e6,p={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}"},d="{yyyy}-{MM}-{dd}",f={year:"{yyyy}",month:"{yyyy}-{MM}",day:d,hour:d+" "+p.hour,minute:d+" "+p.minute,second:d+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(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 _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function S(t,e,n,i){var s=r.sG(t),l=s[T(n)](),u=s[k(n)]()+1,h=Math.floor((u-1)/3)+1,c=s[I(n)](),p=s["get"+(n?"UTC":"")+"Day"](),d=s[D(n)](),f=(d-1)%12+1,g=s[C(n)](),y=s[A(n)](),m=s[P(n)](),_=d>=12?"pm":"am",x=_.toUpperCase(),S=(i instanceof a.Z?i:(0,o.G8)(i||o.sO)||(0,o.Li)()).getModel("time"),w=S.get("month"),b=S.get("monthAbbr"),M=S.get("dayOfWeek"),L=S.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,x+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,w[u-1]).replace(/{MMM}/g,b[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,M[p]).replace(/{ee}/g,L[p]).replace(/{e}/g,p+"").replace(/{HH}/g,v(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,v(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function w(t,e,n,r,o){var a=null;if(i.HD(n))a=n;else if(i.mf(n))a=n(t.value,e,{level:t.level});else{var s=i.l7({},p);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=n?!1===n.inherit?n:i.ce(n,s):s,h=b(t.value,o);if(u[h])a=u[h];else if(u.inherit){for(var c=y.indexOf(h),l=c-1;l>=0;--l)if(u[h]){a=u[h];break}a=a||s.none}if(i.kJ(a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return S(new Date(t.value),a,o,r)}function b(t,e){var n=r.sG(t),i=n[k(e)]()+1,o=n[I(e)](),a=n[D(e)](),s=n[C(e)](),l=n[A(e)](),u=0===n[P(e)](),h=u&&0===l,c=h&&0===s,p=c&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(c)return"hour";if(h)return"minute";else if(u)return"second";else return"millisecond"}function M(t,e,n){var o=i.hj(t)?r.sG(t):t;switch(e=e||b(t,n)){case"year":return o[T(n)]();case"half-year":return+(o[k(n)]()>=6);case"quarter":return Math.floor((o[k(n)]()+1)/4);case"month":return o[k(n)]();case"day":return o[I(n)]();case"half-day":return o[D(n)]()/24;case"hour":return o[D(n)]();case"minute":return o[C(n)]();case"second":return o[A(n)]();case"millisecond":return o[P(n)]()}}function T(t){return t?"getUTCFullYear":"getFullYear"}function k(t){return t?"getUTCMonth":"getMonth"}function I(t){return t?"getUTCDate":"getDate"}function D(t){return t?"getUTCHours":"getHours"}function C(t){return t?"getUTCMinutes":"getMinutes"}function A(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function L(t){return t?"setUTCFullYear":"setFullYear"}function O(t){return t?"setUTCMonth":"setMonth"}function R(t){return t?"setUTCDate":"setDate"}function Z(t){return t?"setUTCHours":"setHours"}function N(t){return t?"setUTCMinutes":"setMinutes"}function z(t){return t?"setUTCSeconds":"setSeconds"}function E(t){return t?"setUTCMilliseconds":"setMilliseconds"}},15693:function(t,e,n){n.d(e,{J5:()=>l,RA:()=>u,Wc:()=>c,XD:()=>o,cy:()=>r,f7:()=>i,fY:()=>h,hL:()=>s,qb:()=>a});var i=(0,n(96585).kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},27129:function(t,e,n){n.d(e,{o:()=>a});var i=n(96585),r="undefined"!=typeof Float32Array,o=r?Float32Array:Array;function a(t){return(0,i.kJ)(t)?r?new Float32Array(t):t:new o(t)}},47389:function(t,e,n){n.d(e,{Z:()=>x});var i=n(96585),r=n(58695),o=n(95202),a=n(35350),s=n(46451),l=n(63344),u=n(72739),h=n(94431),c=n(19044),p=s.Yf(),d=(0,h.Z)(),f=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(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){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.Av)(t)&&("emphasis"===e?l.fD:l.Mh)(t,n)}function y(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.dm(f,["dispose"]),a.au(f);var _={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)}}};let x=f},28440:function(t,e,n){n.d(e,{Z:()=>s});var i=n(58695),r=n(95202),o=n(35350),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("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}();o.dm(a),o.au(a);let s=a},4020:function(t,e,n){n.d(e,{m:()=>a});var i=n(58786),r=n(9798),o=n(39741);function a(){let t=(0,i.f3)(o.Y,null);return(0,i.Fl)(()=>{if(null===t)return r.Z;let{mergedThemeRef:{value:e},mergedThemeOverridesRef:{value:n}}=t,i=(null==e?void 0:e.common)||r.Z;return(null==n?void 0:n.common)?Object.assign({},i,n.common):i})}},77227:function(t,e,n){n.d(e,{Z:()=>a});var i=n(58786),r=n(93950),o=n(55836);let a=(0,i.aZ)({name:"RadioButton",props:o.xu,setup:o.cY,render(){let{mergedClsPrefix:t}=this;return(0,i.h)("label",{class:[`${t}-radio-button`,this.mergedDisabled&&`${t}-radio-button--disabled`,this.renderSafeChecked&&`${t}-radio-button--checked`,this.focus&&[`${t}-radio-button--focus`]]},(0,i.h)("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),(0,i.h)("div",{class:`${t}-radio-button__state-border`}),(0,r.K9)(this.$slots.default,e=>e||this.label?(0,i.h)("div",{ref:"labelRef",class:`${t}-radio__label`},e||this.label):null))}})},75742:function(t,e,n){n.d(e,{Z:()=>x});var i=n(15365),r=n(49582),o=n(44964),a=n(46606),s=n(45258),l=n(96585),u=n(8473),h=n(67375),c=n(59177),p="__zr_normal__",d=i.dN.concat(["ignore"]),f=(0,l.u4)(i.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.Z(0,0,0,0),v=function(){function t(t){this.id=(0,l.M8)(),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,l=!1;r.parent=i?this:null;var u=!1;if(r.copyTransform(e),null!=n.position){n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),i||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,y):(0,s.wI)(g,n,y),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var p=void 0,d=void 0;"center"===h?(p=.5*y.width,d=.5*y.height):(p=(0,s.GM)(h[0],y.width),d=(0,s.GM)(h[1],y.height)),u=!0,r.originX=-r.x+p+(i?0:y.x),r.originY=-r.y+d+(i?0:y.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],u||(r.originX=-f[0],r.originY=-f[1]));var v=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,S=void 0;v&&this.canBeInsideText()?(_=n.insideFill,x=n.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(_),S=!0)):(_=n.outsideFill,x=n.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(_),S=!0)),((_=_||"#000")!==m.fill||x!==m.stroke||S!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=x,m.autoStroke=S,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=c.YV,l&&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()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,h.Qc)(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+255*!r*(1-i);return n[3]=1,(0,h.Pz)(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||{},(0,l.l7)(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((0,l.Kn)(t))for(var n=(0,l.XP)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===p)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,d)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},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(p,!1,t)},t.prototype.useState=function(t,e,n,i){var r,o=t===p;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.cq)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o)return void(0,l.H)("State "+t+" not exists.");o||this.saveCurrentToNormalState(r);var u=!!(r&&r.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,r,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,n,u),d&&d.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),r}}},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;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],p=!!(h&&h.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}}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<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.cq)(this.currentStates,t);if(e>=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=(0,l.cq)(i,t),o=(0,l.cq)(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<t.length;i++){var r=t[i];(0,l.l7)(n,r),r.textConfig&&(e=e||{},(0,l.l7)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.l7)({},i?this.textConfig:n.textConfig),(0,l.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,h=0;h<d.length;h++){var c=d[h],p=r&&f[c];e&&null!=e[c]?p?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(p?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(var h=0;h<this.animators.length;h++){var g=this.animators[h],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.Z(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.cq)(e,t);n>=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;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,h){for(var c=(0,l.XP)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.Kn)(s),v=e.animators,m=[],x=0;x<c.length;x++){var S=c[x],w=o[S];if(null!=w&&null!=i[S]&&(y||s[S]))if(!(0,l.Kn)(w)||(0,l.zG)(w)||(0,l.Qq)(w))m.push(S);else{if(n){h||(i[S]=w,e.updateDuringAnimation(n));continue}t(e,S,i[S],w,a,s&&s[S],u,h)}else h||(i[S]=w,e.updateDuringAnimation(n),m.push(S))}var b=m.length;if(!f&&b)for(var M=0;M<v.length;M++){var T=v[M];if(T.targetName===n&&T.stopTracks(m)){var k=(0,l.cq)(v,T);v.splice(k,1)}}if(a.force||(b=(m=(0,l.hX)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.zG)(e)&&(0,l.zG)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),b>0||a.force&&!u.length){var I=void 0,D=void 0,C=void 0;if(h){D={},g&&(I={});for(var M=0;M<b;M++){var S=m[M];D[S]=i[S],g?I[S]=o[S]:i[S]=o[S]}}else if(g){C={};for(var M=0;M<b;M++){var S=m[M];C[S]=(0,r.V)(i[S]),function(t,e,n){if((0,l.zG)(e[n]))if((0,l.zG)(t[n])||(t[n]=[]),(0,l.fU)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.zG)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?_(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else _(o,r,a);o.length=r.length}else t[n]=e[n]}(i,o,S)}}var T=new r.Z(i,!1,!1,f?(0,l.hX)(v,function(t){return t.targetName===n}):null);T.targetName=n,a.scope&&(T.scope=a.scope),g&&I&&T.whenWithKeys(0,I,m),C&&T.whenWithKeys(0,C,m),T.whenWithKeys(null==p?500:p,h?D:o,m).delay(d||0),e.addAnimator(T,n),u.push(T)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,h=n.done,c=n.aborted,p=function(){u=!0,--s<=0&&(u?h&&h():c&&c())},d=function(){--s<=0&&(u?h&&h():c&&c())};!s&&h&&h(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}(0,l.jB)(v,a.Z),(0,l.jB)(v,i.ZP);let x=v},49582:function(t,e,n){n.d(e,{V:()=>g,Z:()=>S});var i={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*(-Math.pow(2,-10*(t-1))+2)},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(2*Math.PI*(t-e)/.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(2*Math.PI*(t-e)/.4)+1)},elasticInOut: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),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-i.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*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},r=n(96585),o=n(97566),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),i=+(0,r.fy)(n[0]),s=+(0,r.fy)(n[1]),l=+(0,r.fy)(n[2]),u=+(0,r.fy)(n[3]);if(isNaN(i+s+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,o.kD)(0,i,l,1,t,h)&&(0,o.af)(0,s,u,1,h[0])}}}var l=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||r.ZT,this.ondestroy=t.ondestroy||r.ZT,this.onrestart=t.onrestart||r.ZT,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){this._pausedTime+=e;return}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;else this._startTime=t-i%n,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.mf)(t)?t:i[t]||s(t)},t}(),u=n(67375),h=n(76226);h.Z.hasGlobalWindow&&(0,r.mf)(window.btoa);var c=Array.prototype.slice;function p(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function d(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function f(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function g(t){if((0,r.zG)(t)){var e=t.length;if((0,r.zG)(t[0])){for(var n=[],i=0;i<e;i++)n.push(c.call(t[i]));return n}return c.call(t)}return t}function y(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function v(t){return 4===t||5===t}function m(t){return 1===t||2===t}var _=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,h=6,c=e;if((0,r.zG)(e)){var p=(0,r.zG)(e&&e[0])?2:1;h=p,(1!==p||(0,r.hj)(e[0]))&&(2!==p||(0,r.hj)(e[0][0]))||(l=!0)}else if((0,r.hj)(e)&&!(0,r.Bu)(e))h=0;else if((0,r.HD)(e))if(isNaN(+e)){var d=u.Qc(e);d&&(c=d,h=3)}else h=0;else if((0,r.Qq)(e)){var f=(0,r.l7)({},c);(f.colorStops=(0,r.UI)(e.colorStops,function(t){return{offset:t.offset,color:u.Qc(t.color)}}),"linear"===e.type)?h=4:"radial"===e.type&&(h=5),c=f}0===a?this.valType=h:(h!==this.valType||6===h)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:c,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,r.mf)(n)?n:i[n]||s(n)),o.push(g),g},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=m(i),l=v(i),u=0;u<r;u++){var h=n[u],p=h.value,g=o.value;h.percent=h.time/t,!a&&(s&&u!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:c.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(p,g,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(p.colorStops,g.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-y:3===i?n[u].additiveValue=d([],n[u].value,y,-1):m(i)&&(n[u].additiveValue=1===i?d([],n[u].value,y,-1):f([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,c=this.propName,d=3===l,f=this._lastFr,g=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(f+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,h-2)}else{for(n=f;n<h&&!(u[n].percent>e);n++);n=g(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-i.percent,S=0===x?1:g((e-i.percent)/x,1);o.easingFunc&&(S=o.easingFunc(S));var w=a?this._additiveValue:d?_:t[c];if((m(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[c]=S<1?i.rawValue:o.rawValue;else if(m(l))1===l?p(w,i[s],o[s],S):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}}(w,i[s],o[s],S);else if(v(l)){var b,M,T,k,I,D=i[s],C=o[s],A=4===l;(t[c]={type:A?"linear":"radial",x:(b=D.x,(C.x-b)*S+b),y:(M=D.y,(C.y-M)*S+M),colorStops:(0,r.UI)(D.colorStops,function(t,e){var n,i=C.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*S+n),color:y(p([],t.color,i.color,S))}}),global:C.global},A)?(t[c].x2=(T=D.x2,(C.x2-T)*S+T),t[c].y2=(k=D.y2,(C.y2-k)*S+k)):t[c].r=(I=D.r,(C.r-I)*S+I)}else if(d)p(w,i[s],o[s],S),a||(t[c]=y(w));else{var P,L=(P=i[s],(o[s]-P)*S+P);a?this._additiveValue=L:t[c]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(u.Qc(t[n],_),d(_,_,i,1),t[n]=y(_)):1===e?d(t[n],t[n],i,1):2===e&&f(t[n],t[n],i,1)},t}();let S=function(){function t(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i)return void(0,r.H)("Can' use additive animation on looped animation.");this._additiveAnimators=i,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,r.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=y(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,g(l),i),this._trackKeys.push(a)}s.addKeyframe(t,g(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;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,h=u.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=u[h-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var p=new l({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,r.UI)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=g(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.XP)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},98279:function(t,e,n){n.d(e,{Z:()=>i});let i=n(76226).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},40552:function(t,e,n){n.d(e,{Dm:()=>C,RZ:()=>x,RV:()=>D});var i=n(90635),r=n(36209),o=n(25259),a=n(31516),s=n(50654),l=n(31386),u=n(39183),h=n(96585);function c(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,h.hj)(e)?[e]:(0,h.kJ)(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=(0,h.UI)(r,function(t){return t/a}),o/=a)}return[r,o]}var p=n(59177),d=n(82379),f=new r.Z(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(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 _(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 x(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function b(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){k(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(k(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var l=0;l<S.length;l++){var u=S[l];(r||e[u]!==n[u])&&(a||(k(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(k(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function M(t,e,n,i,r){var o=I(e,r.inHover),a=i?null:n&&I(n,r.inHover)||{};if(o===a)return!1;var s=b(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(k(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(k(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(k(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(k(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var h=w[u],c=h[0];(i||o[c]!==a[c])&&(s||(k(t,r),s=!0),t[c]=o[c]||h[1])}return s}function T(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function k(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function I(t,e){return e&&t.__hoverStyle||t.style}function D(t,e){C(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function C(t,e,n,i){var r,h=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.YV,e.__isRendered=!1;return}var y=e.__clipPaths,S=n.prevElClipPaths,w=!1,D=!1;if(!S||(0,a.cF)(y,S)){if(S&&S.length&&(k(t,n),t.restore(),D=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),y&&y.length){k(t,n),t.save();for(var A=!1,P=0;P<y.length;P++){var L=y[P];A=A||L.isZeroArea(),T(t,L),t.beginPath(),L.buildPath(t,L.shape),t.clip()}n.allClipped=A,w=!0}n.prevElClipPaths=y}if(n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var O=n.prevEl;O||(D=w=!0);var R=e instanceof s.ZP&&e.autoBatch&&(z=v(N=e.style),E=g(N),!(N.lineDash||!(z^E)||z&&"string"!=typeof N.fill||E&&"string"!=typeof N.stroke||N.strokePercent<1||N.strokeOpacity<1||N.fillOpacity<1));!w&&(B=O.transform,h&&B?h[0]===B[0]&&h[1]===B[1]&&h[2]===B[2]&&h[3]===B[3]&&h[4]===B[4]&&h[5]===B[5]:+(!h&&!B))?R||k(t,n):(k(t,n),T(t,e));var Z=I(e,n.inHover);if(e instanceof s.ZP)1!==n.lastDrawType&&(D=!0,n.lastDrawType=1),M(t,e,O,D,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o,s,l=g(n),u=v(n),h=n.strokePercent,d=h<1,y=!e.path;(!e.silent||d)&&y&&e.createPathProxy();var S=e.path||f,w=e.__dirty;if(!i){var b=n.fill,M=n.stroke,T=u&&!!b.colorStops,k=l&&!!M.colorStops,I=u&&!!b.image,D=l&&!!M.image,C=void 0,A=void 0,P=void 0,L=void 0,O=void 0;(T||k)&&(O=e.getBoundingRect()),T&&(C=w?(0,a.ZF)(t,b,O):e.__canvasFillGradient,e.__canvasFillGradient=C),k&&(A=w?(0,a.ZF)(t,M,O):e.__canvasStrokeGradient,e.__canvasStrokeGradient=A),I&&(P=w||!e.__canvasFillPattern?x(t,b,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(L=w||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=C:I&&(P?t.fillStyle=P:u=!1),k?t.strokeStyle=A:D&&(L?t.strokeStyle=L:l=!1)}var R=e.getGlobalScale();S.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(r=c(e))[0],s=r[1]);var Z=!0;(y||w&p.RH)&&(S.setDPR(t.dpr),d?S.setContext(null):(S.setContext(t),Z=!1),S.reset(),e.buildPath(S,e.shape,i),S.toStatic(),e.pathUpdated()),Z&&S.rebuildPath(t,d?h:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!i&&(n.strokeFirst?(l&&_(t,n),u&&m(t,n)):(u&&m(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,Z,R),R&&(n.batchFill=Z.fill||"",n.batchStroke=Z.stroke||"");else if(e instanceof u.Z){3!==n.lastDrawType&&(D=!0,n.lastDrawType=3),M(t,e,O,D,n);var N,z,E,B,F,H=Z.text;if(null!=H&&(H+=""),H){t.font=Z.font||d.Uo,t.textAlign=Z.textAlign,t.textBaseline=Z.textBaseline;var W=void 0,V=void 0;t.setLineDash&&Z.lineDash&&(W=(F=c(e))[0],V=F[1]),W&&(t.setLineDash(W),t.lineDashOffset=V),Z.strokeFirst?(g(Z)&&t.strokeText(H,Z.x,Z.y),v(Z)&&t.fillText(H,Z.x,Z.y)):(v(Z)&&t.fillText(H,Z.x,Z.y),g(Z)&&t.strokeText(H,Z.x,Z.y)),W&&t.setLineDash([])}}else e instanceof l.ZP?(2!==n.lastDrawType&&(D=!0,n.lastDrawType=2),r=D,b(t,I(e,n.inHover),O&&I(O,n.inHover),r,n),function(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var h=n.sx,c=n.sy,p=s-h,d=l-c;t.drawImage(i,h,c,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,Z)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(D=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),C(t,l,s,i===r-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=a.length;u<h;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),C(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n));R&&i&&k(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},31516:function(t,e,n){function i(t){return isFinite(t)}function r(t,e,n){for(var r,o,a,s,l,u,h,c,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(h=null==e.x?0:e.x,c=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(h=h*n.width+n.x,c=c*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),h=i(h)?h:0,c=i(c)?c:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(h,p,c,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[r]||a(l[i])||a(t.style[i]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{ZF:()=>r,ap:()=>s,cF:()=>o})},8473:function(t,e,n){n.d(e,{Ak:()=>a,GD:()=>l,KL:()=>o,iv:()=>u,vU:()=>s});var i=n(76226),r=1;i.Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},45258:function(t,e,n){n.d(e,{Dp:()=>p,GM:()=>d,M3:()=>h,dz:()=>s,lP:()=>u,mU:()=>c,wI:()=>f});var i=n(44964),r=n(45671),o=n(82379),a={};function s(t,e){var n=a[e=e||o.Uo];n||(n=a[e]=new r.ZP(500));var i=n.get(t);return null==i&&(i=o.qW.measureText(t,e).width,n.put(t,i)),i}function l(t,e,n,r){var o=s(t,e),a=p(e),l=h(0,o,n),u=c(0,a,r);return new i.Z(l,u,o,a)}function u(t,e,n,r){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,n,r);for(var a=new i.Z(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,n,r);0===s?a.copy(u):a.union(u)}return a}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function p(t){return s("国",t)}function d(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function f(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+=d(i[0],n.width),u+=d(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}},44964:function(t,e,n){n.d(e,{Z:()=>d});var i=n(85215),r=n(12430),o=Math.min,a=Math.max,s=new r.Z,l=new r.Z,u=new r.Z,h=new r.Z,c=new r.Z,p=new r.Z;let d=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=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(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=t.width/this.width,n=t.height/this.height,r=i.Ue();return i.Iu(r,r,[-this.x,-this.y]),i.bA(r,r,[e,n]),i.Iu(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.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,h=e.y,d=e.y+e.height,f=!(o<l||u<i||s<h||d<a);if(n){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-i),_=Math.abs(s-h),x=Math.abs(d-a),S=Math.min(v,m),w=Math.min(_,x);o<l||u<i?S>y&&(y=S,v<m?r.Z.set(p,-v,0):r.Z.set(p,m,0)):S<g&&(g=S,v<m?r.Z.set(c,v,0):r.Z.set(c,-m,0)),s<h||d<a?w>y&&(y=w,_<x?r.Z.set(p,0,-_):r.Z.set(p,0,x)):S<g&&(g=S,_<x?r.Z.set(c,0,_):r.Z.set(c,0,-x))}return n&&r.Z.copy(n,f?c:p),f},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.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){e!==n&&t.copy(e,n);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],p=i[4],d=i[5];e.x=n.x*r+p,e.y=n.y*c+d,e.width=n.width*r,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=n.x,s.y=h.y=n.y,l.x=h.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(i),h.transform(i),l.transform(i),u.transform(i),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var f=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=f-e.x,e.height=g-e.y},t}()},46606:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},45671:function(t,e,n){n.d(e,{ZP:()=>o});var i=function(t){this.value=t},r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(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}();let o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},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}()},70431:function(t,e,n){n.d(e,{Z:()=>l});var i=n(12430),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.Z;for(var n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return(a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r))?n:(r||i.Z.copy(e,n?a:s),n)},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(u=!1,s)return u;var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)>a.len()&&(p<d?i.Z.scale(a,c,-p*l):i.Z.scale(a,c,d*l))}else if(n){var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)<n.len()&&(p<d?i.Z.scale(n,c,p*l):i.Z.scale(n,c,-d*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}()},36209:function(t,e,n){n.d(e,{Z:()=>Z});var i=n(63261),r=n(44964),o=n(8473),a=n(97566),s=Math.min,l=Math.max,u=Math.sin,h=Math.cos,c=2*Math.PI,p=i.Ue(),d=i.Ue(),f=i.Ue();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=l(t,n),o[1]=l(e,i)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],S=[],w=[],b=[],M=[],T=Math.min,k=Math.max,I=Math.cos,D=Math.sin,C=Math.abs,A=Math.PI,P=2*A,L="undefined"!=typeof Float32Array,O=[];function R(t){return Math.round(t/A*1e8)/1e8%2*A}let Z=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=C(n/o.KL/t)||0,this._uy=C(n/o.KL/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=C(t-this._xi),i=C(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(m.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},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(m.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},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(m.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),O[0]=i,O[1]=r,(a=R(O[0]))<0&&(a+=P),s=a-O[0],l=O[1]+s,!o&&l-a>=P?l=a+P:o&&a-l>=P?l=a-P:!o&&a>l?l=a+(P-R(a-l)):o&&a<l&&(l=a-(P-R(l-a))),O[0]=a,O[1]=l,i=O[0];var a,s,l,u=(r=O[1])-i;return this.addData(m.A,t,e,n,n,i,u,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=I(r)*n+t,this._yi=D(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(m.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&L&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();L&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,L&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){S[0]=S[1]=b[0]=b[1]=Number.MAX_VALUE,w[0]=w[1]=M[0]=M[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,x=0;for(t=0;t<this._len;){var T=e[t++],k=1===t;switch(k&&(n=e[t],o=e[t+1],_=n,x=o),T){case m.M:n=_=e[t++],o=x=e[t++],b[0]=_,b[1]=x,M[0]=_,M[1]=x;break;case m.L:g(n,o,e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.C:!function(t,e,n,i,r,o,u,h,c,p){var d=a.pP,f=a.af,g=d(t,n,r,u,y);c[0]=1/0,c[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<g;m++){var _=f(t,n,r,u,y[m]);c[0]=s(_,c[0]),p[0]=l(_,p[0])}g=d(e,i,o,h,v);for(var m=0;m<g;m++){var x=f(e,i,o,h,v[m]);c[1]=s(x,c[1]),p[1]=l(x,p[1])}c[0]=s(t,c[0]),p[0]=l(t,p[0]),c[0]=s(u,c[0]),p[0]=l(u,p[0]),c[1]=s(e,c[1]),p[1]=l(e,p[1]),c[1]=s(h,c[1]),p[1]=l(h,p[1])}(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.Q:!function(t,e,n,i,r,o,u,h){var c=a.QC,p=a.Zm,d=l(s(c(t,n,r),1),0),f=l(s(c(e,i,o),1),0),g=p(t,n,r,d),y=p(e,i,o,f);u[0]=s(t,r,g),u[1]=s(e,o,y),h[0]=l(t,r,g),h[1]=l(e,o,y)}(n,o,e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.A:var C=e[t++],A=e[t++],P=e[t++],L=e[t++],O=e[t++],R=e[t++]+O;t+=1;var Z=!e[t++];k&&(_=I(O)*P+C,x=D(O)*L+A),function(t,e,n,r,o,a,s,l,g){var y=i.VV,v=i.Fp,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4){l[0]=t-n,l[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(p[0]=h(o)*n+t,p[1]=u(o)*r+e,d[0]=h(a)*n+t,d[1]=u(a)*r+e,y(l,p,d),v(g,p,d),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=h(x)*n+t,f[1]=u(x)*r+e,y(l,f,l),v(g,f,g))}(C,A,P,L,O,R,Z,b,M),n=I(R)*P+C,o=D(R)*L+A;break;case m.R:g(_=n=e[t++],x=o=e[t++],_+e[t++],x+e[t++],b,M);break;case m.Z:n=_,o=x}i.VV(S,S,b),i.Fp(w,w,M)}return 0===t&&(S[0]=S[1]=w[0]=w[1]=0),new r.Z(S[0],S[1],w[0]-S[0],w[1]-S[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,h=0,c=0,p=0;p<e;){var d=t[p++],f=1===p;f&&(r=t[p],o=t[p+1],s=r,l=o);var g=-1;switch(d){case m.M:r=s=t[p++],o=l=t[p++];break;case m.L:var y=t[p++],v=t[p++],_=y-r,x=v-o;(C(_)>n||C(x)>i||p===e-1)&&(g=Math.sqrt(_*_+x*x),r=y,o=v);break;case m.C:var S=t[p++],w=t[p++],y=t[p++],v=t[p++],b=t[p++],M=t[p++];g=(0,a.Ci)(r,o,S,w,y,v,b,M,10),r=b,o=M;break;case m.Q:var S=t[p++],w=t[p++],y=t[p++],v=t[p++];g=(0,a.wQ)(r,o,S,w,y,v,10),r=y,o=v;break;case m.A:var A=t[p++],L=t[p++],O=t[p++],R=t[p++],Z=t[p++],N=t[p++],z=N+Z;p+=1,f&&(s=I(Z)*O+A,l=D(Z)*R+L),g=k(O,R)*T(P,Math.abs(N)),r=I(z)*O+A,o=D(z)*R+L;break;case m.R:s=r=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case m.Z:var _=s-r,x=l-o;g=Math.sqrt(_*_+x*x),r=s,o=l}g>=0&&(u[c++]=g,h+=g)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,S=0,w=0,b=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,h=e*this._pathLen))t:for(var M=0;M<y;){var A=d[M++],P=1===M;switch(P&&(r=d[M],o=d[M+1],n=r,i=o),A!==m.L&&b>0&&(t.lineTo(c,p),b=0),A){case m.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case m.L:s=d[M++],l=d[M++];var L=C(s-r),O=C(l-o);if(L>f||O>g){if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;t.lineTo(r*(1-Z)+s*Z,o*(1-Z)+l*Z);break t}S+=R}t.lineTo(s,l),r=s,o=l,b=0}else{var N=L*L+O*O;N>b&&(c=s,p=l,b=N)}break;case m.C:var z=d[M++],E=d[M++],B=d[M++],F=d[M++],H=d[M++],W=d[M++];if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;(0,a.Vz)(r,z,B,H,Z,_),(0,a.Vz)(o,E,F,W,Z,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break t}S+=R}t.bezierCurveTo(z,E,B,F,H,W),r=H,o=W;break;case m.Q:var z=d[M++],E=d[M++],B=d[M++],F=d[M++];if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;(0,a.Lx)(r,z,B,Z,_),(0,a.Lx)(o,E,F,Z,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break t}S+=R}t.quadraticCurveTo(z,E,B,F),r=B,o=F;break;case m.A:var V=d[M++],G=d[M++],U=d[M++],X=d[M++],Y=d[M++],q=d[M++],K=d[M++],j=!d[M++],J=U>X?U:X,Q=C(U-X)>.001,$=Y+q,tt=!1;if(v){var R=u[w++];S+R>h&&($=Y+q*(h-S)/R,tt=!0),S+=R}if(Q&&t.ellipse?t.ellipse(V,G,U,X,K,Y,$,j):t.arc(V,G,J,Y,$,j),tt)break t;P&&(n=I(Y)*U+V,i=D(Y)*X+G),r=I($)*U+V,o=D($)*X+G;break;case m.R:n=r=d[M],i=o=d[M+1],s=d[M++],l=d[M++];var te=d[M++],tn=d[M++];if(v){var R=u[w++];if(S+R>h){var ti=h-S;t.moveTo(s,l),t.lineTo(s+T(ti,te),l),(ti-=te)>0&&t.lineTo(s+te,l+T(ti,tn)),(ti-=tn)>0&&t.lineTo(s+k(te-ti,0),l+tn),(ti-=te)>0&&t.lineTo(s,l+k(tn-ti,0));break t}S+=R}t.rect(s,l,te,tn);break;case m.Z:if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;t.lineTo(r*(1-Z)+n*Z,o*(1-Z)+i*Z);break t}S+=R}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},12430:function(t,e,n){n.d(e,{Z:()=>i});let i=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}()},15365:function(t,e,n){n.d(e,{ZP:()=>d,dN:()=>p});var i=n(85215),r=n(63261),o=i.yR;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=i.Ue(),h=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,r=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-r)*e+r)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.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}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.Ue(),i.dC(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(u[4]=n,u[5]=r,i.dC(l,e,u),l[4]-=n,l[5]-=r,e=l),this.setLocalTransform(e)}},e.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[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.Ne(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){for(var e=this,n=t,i=0;i<p.length;i++){var r=p[i];e[r]=n[r]}},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&i.U1(e,e,u),e[4]+=n+h,e[5]+=r+c,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let d=c},97566:function(t,e,n){n.d(e,{AZ:()=>S,Ci:()=>_,Jz:()=>w,Lx:()=>M,QC:()=>b,Vz:()=>v,Wr:()=>T,X_:()=>f,Zm:()=>x,af:()=>d,kD:()=>g,pP:()=>y,t1:()=>m,wQ:()=>k});var i=n(63261),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.Ue)(),u=(0,i.Ue)(),h=(0,i.Ue)();function c(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(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 f(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function g(t,e,n,i,l,u){var h=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*h*d,y=p*d-9*h*f,v=d*d-3*p*f,m=0;if(c(g)&&c(y))if(c(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}else{var x=y*y-4*g*v;if(c(x)){var S=y/g,_=-p/h+S,w=-S/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var b=o(x),M=g*p+1.5*h*(-y+b),T=g*p+1.5*h*(-y-b),_=(-p-((M=M<0?-r(-M,s):r(M,s))+(T=T<0?-r(-T,s):r(T,s))))/(3*h);_>=0&&_<=1&&(u[m++]=_)}else{var k=Math.acos((2*g*p-3*h*y)/(2*o(g*g*g)))/3,I=o(g),D=Math.cos(k),_=(-p-2*I*D)/(3*h),w=(-p+I*(D+a*Math.sin(k)))/(3*h),C=(-p+I*(D-a*Math.sin(k)))/(3*h);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),C>=0&&C<=1&&(u[m++]=C)}}return m}function y(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(c(s)){if(p(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var d=a*a-4*s*l;if(c(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),h=(-a+f)/(2*s),g=(-a-f)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function v(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 m(t,e,n,r,a,s,c,p,f,g,y){var v,m,_,x,S,w=.005,b=1/0;l[0]=f,l[1]=g;for(var M=0;M<1;M+=.05)u[0]=d(t,n,a,c,M),u[1]=d(e,r,s,p,M),(x=(0,i.WU)(l,u))<b&&(v=M,b=x);b=1/0;for(var T=0;T<32&&!(w<1e-4);T++)m=v-w,_=v+w,u[0]=d(t,n,a,c,m),u[1]=d(e,r,s,p,m),x=(0,i.WU)(u,l),m>=0&&x<b?(v=m,b=x):(h[0]=d(t,n,a,c,_),h[1]=d(e,r,s,p,_),S=(0,i.WU)(h,l),_<=1&&S<b?(v=_,b=S):w*=.5);return y&&(y[0]=d(t,n,a,c,v),y[1]=d(e,r,s,p,v)),o(b)}function _(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 g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-h;c+=Math.sqrt(m*m+_*_),u=y,h=v}return c}function x(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function S(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function w(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(c(a)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var d=s*s-4*a*l;if(c(d)){var h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(d>0){var f=o(d),h=(-s+f)/(2*a),g=(-s-f)/(2*a);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function b(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function M(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 T(t,e,n,r,a,s,c,p,d){var f,g=.005,y=1/0;l[0]=c,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=x(t,n,a,v),u[1]=x(e,r,s,v);var m=(0,i.WU)(l,u);m<y&&(f=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var S=f-g,w=f+g;u[0]=x(t,n,a,S),u[1]=x(e,r,s,S);var m=(0,i.WU)(u,l);if(S>=0&&m<y)f=S,y=m;else{h[0]=x(t,n,a,w),h[1]=x(e,r,s,w);var b=(0,i.WU)(h,l);w<=1&&b<y?(f=w,y=b):g*=.5}}return d&&(d[0]=x(t,n,a,f),d[1]=x(e,r,s,f)),o(y)}function k(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=x(t,n,r,p),f=x(e,i,o,p),g=d-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=d,l=f}return u}},75225:function(t,e,n){n.d(e,{A4:()=>h,F1:()=>f,UK:()=>c,YB:()=>u});var i=n(76226),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][h]}for(var c=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,c,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,i,r){return h(l,e,i,r,!0)&&h(t,n,l[0],l[1])}function h(t,e,n,r,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!c(e)){var l=e[s]||(e[s]={}),u=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),p=2*h,d=c.left,f=c.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,o);if(u)return u(t,n,r),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function f(t){return null==t?"":(t+"").replace(p,function(t,e){return d[e]})}},76226:function(t,e,n){n.d(e,{Z:()=>d});var i,r,o,a,s,l,u,h,c=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},p=new function(){this.browser=new c,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?(p.wxa=!0,p.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?p.worker=!0:!p.hasGlobalWindow||"Deno"in window?(p.node=!0,p.svgSupported=!0):(i=navigator.userAgent,o=(r=p).browser,a=i.match(/Firefox\/([\d.]+)/),s=i.match(/MSIE\s([\d.]+)/)||i.match(/Trident\/.+?rv:(([\d.]+))/),l=i.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(i),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),r.svgSupported="undefined"!=typeof SVGRect,r.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,r.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),r.domSupported="undefined"!=typeof document,h=document.documentElement.style,r.transform3dSupported=(o.ie&&"transition"in h||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in h)&&!("OTransition"in h),r.transformSupported=r.transform3dSupported||o.ie&&+o.version>=9);let d=p},3036:function(t,e,n){n.d(e,{OD:()=>c,Oo:()=>p,eV:()=>l,iP:()=>h,sT:()=>f,xg:()=>d});var i=n(76226),r=n(75225),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&39>+i.Z.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&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):u(t,e,n),n}function u(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.UK)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.A4)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(null!=(e=h(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&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var f=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}},85215:function(t,e,n){function i(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(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 a(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 s(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 l(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 u(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 h(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}n.d(e,{Iu:()=>s,JG:()=>o,U1:()=>l,U_:()=>h,Ue:()=>i,bA:()=>u,dC:()=>a,yR:()=>r})},82379:function(t,e,n){n.d(e,{Uo:()=>a,n5:()=>o,qW:()=>l});var i,r,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var u=/((?:\d+)?\.?\d*)px/.exec(e),h=u&&+u[1]||o,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var p=0;p<t.length;p++){var d=s[t[p]];c+=null==d?h:d*h}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},22137:function(t,e,n){function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?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 o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);0>o(t,e[n+h])?l=h:a=h+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var h=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var h=n[u],c=i[u],p=n[u+1],d=i[u+1];i[u]=c+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,h,c,0,e);h+=f,0!=(c-=f)&&0!==(d=o(t[h+c-1],t,p,d,d-1,e))&&(c<=d?function(n,i,s,u){var h,c,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){h=0,c=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],c++,h=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],h++,c=0,1==--i){p=!0;break}while((h|c)<v);if(p)break;do{if(0!==(h=a(t[g],l,f,i,0,e))){for(d=0;d<h;d++)t[y+d]=l[f+d];if(y+=h,f+=h,(i-=h)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(c=o(l[f],t,g,u,0,e))){for(d=0;d<c;d++)t[y+d]=t[g+d];if(y+=c,g+=c,0==(u-=c)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(h>=7||c>=7);if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(h,c,p,d):function(n,i,s,u){var h=0;for(h=0;h<u;h++)l[h]=t[s+h];var c=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[c--],0==--i){for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h];return}if(1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[c])){if(t[d--]=t[c--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,c-=v,i-=v,g=d+1,f=c+1,h=v-1;h>=0;h--)t[g+h]=t[f+h];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[c],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,h=0;h<m;h++)t[g+h]=l[f+h];if(u<=1){_=!0;break}}if(t[d--]=t[c--],0==--i){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p]}else if(0===u)throw Error();else for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h]}(h,c,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-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]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<c){var p=l;p>c&&(p=c),r(t,n,n+p,n+u,e),u=p}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}n.d(e,{Z:()=>s})},96585:function(t,e,n){n.d(e,{$j:()=>ts,Bu:()=>G,H:()=>v,HD:()=>R,I3:()=>th,Jv:()=>U,Kj:()=>V,Kn:()=>z,M8:()=>y,MY:()=>K,Mh:()=>F,Qq:()=>H,R1:()=>Y,RI:()=>tl,S6:()=>T,TS:()=>function t(e,n,i){if(!z(n)||!z(e))return i?m(n):e;for(var r in n)if(n.hasOwnProperty(r)&&r!==f){var o=e[r],a=n[r];!(z(a)&&z(o))||L(a)||L(o)||F(a)||F(o)||E(a)||E(o)||function(t){return t[Q]}(a)||function(t){return t[Q]}(o)?!i&&r in e||(e[r]=m(n[r])):t(o,a,i)}return e},UI:()=>k,WA:()=>P,WW:()=>to,XP:()=>C,XW:()=>w,ZT:()=>tu,ak:()=>A,cd:()=>Z,ce:()=>x,cq:()=>S,d9:()=>m,dL:()=>W,fU:()=>B,fy:()=>J,hX:()=>D,hj:()=>N,hu:()=>j,jB:()=>b,kJ:()=>L,kW:()=>tr,l7:()=>_,mf:()=>O,nW:()=>ta,pD:()=>X,s7:()=>$,tP:()=>q,u4:()=>I,zG:()=>M});var i=n(82379),r=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,h=s.slice,c=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[Q]){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!t[Q]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!t[Q]&&!F(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=m(t[u]));return e}function _(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function x(t,e,n){for(var i=C(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1}function w(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function b(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else x(t,e,n)}function M(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function T(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function k(t,e,n){if(!t)return[];if(!e)return q(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function I(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function D(t,e,n){if(!t)return[];if(!e)return q(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function C(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}i.qW.createCanvas;var A=d&&O(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function P(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function L(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function O(t){return"function"==typeof t}function R(t){return"string"==typeof t}function Z(t){return"[object String]"===a.call(t)}function N(t){return"number"==typeof t}function z(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function E(t){return!!r[a.call(t)]}function B(t){return!!o[a.call(t)]}function F(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function H(t){return null!=t.colorStops}function W(t){return null!=t.image}function V(t){return"[object RegExp]"===a.call(t)}function G(t){return t!=t}function U(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function X(t,e){return null!=t?t:e}function Y(t,e,n){return null!=t?t:null!=e?e:n}function q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function K(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function j(t,e){if(!t)throw Error(e)}function J(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Q="__ec_primitive__";function $(t){t[Q]=!0}function tt(t){return t[Q]}var te=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return C(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),tn="function"==typeof Map,ti=function(){function t(e){var n=L(e);this.data=tn?new Map:new te;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&T(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return tn?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tr(t){return new ti(t)}function to(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n}function ta(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&_(n,e),n}function ts(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tl(t,e){return t.hasOwnProperty(e)}function tu(){}var th=180/Math.PI},63261:function(t,e,n){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function l(t,e){var n,i=Math.sqrt((n=e)[0]*n[0]+n[1]*n[1]);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function u(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}n.d(e,{Fp:()=>f,Fv:()=>l,IH:()=>o,Ne:()=>p,TE:()=>u,TK:()=>h,Ue:()=>i,VV:()=>d,WU:()=>c,bA:()=>s,d9:()=>r,lu:()=>a});var h=u,c=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function p(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function f(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},90635:function(t,e,n){n.d(e,{ZP:()=>y,ik:()=>h,tj:()=>u});var i=n(12012),r=n(75742),o=n(44964),a=n(96585),s=n(59177),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(n,t),n.prototype._init=function(e){for(var n=(0,a.XP)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},n.prototype.styleUpdated=function(){this.__dirty&=~s.SE},n.prototype.createStyle=function(t){return(0,a.nW)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},n.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var d=(0,a.XP)(h),f=0;f<d.length;f++){var g=d[f];g in l&&(l[g]=l[g],this.style[g]=h[g])}for(var y=(0,a.XP)(l),f=0;f<y.length;f++){var g=y[f];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?p:c,f=0;f<v.length;f++){var g=v[f];n&&null!=n[g]?this[g]=n[g]:u&&null!=i[g]&&(this[g]=i[g])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},n.prototype.getAnimationStyleProps=function(){return h},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.YV|s.SE),n}(r.Z),f=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);let y=d},75872:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},58695:function(t,e,n){n.d(e,{Z:()=>l});var i=n(12012),r=n(96585),o=n(75742),a=n(44964),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.ZT)(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<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(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=r.cq(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;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Z.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.Z);s.prototype.type="group";let l=s},31386:function(t,e,n){n.d(e,{ZP:()=>h});var i=n(12012),r=n(90635),o=n(44964),a=n(96585),s=(0,a.ce)({x:0,y:0},r.tj),l={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.ik.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[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 l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.ZP);u.prototype.type="image";let h=u},71756:function(t,e,n){n.d(e,{Z:()=>r});var i=n(12012);let r=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.ZT)(e,t),e}(n(75872).Z)},50654:function(t,e,n){n.d(e,{$t:()=>w,ZP:()=>T});var i=n(12012),r=n(90635),o=n(36209);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}var s=n(97566),l=2*Math.PI;function u(t){return(t%=l)<0&&(t+=l),t}var h=2*Math.PI;function c(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;(1===a||0===a)&&(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var p=o.Z.CMD,d=2*Math.PI,f=[-1,-1,-1],g=[-1,-1];function y(t,e,n,i,r){for(var o,l,y=t.data,v=t.len(),m=0,_=0,x=0,S=0,w=0,b=0;b<v;){var M,T,k,I,D,C,A,P,L,O,R,Z,N,z,E=y[b++],B=1===b;switch(E===p.M&&b>1&&!n&&(m+=c(_,x,S,w,i,r)),B&&(_=y[b],x=y[b+1],S=_,w=x),E){case p.M:S=y[b++],w=y[b++],_=S,x=w;break;case p.L:if(n){if(a(_,x,y[b],y[b+1],e,i,r))return!0}else m+=c(_,x,y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.C:if(n){if(M=_,T=x,k=y[b++],I=y[b++],D=y[b++],C=y[b++],A=y[b],P=y[b+1],0!==e&&(!(r>T+e)||!(r>I+e)||!(r>C+e)||!(r>P+e))&&(!(r<T-e)||!(r<I-e)||!(r<C-e)||!(r<P-e))&&(!(i>M+e)||!(i>k+e)||!(i>D+e)||!(i>A+e))&&(!(i<M-e)||!(i<k-e)||!(i<D-e)||!(i<A-e))&&s.t1(M,T,k,I,D,C,A,P,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l,u,h){if(h>e&&h>i&&h>o&&h>l||h<e&&h<i&&h<o&&h<l)return 0;var c=s.kD(e,i,o,l,h,f);if(0===c)return 0;for(var p=0,d=-1,y=void 0,v=void 0,m=0;m<c;m++){var _=f[m],x=0===_||1===_?.5:1;s.af(t,n,r,a,_)<u||(d<0&&(d=s.pP(e,i,o,l,g),g[1]<g[0]&&d>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=s.af(e,i,o,l,g[0]),d>1&&(v=s.af(e,i,o,l,g[1]))),2===d?_<g[0]?p+=y<e?x:-x:_<g[1]?p+=v<y?x:-x:p+=l<v?x:-x:_<g[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(_,x,y[b++],y[b++],y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.Q:if(n){if(L=_,O=x,R=y[b++],Z=y[b++],N=y[b],z=y[b+1],0!==e&&(!(r>O+e)||!(r>Z+e)||!(r>z+e))&&(!(r<O-e)||!(r<Z-e)||!(r<z-e))&&(!(i>L+e)||!(i>R+e)||!(i>N+e))&&(!(i<L-e)||!(i<R-e)||!(i<N-e))&&(0,s.Wr)(L,O,R,Z,N,z,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l){if(l>e&&l>i&&l>o||l<e&&l<i&&l<o)return 0;var u=s.Jz(e,i,o,l,f);if(0===u)return 0;var h=s.QC(e,i,o);if(h>=0&&h<=1){for(var c=0,p=s.Zm(e,i,o,h),d=0;d<u;d++){var g=0===f[d]||1===f[d]?.5:1,y=s.Zm(t,n,r,f[d]);y<a||(f[d]<h?c+=p<e?g:-g:c+=o<p?g:-g)}return c}var g=0===f[0]||1===f[0]?.5:1,y=s.Zm(t,n,r,f[0]);return y<a?0:o<e?g:-g}(_,x,y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.A:var F=y[b++],H=y[b++],W=y[b++],V=y[b++],G=y[b++],U=y[b++];b+=1;var X=!!(1-y[b++]);o=Math.cos(G)*W+F,l=Math.sin(G)*V+H,B?(S=o,w=l):m+=c(_,x,o,l,i,r);var Y=(i-F)*V/W+F;if(n){if(function(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(l-=e)*l);if(c-a>n||c+a<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var p=i;i=u(r),r=u(p)}else i=u(i),r=u(r);i>r&&(r+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}(F,H,V,G,G+U,X,e,Y,r))return!0}else m+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);f[0]=-l,f[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=d-1e-4){i=0,r=d;var h=o?1:-1;return a>=f[0]+t&&a<=f[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=d,r+=d);for(var p=0,g=0;g<2;g++){var y=f[g];if(y+t>a){var v=Math.atan2(s,y),h=o?1:-1;v<0&&(v=d+v),(v>=i&&v<=r||v+d>=i&&v+d<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}(F,H,V,G,G+U,X,Y,r);_=Math.cos(G+U)*W+F,x=Math.sin(G+U)*V+H;break;case p.R:S=_=y[b++],w=x=y[b++];var q=y[b++],K=y[b++];if(o=S+q,l=w+K,n){if(a(S,w,o,w,e,i,r)||a(o,w,o,l,e,i,r)||a(o,l,S,l,e,i,r)||a(S,l,S,w,e,i,r))return!0}else m+=c(o,w,o,l,i,r),m+=c(S,l,S,w,i,r);break;case p.Z:if(n){if(a(_,x,S,w,e,i,r))return!0}else m+=c(_,x,S,w,i,r);_=S,x=w}}return n||1e-4>Math.abs(x-w)||(m+=c(_,x,S,w,i,r)||0),0!==m}var v=n(96585),m=n(67375),_=n(8473),x=n(59177),S=n(15365),w=(0,v.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),b={style:(0,v.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},M=S.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(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<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=x.YV}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,v.XP)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,v.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,v.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.HD)(t)){var e=(0,m.L0)(t,0);return e>.5?_.vU:e>.2?_.iv:_.GD}else if(t)return _.GD}return _.vU},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.HD)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,m.L0)(t,0)<_.Ak)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~x.RH},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 o.Z(!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||this.__dirty&x.RH)&&(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)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=x.RH,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:(0,v.l7)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&x.RH)},n.prototype.createStyle=function(t){return(0,v.nW)(w,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,v.l7)({},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=(0,v.l7)({},i.shape),(0,v.l7)(s,n.shape)):(s=(0,v.l7)({},r?this.shape:i.shape),(0,v.l7)(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=(0,v.l7)({},this.shape);for(var u={},h=(0,v.XP)(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return b},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,v.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,v.d9)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=x.YV|x.SE|x.RH),n}(r.ZP)},39183:function(t,e,n){n.d(e,{Z:()=>c});var i=n(12012),r=n(90635),o=n(45258),a=n(50654),s=n(96585),l=n(82379),u=(0,s.ce)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),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.createStyle=function(t){return(0,s.nW)(u,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=(0,o.lP)(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}(r.ZP);h.prototype.type="tspan";let c=h},26991:function(t,e,n){n.d(e,{ZP:()=>Z});var i=n(12012),r=n(25259),o=n(96585),a=n(45258),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i){i=i||{};var r=(0,o.l7)({},i);r.font=e,n=(0,o.pD)(n,"..."),r.maxIterations=(0,o.pD)(i.maxIterations,2);var s=r.minChar=(0,o.pD)(i.minChar,0);r.cnCharWidth=(0,a.dz)("国",e);var l=r.ascCharWidth=(0,a.dz)("a",e);r.placeholder=(0,o.pD)(i.placeholder,"");for(var u=t=Math.max(0,t-1),h=0;h<s&&u>=l;h++)u-=l;var c=(0,a.dz)(n,e);return c>u&&(n="",c=0),u=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=u,r.containerWidth=t,r}function u(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i){t.textLine="",t.isTruncated=!1;return}var s=(0,a.dz)(e,r);if(s<=i){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=o||l>=n.maxIterations){e+=n.ellipsis;break}var u=0===l?function(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}(e,o,n.ascCharWidth,n.cnCharWidth):s>0?Math.floor(e.length*o/s):0;e=e.substr(0,u),s=(0,a.dz)(e,r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}var h=function(){},c=function(t){this.tokens=[],t&&(this.tokens=t)},p=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function d(t,e,n,i,r){var o,s,l=""===e,u=r&&n.rich[r]||{},p=t.lines,d=u.font||n.font,f=!1;if(i){var y=u.padding,v=y?y[1]+y[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,a.GM)(u.width,i.width)+v;p.length>0&&m+i.accumWidth>i.width&&(o=e.split("\n"),f=!0),i.accumWidth=m}else{var _=g(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var x=0;x<o.length;x++){var S=o[x],w=new h;if(w.styleName=r,w.text=S,w.isLineHolder=!S&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[x]:(0,a.dz)(S,d),x||f)p.push(new c([w]));else{var b=(p[p.length-1]||(p[0]=new c)).tokens,M=b.length;1===M&&b[0].isLineHolder?b[0]=w:(S||!M||l)&&b.push(w)}}}var f=(0,o.u4)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function g(t,e,n,i,r){for(var o=[],s=[],l="",u="",h=0,c=0,p=0;p<t.length;p++){var d=t.charAt(p);if("\n"===d){u&&(l+=u,c+=h),o.push(l),s.push(c),l="",u="",h=0,c=0;continue}var g=(0,a.dz)(d,e),y=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!f[t]}(d);if(o.length?c+g>n:r+c+g>n){c?(l||u)&&(y?(l||(l=u,u="",c=h=0),o.push(l),s.push(c-h),u+=d,h+=g,l="",c=h):(u&&(l+=u,u="",h=0),o.push(l),s.push(c),l=d,c=g)):y?(o.push(u),s.push(h),u=d,h=g):(o.push(d),s.push(g));continue}c+=g,y?(u+=d,h+=g):(u&&(l+=u,u="",h=0),l+=d)}return o.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(o.push(l),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var y=n(39183),v=n(31386),m=n(40361),_=n(44964),x=n(90635),S=n(82379),w={fill:"#000"},b={style:(0,o.ce)({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},x.ik.style)},M=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=w,n.attr(e),n}return(0,i.ZT)(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;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,C(t=this.style),(0,o.S6)(t.rich,C),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new _.Z(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||w},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,o.l7)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,o.l7)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return b},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||S.Uo,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,s=e.font,h=(0,a.Dp)(s),c=(0,o.pD)(e.lineHeight,h),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,f=!1,y=e.width,v=(n=null!=y&&("break"===i||"breakAll"===i)?t?g(t,e.font,y,"breakAll"===i,0).lines:[]:t?t.split("\n"):[]).length*c,m=(0,o.pD)(e.height,v);if(v>m&&d){var _=Math.floor(m/c);f=f||n.length>_,n=n.slice(0,_)}if(t&&"truncate"===i&&null!=y)for(var x=l(y,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),S={},w=0;w<n.length;w++)u(S,n[w],x),n[w]=S.textLine,f=f||S.isTruncated;for(var b=m,M=0,w=0;w<n.length;w++)M=Math.max((0,a.dz)(n[w],s),M);null==y&&(y=M);var T=M;return r&&(b+=r[0]+r[2],T+=r[1]+r[3],y+=r[1]+r[3]),p&&(T=y),{lines:n,height:m,outerWidth:T,outerHeight:b,lineHeight:c,calculatedLineHeight:h,contentWidth:M,contentHeight:v,width:y,isTruncated:f}}(O(t),t),r=R(t),s=!!t.backgroundColor,h=i.outerHeight,c=i.outerWidth,p=i.contentWidth,d=i.lines,f=i.lineHeight,v=this._defaultStyle;this.isTruncated=!!i.isTruncated;var m=t.x||0,x=t.y||0,w=t.align||v.align||"left",b=t.verticalAlign||v.verticalAlign||"top",M=m,T=(0,a.mU)(x,i.contentHeight,b);if(r||n){var k=(0,a.M3)(m,c,w),I=(0,a.mU)(x,h,b);r&&this._renderBackground(t,t,k,I,c,h)}T+=f/2,n&&(M=L(m,w,n),"top"===b?T+=n[0]:"bottom"===b&&(T-=n[2]));for(var C=0,Z=!1,N=P("fill"in t?t.fill:(Z=!0,v.fill)),z=A("stroke"in t?t.stroke:s||v.autoStroke&&!Z?null:(C=2,v.stroke)),E=t.textShadowBlur>0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=i.calculatedLineHeight,H=0;H<d.length;H++){var W=this._getOrCreateChild(y.Z),V=W.createStyle();W.useStyle(V),V.text=d[H],V.x=M,V.y=T,w&&(V.textAlign=w),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,E&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=z,V.fill=N,z&&(V.lineWidth=t.lineWidth||C,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,D(V,t),T+=f,B&&W.setBoundingRect(new _.Z((0,a.M3)(V.x,p,V.textAlign),(0,a.mU)(V.y,F,V.textBaseline),p,F))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n,i=new p;if(null!=t&&(t+=""),!t)return i;for(var h=e.width,c=e.height,f=e.overflow,g=("break"===f||"breakAll"===f)&&null!=h?{width:h,accumWidth:0,breakAll:"breakAll"===f}:null,y=s.lastIndex=0;null!=(n=s.exec(t));){var v=n.index;v>y&&d(i,t.substring(y,v),e,g),d(i,n[2],e,g,n[1]),y=s.lastIndex}y<t.length&&d(i,t.substring(y,t.length),e,g);var m=[],_=0,x=0,S=e.padding,w="truncate"===f,b="truncate"===e.lineOverflow,M={};function T(t,e,n){t.width=e,t.lineHeight=n,_+=n,x=Math.max(x,e)}e:for(var k=0;k<i.lines.length;k++){for(var I=i.lines[k],D=0,C=0,A=0;A<I.tokens.length;A++){var P=I.tokens[A],L=P.styleName&&e.rich[P.styleName]||{},O=P.textPadding=L.padding,R=O?O[1]+O[3]:0,Z=P.font=L.font||e.font;P.contentHeight=(0,a.Dp)(Z);var N=(0,o.pD)(L.height,P.contentHeight);if(P.innerHeight=N,O&&(N+=O[0]+O[2]),P.height=N,P.lineHeight=(0,o.R1)(L.lineHeight,e.lineHeight,N),P.align=L&&L.align||e.align,P.verticalAlign=L&&L.verticalAlign||"middle",b&&null!=c&&_+P.lineHeight>c){var z=i.lines.length;A>0?(I.tokens=I.tokens.slice(0,A),T(I,C,D),i.lines=i.lines.slice(0,k+1)):i.lines=i.lines.slice(0,k),i.isTruncated=i.isTruncated||i.lines.length<z;break e}var E=L.width,B=null==E||"auto"===E;if("string"==typeof E&&"%"===E.charAt(E.length-1))P.percentWidth=E,m.push(P),P.contentWidth=(0,a.dz)(P.text,Z);else{if(B){var F=L.backgroundColor,H=F&&F.image;H&&(H=r.ko(H),r.v5(H)&&(P.width=Math.max(P.width,H.width*N/H.height)))}var W=w&&null!=h?h-C:null;null!=W&&W<P.width?!B||W<R?(P.text="",P.width=P.contentWidth=0):(!function(t,e,n,i,r,o){if(!n){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=l(n,i,r,o);for(var s=!1,h={},c=0,p=a.length;c<p;c++)u(h,a[c],o),a[c]=h.textLine,s=s||h.isTruncated;t.text=a.join("\n"),t.isTruncated=s}(M,P.text,W-R,Z,e.ellipsis,{minChar:e.truncateMinChar}),P.text=M.text,i.isTruncated=i.isTruncated||M.isTruncated,P.width=P.contentWidth=(0,a.dz)(P.text,Z)):P.contentWidth=(0,a.dz)(P.text,Z)}P.width+=R,C+=P.width,L&&(D=Math.max(D,P.lineHeight))}T(I,C,D)}i.outerWidth=i.width=(0,o.pD)(h,x),i.outerHeight=i.height=(0,o.pD)(c,_),i.contentHeight=_,i.contentWidth=x,S&&(i.outerWidth+=S[1]+S[3],i.outerHeight+=S[0]+S[2]);for(var k=0;k<m.length;k++){var P=m[k],V=P.percentWidth;P.width=parseInt(V,10)/100*i.width}return i}(O(t),t),n=e.width,i=e.outerWidth,h=e.outerHeight,c=t.padding,f=t.x||0,g=t.y||0,y=this._defaultStyle,v=t.align||y.align,m=t.verticalAlign||y.verticalAlign;this.isTruncated=!!e.isTruncated;var _=(0,a.M3)(f,i,v),x=(0,a.mU)(g,h,m),S=_,w=x;c&&(S+=c[3],w+=c[0]);var b=S+n;R(t)&&this._renderBackground(t,t,_,x,i,h);for(var M=!!t.backgroundColor,T=0;T<e.lines.length;T++){for(var k=e.lines[T],I=k.tokens,D=I.length,C=k.lineHeight,A=k.width,P=0,L=S,Z=b,N=D-1,z=void 0;P<D&&(!(z=I[P]).align||"left"===z.align);)this._placeToken(z,t,C,w,L,"left",M),A-=z.width,L+=z.width,P++;for(;N>=0&&"right"===(z=I[N]).align;)this._placeToken(z,t,C,w,Z,"right",M),A-=z.width,Z-=z.width,N--;for(L+=(n-(L-S)-(b-Z)-A)/2;P<=N;)z=I[P],this._placeToken(z,t,C,w,L+z.width/2,"center",M),L+=z.width,P++;w+=C}},e.prototype._placeToken=function(t,e,n,i,r,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2),!t.isLineHolder&&R(u)&&this._renderBackground(u,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var p=!!u.backgroundColor,d=t.textPadding;d&&(r=L(r,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var f=this._getOrCreateChild(y.Z),g=f.createStyle();f.useStyle(g);var v=this._defaultStyle,m=!1,x=0,w=P("fill"in u?u.fill:"fill"in e?e.fill:(m=!0,v.fill)),b=A("stroke"in u?u.stroke:"stroke"in e?e.stroke:p||l||v.autoStroke&&!m?null:(x=2,v.stroke)),M=u.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,M&&(g.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,g.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||S.Uo,g.opacity=(0,o.R1)(u.opacity,e.opacity,1),D(g,u),b&&(g.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,x),g.lineDash=(0,o.pD)(u.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=b),w&&(g.fill=w);var T=t.contentWidth,k=t.contentHeight;f.setBoundingRect(new _.Z((0,a.M3)(g.x,T,g.textAlign),(0,a.mU)(g.y,k,g.textBaseline),T,k))},e.prototype._renderBackground=function(t,e,n,i,r,a){var 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){(s=this._getOrCreateChild(m.Z)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=i,y.width=r,y.height=a,y.r=f,s.dirtyShape()}if(d){var _=s.style;_.fill=u||null,_.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(p){(l=this._getOrCreateChild(v.ZP)).onload=function(){g.dirtyStyle()};var x=l.style;x.image=u.image,x.x=n,x.y=i,x.width=r,x.height=a}if(h&&c){var _=s.style;_.lineWidth=h,_.stroke=c,_.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var S=(s||l).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,i="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(i=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?S.n5+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),i&&(0,o.fy)(i)||t.textFont||t.font},e}(x.ZP),T={left:!0,right:1,center:1},k={top:1,bottom:1,middle:1},I=["fontStyle","fontWeight","fontSize","fontFamily"];function D(t,e){for(var n=0;n<I.length;n++){var i=I[n],r=e[i];null!=r&&(t[i]=r)}}function C(t){if(t){t.font=M.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||T[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||k[n]?n:"top",t.padding&&(t.padding=(0,o.MY)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function O(t){var e=t.text;return null!=e&&(e+=""),e}function R(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let Z=M},59177:function(t,e,n){n.d(e,{RH:()=>o,SE:()=>r,YV:()=>i});var i=1,r=2,o=4},25259:function(t,e,n){n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>u});var i=n(45671),r=n(82379),o=new i.ZP(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,i,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?u(e=s.image)||s.pending.push(h):((e=r.qW.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},37763:function(t,e,n){n.d(e,{Pw:()=>o,_3:()=>r,vu:()=>a});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(r+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}},52902:function(t,e,n){n.d(e,{Z:()=>s});var i=n(12012),r=n(50654),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc";let s=a},26768:function(t,e,n){n.d(e,{Z:()=>s});var i=n(12012),r=n(50654),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle";let s=a},16504:function(t,e,n){n.d(e,{Z:()=>u});var i=n(12012),r=n(50654),o=n(37763),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o._3)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.ZP);l.prototype.type="line";let u=l},40361:function(t,e,n){n.d(e,{Z:()=>u});var i=n(12012),r=n(50654),o=n(37763),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,h,c,p,d,f,g,y,v,m,_=(0,o.Pw)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(h=(n=e).x,c=n.y,p=n.width,d=n.height,f=n.r,p<0&&(h+=p,p=-p),d<0&&(c+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(h+i,c),t.lineTo(h+p-r,c),0!==r&&t.arc(h+p-r,c+r,r,-Math.PI/2,0),t.lineTo(h+p,c+d-a),0!==a&&t.arc(h+p-a,c+d-a,a,0,Math.PI/2),t.lineTo(h+l,c+d),0!==l&&t.arc(h+l,c+d-l,l,Math.PI/2,Math.PI),t.lineTo(h,c+i),0!==i&&t.arc(h+i,c+i,i,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);l.prototype.type="rect";let u=l},98289:function(t,e,n){n.d(e,{C:()=>_});var i=n(12012),r=n(50654),o=n(96585),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),h=u*l,c=-u*s,p=t+h,g=e+c,y=n+h,v=i+c,m=(p+y)/2,_=(g+v)/2,x=y-p,S=v-g,w=x*x+S*S,b=r-o,M=p*v-y*g,T=(S<0?-1:1)*d(f(0,b*b*w-M*M)),k=(M*S-x*T)/w,I=(-M*x-S*T)/w,D=(M*S+x*T)/w,C=(-M*x+S*T)/w,A=k-m,P=I-_,L=D-m,O=C-_;return A*A+P*P>L*L+O*O&&(k=D,I=C),{cx:k,cy:I,x0:-h,y0:-c,x1:k*(r/b-1),y1:I*(r/b-1)}}var v=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},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,S=e.endAngle;if(!(isNaN(x)||isNaN(S))){var w=e.cx,b=e.cy,M=!!e.clockwise,T=p(S-x),k=T>s&&T%s;if(k>1e-4&&(T=k),i>1e-4)if(T>s-1e-4)t.moveTo(w+i*u(x),b+i*l(x)),t.arc(w,b,i,x,S,!M),r>1e-4&&(t.moveTo(w+r*u(S),b+r*l(S)),t.arc(w,b,r,S,x,M));else{var I=void 0,D=void 0,C=void 0,A=void 0,P=void 0,L=void 0,O=void 0,R=void 0,Z=void 0,N=void 0,z=void 0,E=void 0,B=void 0,F=void 0,H=void 0,W=void 0,V=i*u(x),G=i*l(x),U=r*u(S),X=r*l(S),Y=T>1e-4;if(Y){var q=e.cornerRadius;q&&(I=(n=function(t){var e;if((0,o.kJ)(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}(q))[0],D=n[1],C=n[2],A=n[3]);var K=p(i-r)/2;if(P=g(K,C),L=g(K,A),O=g(K,I),R=g(K,D),z=Z=f(P,L),E=N=f(O,R),(Z>1e-4||N>1e-4)&&(B=i*u(S),F=i*l(S),H=r*u(x),W=r*l(x),T<a)){var j=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<1e-4))return p=(h*(e-o)-c*(t-r))/p,[t+p*l,e+p*u]}(V,G,H,W,B,F,U,X);if(j){var J=V-j[0],Q=G-j[1],$=B-j[0],tt=F-j[1],te=1/l(h((J*$+Q*tt)/(d(J*J+Q*Q)*d($*$+tt*tt)))/2),tn=d(j[0]*j[0]+j[1]*j[1]);z=g(Z,(i-tn)/(te+1)),E=g(N,(r-tn)/(te-1))}}}if(Y)if(z>1e-4){var ti=g(C,z),tr=g(A,z),to=y(H,W,V,G,i,ti,M),ta=y(B,F,U,X,i,tr,M);t.moveTo(w+to.cx+to.x0,b+to.cy+to.y0),z<Z&&ti===tr?t.arc(w+to.cx,b+to.cy,z,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(ti>0&&t.arc(w+to.cx,b+to.cy,ti,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,i,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!M),tr>0&&t.arc(w+ta.cx,b+ta.cy,tr,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.moveTo(w+V,b+G),t.arc(w,b,i,x,S,!M);else t.moveTo(w+V,b+G);if(r>1e-4&&Y)if(E>1e-4){var ti=g(I,E),tr=g(D,E),to=y(U,X,B,F,r,-tr,M),ta=y(V,G,H,W,r,-ti,M);t.lineTo(w+to.cx+to.x0,b+to.cy+to.y0),E<N&&ti===tr?t.arc(w+to.cx,b+to.cy,E,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tr>0&&t.arc(w+to.cx,b+to.cy,tr,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,r,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),M),ti>0&&t.arc(w+ta.cx,b+ta.cy,ti,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.lineTo(w+U,b+X),t.arc(w,b,r,S,x,M);else t.lineTo(w+U,b+X)}else t.moveTo(w,b);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.ZP);m.prototype.type="sector";let _=m},67375:function(t,e,n){n.d(e,{L0:()=>S,Pz:()=>x,Qc:()=>y,fD:()=>b,t7:()=>_});var i=n(45671),r=n(96585),o={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 a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function h(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 c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.ZP(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);return a>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);return a>=0&&a<=0xffffff?(c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1)}return}var s=i.indexOf("("),h=i.indexOf(")");if(-1!==s&&h+1===r){var f=i.substr(0,s),y=i.substr(s+1,h-(s+1)).split(","),m=1;switch(f){case"rgba":if(4!==y.length)return 3===y.length?c(e,+y[0],+y[1],+y[2],1):c(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return c(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void c(e,0,0,0,1);case"hsla":if(4!==y.length)return void c(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void c(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}c(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return c(e=e||[],a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return x(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=y(e[h]),d=y(e[c]),f=u-h,g=x([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:h,rightIndex:c,value:u}:g}}function x(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 S(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var w=new i.ZP(100);function b(t){if((0,r.HD)(t)){var e=w.get(t);return e||(e=m(t,-.1),w.put(t,e)),e}if((0,r.Qq)(t)){var n=(0,r.l7)({},t);return n.colorStops=(0,r.UI)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t}},44262:function(t,e,n){n.d(e,{Qq:()=>to,S1:()=>ti,wm:()=>tr});var i,r,o,a=n(76226),s=n(96585),l=n(12012),u=n(63261),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},c=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=n(46606),d=n(3036),f=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;o<a;o++){var s=i[o],l=d.eV(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in y)if(y.hasOwnProperty(e)){var n=y[e](this._track,t);if(n)return n}},t}();function g(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var y={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=g(i)/g(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n(44964),m="silent";function _(){d.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.Z),S=function(t,e){this.x=t,this.y=e},w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],b=new v.Z(0,0,0,0),M=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new S(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new x,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new c(a),a}return(0,l.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s.S6(w,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=k(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 S(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 S(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,o="on"+e,a={type:e,event:n,target:(r=t).target,topTarget:r.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:_};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new S(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new v.Z(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||(b.copy(h.getBoundingRect()),h.transform&&b.applyTransform(h.transform),b.intersect(l)&&o.push(h))}if(o.length){for(var c=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=c)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new S;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(p.Z);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0),i=i.__hostTarget||i.parent}return!r||m}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==m)){e.target=a;break}}}function k(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}s.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=k(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||u.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var I=n(22137),D=n(59177),C=!1;function A(){C||(C=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,I.Z)(n,P)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=D.YV),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(A(),t.z=0),isNaN(t.z2)&&(A(),t.z2=0),isNaN(t.zlevel)&&(A(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,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<n;e++)this.delRoot(t[e]);return}var i=s.cq(this._roots,t);i>=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}(),O=n(98279),R=n(49582);function Z(){return new Date().getTime()}var N=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,n.stage=(e=e||{}).stage||{},n}return(0,l.ZT)(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=Z()-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}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,O.Z)(function e(){t._running&&((0,O.Z)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=Z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Z()-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 R.Z(t,e.loop);return this.addAnimator(n),n},e}(p.Z),z=a.Z.domSupported,E=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=s.UI(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),B={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},F=!1;function H(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(t){t&&(t.zrByTouch=!0)}function V(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 G=function(t,e){this.stopPropagation=s.ZT,this.stopImmediatePropagation=s.ZT,this.preventDefault=s.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},U={mousedown:function(t){t=(0,d.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.OD)(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=(0,d.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){V(this,(t=(0,d.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){F=!0,t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){F||(t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,d.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),U.mousemove.call(this,t),U.mousedown.call(this,t)},touchmove:function(t){W(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"change"),U.mousemove.call(this,t)},touchend:function(t){W(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"end"),U.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&U.click.call(this,t)},pointerdown:function(t){U.mousedown.call(this,t)},pointermove:function(t){H(t)||U.mousemove.call(this,t)},pointerup:function(t){U.mouseup.call(this,t)},pointerout:function(t){H(t)||U.mouseout.call(this,t)}};s.S6(["click","dblclick","contextmenu"],function(t){U[t]=function(e){e=(0,d.OD)(this.dom,e),this.trigger(t,e)}});var X={pointermove:function(t){H(t)||X.mousemove.call(this,t)},pointerup:function(t){X.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 Y(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,d.Oo)(t.domTarget,e,n,i)}function q(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,d.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},j=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new K(e,U),z&&(o._globalHandlerScope=new K(document,X)),r=(i=o._localHandlerScope).domHandlers,a.Z.pointerEventsSupported?s.S6(E.pointer,function(t){Y(i,t,function(e){r[t].call(o,e)})}):(a.Z.touchEventsSupported&&s.S6(E.touch,function(t){Y(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),s.S6(E.mouse,function(t){Y(i,t,function(e){e=(0,d.iP)(e),i.touching||r[t].call(o,e)})})),o}return(0,l.ZT)(e,t),e.prototype.dispose=function(){q(this._localHandlerScope),z&&q(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,z&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){a.Z.pointerEventsSupported?s.S6(B.pointer,n):a.Z.touchEventsSupported||s.S6(B.mouse,n);function n(n){Y(e,n,function(i){if(!V(t,(i=(0,d.iP)(i)).target)){var r;r=i,i=(0,d.OD)(t.dom,new G(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):q(e)}},e}(p.Z),J=n(67375),Q=n(8473),$=n(58695),tt={},te={},tn=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new L,l=n.renderer||"canvas";tt[l]||(l=s.XP(tt)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tt[l](e,o,n,t),h=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var c=a.Z.node||a.Z.worker||h?null:new j(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?a.Z.touchEventsSupported:!!p)&&(i=s.pD(n.pointerSize,44)),this.handler=new M(o,u,c,u.root,i),this.animation=new N({stage:{update:h?null:function(){return r._flush(!0)}}}),h||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,J.L0)(t,1)<Q.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,J.L0)(e[r].color,1);return(n/=i)<Q.Ak}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=Z();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Z();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(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;e<t.length;e++)t[e]instanceof $.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;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=!0,t=this.id,delete te[t]}},t}();function ti(t,e){var n=new tn(s.M8(),t,e);return te[n.id]=n,n}function tr(t,e){tt[t]=e}function to(t){}}}]);
\ No newline at end of file
+/*! For license information please see 156.4ccaa390.js.LICENSE.txt */
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["156"],{12012:function(t,e,n){n.d(e,{ZT:()=>r});var i=function(t,e){return(i=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])})(t,e)};function r(t,e){if("function"!=typeof e&&null!==e)throw TypeError("Class extends value "+String(e)+" is not a constructor or null");function n(){this.constructor=t}i(t,e),t.prototype=null===e?Object.create(e):(n.prototype=e.prototype,new n)}},17987:function(t,e,n){n.d(e,{E:()=>o});var i=n(87499),r=n(5969);function o(t,e,n){let o=(0,r.Q)(t,n?.in);return isNaN(e)?(0,i.L)(n?.in||t,NaN):(e&&o.setDate(o.getDate()+e),o)}},17524:function(t,e,n){n.d(e,{D:()=>a,KZ:()=>s,XD:()=>c,Zi:()=>p,bX:()=>u,eq:()=>l});var i=n(96585),r=(0,n(46451).Yf)();function o(t,e,n,r,o,a,s){var l,u=!1;(0,i.mf)(o)?(s=a,a=o,o=null):(0,i.Kn)(o)&&(a=o.cb,s=o.during,u=o.isFrom,l=o.removeOpt,o=o.dataIndex);var h="leave"===t;h||e.stopAnimation("leave");var c=function(t,e,n,r,o){if(e&&e.ecModel){var a,s=e.ecModel.getUpdatePayload();a=s&&s.animation}var l=e&&e.isAnimationEnabled(),u="update"===t;if(!l)return null;var h=void 0,c=void 0,p=void 0;return r?(h=(0,i.pD)(r.duration,200),c=(0,i.pD)(r.easing,"cubicOut"),p=0):(h=e.getShallow(u?"animationDurationUpdate":"animationDuration"),c=e.getShallow(u?"animationEasingUpdate":"animationEasing"),p=e.getShallow(u?"animationDelayUpdate":"animationDelay")),a&&(null!=a.duration&&(h=a.duration),null!=a.easing&&(c=a.easing),null!=a.delay&&(p=a.delay)),(0,i.mf)(p)&&(p=p(n,o)),(0,i.mf)(h)&&(h=h(n)),{duration:h||0,delay:p,easing:c}}(t,r,o,h?l||{}:null,r&&r.getAnimationDelayParams?r.getAnimationDelayParams(e,o):null);if(c&&c.duration>0){var p={duration:c.duration,delay:c.delay||0,easing:c.easing,done:a,force:!!a||!!s,setToFinal:!h,scope:t,during:s};u?e.animateFrom(n,p):e.animateTo(n,p)}else e.stopAnimation(),u||e.attr(n),s&&s(1),a&&a()}function a(t,e,n,i,r,a){o("update",t,e,n,i,r,a)}function s(t,e,n,i,r,a){o("enter",t,e,n,i,r,a)}function l(t){if(!t.__zr)return!0;for(var e=0;e<t.animators.length;e++)if("leave"===t.animators[e].scope)return!0;return!1}function u(t,e,n,i,r,a){l(t)||o("leave",t,e,n,i,r,a)}function h(t,e,n,i){t.removeTextContent(),t.removeTextGuideLine(),u(t,{style:{opacity:0}},e,n,i)}function c(t,e,n){function i(){t.parent&&t.parent.remove(t)}t.isGroup?t.traverse(function(t){t.isGroup||h(t,e,n,i)}):h(t,e,n,i)}function p(t){r(t).oldStyle=t.style}},68449:function(t,e,n){n.d(e,{N:()=>K});var i=n(96585),r=n(12105),o=n(24488),a=n(12012),s=n(69331),l=n(21328),u=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,a.ZT)(e,t),e.prototype.getInitialData=function(t,e){return(0,l.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getMarkerPosition=function(t,e,n){var r=this.coordinateSystem;if(r&&r.clampData){var o=r.clampData(t),a=r.dataToPoint(o);if(n)(0,i.S6)(r.getAxes(),function(t,n){if("category"===t.type&&null!=e){var i=t.getTicksCoords(),r=t.getTickModel().get("alignWithLabel"),s=o[n],l="x1"===e[n]||"y1"===e[n];if(l&&!r&&(s+=1),!(i.length<2)){if(2===i.length){a[n]=t.toGlobalCoord(t.getExtent()[+!!l]);return}for(var u=void 0,h=void 0,c=1,p=0;p<i.length;p++){var d=i[p].coord,f=p===i.length-1?i[p-1].tickValue+c:i[p].tickValue;if(f===s){h=d;break}if(f<s)u=d;else if(null!=u&&f>s){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),a[n]=t.toGlobalCoord(h)}}});else{var s=this.getData(),l=s.getLayout("offset"),u=s.getLayout("size"),h=+!r.getBaseAxis().isHorizontal();a[h]+=l+u/2}return a}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}(s.Z);s.Z.registerClass(u);var h=n(95202),c=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,a.ZT)(e,t),e.prototype.getInitialData=function(){return(0,l.Z)(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=(0,h.ZL)(u.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}(u),p=n(50654),d=n(19171),f=n(19044),g=n(17524),y=n(40361),v=n(98289),m=n(55413),_=n(63344),x=n(77704),S=n(59524),w=n(92741),b=function(){this.cx=0,this.cy=0,this.r0=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},M=function(t){function e(e){var n=t.call(this,e)||this;return n.type="sausage",n}return(0,a.ZT)(e,t),e.prototype.getDefaultShape=function(){return new b},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=(o-r)*.5,s=r+a,l=e.startAngle,u=e.endAngle,h=e.clockwise,c=2*Math.PI,p=h?u-l<c:l-u<c;p||(l=u-(h?c:-c));var d=Math.cos(l),f=Math.sin(l),g=Math.cos(u),y=Math.sin(u);p?(t.moveTo(d*r+n,f*r+i),t.arc(d*s+n,f*s+i,a,-Math.PI+l,l,!h)):t.moveTo(d*o+n,f*o+i),t.arc(n,i,o,l,u,!h),t.arc(g*s+n,y*s+i,a,u-2*Math.PI,u-Math.PI,!h),0!==r&&t.arc(n,i,r,u,l,h)},e}(p.ZP),T=n(47389),k=n(63248),I=n(8169),D=n(45258);function C(t,e,n){return e*Math.sin(t)*(n?-1:1)}function A(t,e,n){return e*Math.cos(t)*(n?1:-1)}var P=Math.max,L=Math.min,O=function(t){function e(){var n=t.call(this)||this;return n.type=e.type,n._isFirstFrame=!0,n}return(0,a.ZT)(e,t),e.prototype.render=function(t,e,n,i){this._model=t,this._removeOnRenderedListener(n),this._updateDrawMode(t);var r=t.get("coordinateSystem");("cartesian2d"===r||"polar"===r)&&(this._progressiveEls=null,this._isLargeDraw?this._renderLarge(t,e,n):this._renderNormal(t,e,n,i))},e.prototype.incrementalPrepareRender=function(t){this._clear(),this._updateDrawMode(t),this._updateLargeClip(t)},e.prototype.incrementalRender=function(t,e){this._progressiveEls=[],this._incrementalRenderLarge(t,e)},e.prototype.eachRendered=function(t){(0,f.traverseElements)(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,e,n,i){var r,o=this.group,a=t.getData(),s=this._data,l=t.coordinateSystem,u=l.getBaseAxis();"cartesian2d"===l.type?r=u.isHorizontal():"polar"===l.type&&(r="angle"===u.dim);var h=t.isAnimationEnabled()?t:null,c=function(t,e){var n=t.get("realtimeSort",!0),i=e.getBaseAxis();if(n&&"category"===i.type&&"cartesian2d"===e.type)return{baseAxis:i,otherAxis:e.getOtherAxis(i)}}(t,l);c&&this._enableRealtimeSort(c,a,n);var p=t.get("clip",!0)||c,f=function(t,e){var n=t.getArea&&t.getArea();if((0,k.H)(t,"cartesian2d")){var i=t.getBaseAxis();if("category"!==i.type||!i.onBand){var r=e.getLayout("bandWidth");i.isHorizontal()?(n.x-=r,n.width+=2*r):(n.y-=r,n.height+=2*r)}}return n}(l,a);o.removeClipPath();var m=t.get("roundCap",!0),_=t.get("showBackground",!0),S=t.getModel("backgroundStyle"),w=S.get("borderRadius")||0,b=[],M=this._backgroundEls,T=i&&i.isInitSort,I=i&&"changeAxisOrder"===i.type;function D(t){var e,n,i,o=H[l.type](a,t),s=(e=l,n=r,i=o,new("polar"===e.type?v.C:y.Z)({shape:q(n,i,e),silent:!0,z2:0}));return s.useStyle(S.getItemStyle()),"cartesian2d"===l.type?s.setShape("r",w):s.setShape("cornerRadius",w),b[t]=s,s}a.diff(s).add(function(e){var n=a.getItemModel(e),i=H[l.type](a,e,n);if(_&&D(e),a.hasValue(e)&&F[l.type](i)){var s=!1;p&&(s=R[l.type](f,i));var d=Z[l.type](t,a,e,i,r,h,u.model,!1,m);c&&(d.forceLabelAnimation=!0),V(d,a,e,n,i,t,r,"polar"===l.type),T?d.attr({shape:i}):c?N(c,h,d,i,e,r,!1,!1):(0,g.KZ)(d,{shape:i},t,e),a.setItemGraphicEl(e,d),o.add(d),d.ignore=s}}).update(function(e,n){var i=a.getItemModel(e),d=H[l.type](a,e,i);if(_){var y=void 0;0===M.length?y=D(n):((y=M[n]).useStyle(S.getItemStyle()),"cartesian2d"===l.type?y.setShape("r",w):y.setShape("cornerRadius",w),b[e]=y);var v=H[l.type](a,e),k=q(r,v,l);(0,g.D)(y,{shape:k},h,e)}var C=s.getItemGraphicEl(n);if(!a.hasValue(e)||!F[l.type](d))return void o.remove(C);var A=!1;if(p&&(A=R[l.type](f,d))&&o.remove(C),C?(0,g.Zi)(C):C=Z[l.type](t,a,e,d,r,h,u.model,!!C,m),c&&(C.forceLabelAnimation=!0),I){var P=C.getTextContent();if(P){var L=(0,x.qA)(P);null!=L.prevValue&&(L.prevValue=L.value)}}else V(C,a,e,i,d,t,r,"polar"===l.type);T?C.attr({shape:d}):c?N(c,h,C,d,e,r,!0,I):(0,g.D)(C,{shape:d},t,e,null),a.setItemGraphicEl(e,C),C.ignore=A,o.add(C)}).remove(function(e){var n=s.getItemGraphicEl(e);n&&(0,g.XD)(n,t,e)}).execute();var C=this._backgroundGroup||(this._backgroundGroup=new d.Z);C.removeAll();for(var A=0;A<b.length;++A)C.add(b[A]);o.add(C),this._backgroundEls=b,this._data=a},e.prototype._renderLarge=function(t,e,n){this._clear(),X(t,this.group),this._updateLargeClip(t)},e.prototype._incrementalRenderLarge=function(t,e){this._removeBackground(),X(e,this.group,this._progressiveEls,!0)},e.prototype._updateLargeClip=function(t){var e=t.get("clip",!0)&&(0,w.lQ)(t.coordinateSystem,!1,t),n=this.group;e?n.setClipPath(e):n.removeClipPath()},e.prototype._enableRealtimeSort=function(t,e,n){var i=this;if(e.count()){var r=t.baseAxis;if(this._isFirstFrame)this._dispatchInitSort(e,t,n),this._isFirstFrame=!1;else{var o=function(t){var n=e.getItemGraphicEl(t),i=n&&n.shape;return i&&Math.abs(r.isHorizontal()?i.height:i.width)||0};this._onRendered=function(){i._updateSortWithinSameData(e,o,r,n)},n.getZr().on("rendered",this._onRendered)}}},e.prototype._dataSort=function(t,e,n){var r=[];return t.each(t.mapDimension(e.dim),function(t,e){var i=n(e);i=null==i?NaN:i,r.push({dataIndex:e,mappedValue:i,ordinalNumber:t})}),r.sort(function(t,e){return e.mappedValue-t.mappedValue}),{ordinalNumbers:(0,i.UI)(r,function(t){return t.ordinalNumber})}},e.prototype._isOrderChangedWithinSameData=function(t,e,n){for(var i=n.scale,r=t.mapDimension(n.dim),o=Number.MAX_VALUE,a=0,s=i.getOrdinalMeta().categories.length;a<s;++a){var l=t.rawIndexOf(r,i.getRawOrdinalNumber(a)),u=l<0?Number.MIN_VALUE:e(t.indexOfRawIndex(l));if(u>o)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){(0,g.XD)(e,t,(0,m.A)(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}(T.Z),R={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=P(e.x,t.x),s=L(e.x+e.width,r),l=P(e.y,t.y),u=L(e.y+e.height,o),h=s<a,c=u<l;return e.x=h&&a>r?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=L(e.r,t.r),o=P(e.r0,t.r0);e.r=r,e.r0=o;var a=r-o<0;if(n<0){var i=e.r;e.r=e.r0,e.r0=i}return a}},Z={cartesian2d:function(t,e,n,r,o,a,s,l,u){var h=new y.Z({shape:(0,i.l7)({},r),z2:1});return h.__dataIndex=n,h.name="item",a&&(h.shape[o?"height":"width"]=0),h},polar:function(t,e,n,i,r,o,a,s,l){var u,h,c,p=!r&&l?M:v.C,d=new p({shape:i,z2:1});if(d.name="item",u=W(r),c=p===M,d.calculateTextPosition=function(t,e,n){var i=e.position;if(!i||i instanceof Array)return(0,D.wI)(t,e,n);var r=u(i),o=null!=e.distance?e.distance:5,a=this.shape,s=a.cx,l=a.cy,h=a.r,p=a.r0,d=(h+p)/2,f=a.startAngle,g=a.endAngle,y=(f+g)/2,v=c?Math.abs(h-p)/2:0,m=Math.cos,_=Math.sin,x=s+h*m(f),S=l+h*_(f),w="left",b="top";switch(r){case"startArc":x=s+(p-o)*m(y),S=l+(p-o)*_(y),w="center",b="top";break;case"insideStartArc":x=s+(p+o)*m(y),S=l+(p+o)*_(y),w="center",b="bottom";break;case"startAngle":x=s+d*m(f)+C(f,o+v,!1),S=l+d*_(f)+A(f,o+v,!1),w="right",b="middle";break;case"insideStartAngle":x=s+d*m(f)+C(f,-o+v,!1),S=l+d*_(f)+A(f,-o+v,!1),w="left",b="middle";break;case"middle":x=s+d*m(y),S=l+d*_(y),w="center",b="middle";break;case"endArc":x=s+(h+o)*m(y),S=l+(h+o)*_(y),w="center",b="bottom";break;case"insideEndArc":x=s+(h-o)*m(y),S=l+(h-o)*_(y),w="center",b="top";break;case"endAngle":x=s+d*m(g)+C(g,o+v,!0),S=l+d*_(g)+A(g,o+v,!0),w="left",b="middle";break;case"insideEndAngle":x=s+d*m(g)+C(g,-o+v,!0),S=l+d*_(g)+A(g,-o+v,!0),w="right",b="middle";break;default:return(0,D.wI)(t,e,n)}return(t=t||{}).x=x,t.y=S,t.align=w,t.verticalAlign=b,t},o){var f=d.shape,y=r?"r":"endAngle",m={};f[y]=r?i.r0:i.startAngle,m[y]=i[y],(s?g.D:g.KZ)(d,{shape:m},o)}return d}};function N(t,e,n,i,r,o,a,s){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?g.D:g.KZ)(n,{shape:l},e,r,null);var l,u,h=e?t.baseAxis.model:null;(a?g.D:g.KZ)(n,{shape:u},h,r)}function z(t,e){for(var n=0;n<e.length;n++)if(!isFinite(t[e[n]]))return!0;return!1}var E=["x","y","width","height"],B=["cx","cy","r","startAngle","endAngle"],F={cartesian2d:function(t){return!z(t,E)},polar:function(t){return!z(t,B)}},H={cartesian2d:function(t,e,n){var i,r,o,a=t.getItemLayout(e),s=n?(i=n,r=a,(o=i.get(["itemStyle","borderColor"]))&&"none"!==o?Math.min(i.get(["itemStyle","borderWidth"])||0,isNaN(r.width)?Number.MAX_VALUE:Math.abs(r.width),isNaN(r.height)?Number.MAX_VALUE:Math.abs(r.height)):0):0,l=a.width>0?1:-1,u=a.height>0?1:-1;return{x:a.x+l*s/2,y:a.y+u*s/2,width:a.width-l*s,height:a.height-u*s}},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 W(t){var e;return e=t?"Arc":"Angle",function(t){switch(t){case"start":case"insideStart":case"end":case"insideEnd":return t+e;default:return t}}}function V(t,e,n,r,o,a,s,l){var u=e.getItemVisual(n,"style");if(l){if(!a.get("roundCap")){var h=t.shape,c=function(t,e,n){var r=t.get("borderRadius");if(null==r)return n?{cornerRadius:0}:null;(0,i.kJ)(r)||(r=[r,r,r,r]);var o=Math.abs(e.r||0-e.r0||0);return{cornerRadius:(0,i.UI)(r,function(t){return(0,D.GM)(t,o)})}}(r.getModel("itemStyle"),h,!0);(0,i.l7)(h,c),t.setShape(h)}}else{var p=r.get(["itemStyle","borderRadius"])||0;t.setShape("r",p)}t.useStyle(u);var d=r.getShallow("cursor");d&&t.attr("cursor",d);var f=l?s?o.r>=o.r0?"endArc":"startArc":o.endAngle>=o.startAngle?"endAngle":"startAngle":s?o.height>=0?"bottom":"top":o.width>=0?"right":"left",g=(0,x.k3)(r);(0,x.ni)(t,g,{labelFetcher:a,labelDataIndex:n,defaultText:(0,I.H)(a.getData(),n),inheritColor:u.fill,defaultOpacity:u.opacity,defaultOutsidePosition:f});var y=t.getTextContent();if(l&&y){var v=r.get(["label","position"]);t.textConfig.inside="middle"===v||null,function(t,e,n,r){if((0,i.hj)(r))return t.setTextConfig({rotation:r});if((0,i.kJ)(e))return t.setTextConfig({rotation:0});var o,a=t.shape,s=a.clockwise?a.startAngle:a.endAngle,l=a.clockwise?a.endAngle:a.startAngle,u=n(e);switch(u){case"startArc":case"insideStartArc":case"middle":case"insideEndArc":case"endArc":o=(s+l)/2;break;case"startAngle":case"insideStartAngle":o=s;break;case"endAngle":case"insideEndAngle":o=l;break;default:t.setTextConfig({rotation:0});return}var h=1.5*Math.PI-o;"middle"===u&&h>Math.PI/2&&h<1.5*Math.PI&&(h-=Math.PI),t.setTextConfig({rotation:h})}(t,"outside"===v?f:v,W(s),r.get(["label","rotate"]))}(0,x.pe)(y,g,a.getRawValue(n),function(t){return(0,I.O)(e,t)});var m=r.getModel(["emphasis"]);(0,_.k5)(t,m.get("focus"),m.get("blurScope"),m.get("disabled")),(0,_.WO)(t,r),null!=o.startAngle&&null!=o.endAngle&&o.startAngle===o.endAngle&&(t.style.fill="none",t.style.stroke="none",(0,i.S6)(t.states,function(t){t.style&&(t.style.fill=t.style.stroke="none")}))}var G=function(){},U=function(t){function e(e){var n=t.call(this,e)||this;return n.type="largeBar",n}return(0,a.ZT)(e,t),e.prototype.getDefaultShape=function(){return new G},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<n.length;l+=3)a[i]=s,a[r]=n[l+2],o[i]=n[l+i],o[r]=n[l+r],t.rect(o[0],o[1],a[0],a[1])},e}(p.ZP);function X(t,e,n,i){var r=t.getData(),o=+!!r.getLayout("valueAxisHorizontal"),a=r.getLayout("largeDataIndices"),s=r.getLayout("size"),l=t.getModel("backgroundStyle"),u=r.getLayout("largeBackgroundPoints");if(u){var h=new U({shape:{points:u},incremental:!!i,silent:!0,z2:0});h.baseDimIdx=o,h.largeDataIndices=a,h.barWidth=s,h.useStyle(l.getItemStyle()),e.add(h),n&&n.push(h)}var c=new U({shape:{points:r.getLayout("largePoints")},incremental:!!i,ignoreCoarsePointer:!0,z2:1});c.baseDimIdx=o,c.largeDataIndices=a,c.barWidth=s,e.add(c),c.useStyle(r.getVisual("style")),c.style.stroke=null,(0,m.A)(c).seriesIndex=t.seriesIndex,t.get("silent")||(c.on("mousedown",Y),c.on("mousemove",Y)),n&&n.push(c)}var Y=(0,S.P2)(function(t){var e=function(t,e,n){for(var i=t.baseDimIdx,r=1-i,o=t.shape.points,a=t.largeDataIndices,s=[],l=[],u=t.barWidth,h=0,c=o.length/3;h<c;h++){var p=3*h;if(l[i]=u,l[r]=o[p+2],s[i]=o[p+i],s[r]=o[p+r],l[r]<0&&(s[r]+=l[r],l[r]=-l[r]),e>=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);(0,m.A)(this).dataIndex=e>=0?e:null},30,!1);function q(t,e,n){if((0,k.H)(n,"cartesian2d")){var i=n.getArea();return{x:t?e.x:i.x,y:t?i.y:e.y,width:t?e.width:i.width,height:t?i.height:e.height}}var i=n.getArea();return{cx:i.cx,cy:i.cy,r0:t?i.r0:e.r0,r:t?i.r:e.r,startAngle:t?e.startAngle:0,endAngle:t?e.endAngle:2*Math.PI}}function K(t){t.registerChartView(O),t.registerSeriesModel(c),t.registerLayout(t.PRIORITY.VISUAL.LAYOUT,i.WA(r.bK,"bar")),t.registerLayout(t.PRIORITY.VISUAL.PROGRESSIVE_LAYOUT,(0,r.Bk)("bar")),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,o.Z)("bar")),t.registerAction({type:"changeAxisOrder",event:"changeAxisOrder",update:"update"},function(t,e){var n=t.componentType||"series";e.eachComponent({mainType:n,query:t},function(e){t.sortInfo&&e.axis.setCategorySortInfo(t.sortInfo)})})}},92741:function(t,e,n){n.d(e,{ID:()=>l,X0:()=>u,lQ:()=>h});var i=n(40361),r=n(17524),o=n(98289),a=n(81731),s=n(96585);function l(t,e,n,o,a){var l=t.getArea(),u=l.x,h=l.y,c=l.width,p=l.height,d=n.get(["lineStyle","width"])||0;u-=d/2,h-=d/2,c+=d,p+=d,c=Math.ceil(c),u!==Math.floor(u)&&(u=Math.floor(u),c++);var f=new i.Z({shape:{x:u,y:h,width:c,height:p}});if(e){var g=t.getBaseAxis(),y=g.isHorizontal(),v=g.inverse;y?(v&&(f.shape.x+=c),f.shape.width=0):(v||(f.shape.y+=p),f.shape.height=0);var m=(0,s.mf)(a)?function(t){a(t,f)}:null;r.KZ(f,{shape:{width:c,height:p,x:u,y:h}},n,null,o,m)}return f}function u(t,e,n){var i=t.getArea(),s=(0,a.NM)(i.r0,1),l=(0,a.NM)(i.r,1),u=new o.C({shape:{cx:(0,a.NM)(t.cx,1),cy:(0,a.NM)(t.cy,1),r0:s,r:l,startAngle:i.startAngle,endAngle:i.endAngle,clockwise:i.clockwise}});return e&&("angle"===t.getBaseAxis().dim?u.shape.endAngle=i.startAngle:u.shape.r=s,r.KZ(u,{shape:{endAngle:i.endAngle,r:l}},n)),u}function h(t,e,n,i,r){if(t){if("polar"===t.type)return u(t,e,n);else if("cartesian2d"===t.type)return l(t,e,n,i,r)}return null}},94431:function(t,e,n){n.d(e,{Z:()=>r});var i=n(46451);function r(){var t=(0,i.Yf)();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"}}},21328:function(t,e,n){n.d(e,{Z:()=>z});var i,r,o,a,s,l,u,h=n(96585),c=n(84456);function p(t){return null==t?0:t.length||1}function d(t){return t}var f=function(){function t(t,e,n,i,r,o){this._old=t,this._new=e,this._oldKeyGetter=n||d,this._newKeyGetter=i||d,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=Array(t.length),r=Array(e.length);this._initIndexMap(t,null,i,"_oldKeyGetter"),this._initIndexMap(e,n,r,"_newKeyGetter");for(var o=0;o<t.length;o++){var a=i[o],s=n[a],l=p(s);if(l>1){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;a<r.length;a++){var s=r[a],l=n[s],u=i[s],h=p(l),c=p(u);if(h>1&&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 d=0;d<h;d++)this._remove&&this._remove(l[d]);else this._remove&&this._remove(l)}this._performRestAdd(o,i)},t.prototype._performRestAdd=function(t,e){for(var n=0;n<t.length;n++){var i=t[n],r=e[i],o=p(r);if(o>1)for(var a=0;a<o;a++)this._add&&this._add(r[a]);else 1===o&&this._add&&this._add(r);e[i]=null}},t.prototype._initIndexMap=function(t,e,n,i){for(var r=this._diffModeMultiple,o=0;o<t.length;o++){var a="_ec_"+this[i](t[o],o);if(r||(n[o]=a),e){var s=e[a],l=p(s);0===l?(e[a]=o,r&&n.push(a)):1===l?e[a]=[s,o]:s.push(o)}}},t}(),g=n(32658),y=n(15693),v=function(){function t(t,e){this._encode=t,this._schema=e}return t.prototype.get=function(){return{fullDimensions:this._getFullDimensionNames(),encode:this._encode}},t.prototype._getFullDimensionNames=function(){return this._cachedDimNames||(this._cachedDimNames=this._schema?this._schema.makeOutputDimensionNames():[]),this._cachedDimNames},t}();function m(t,e){return t.hasOwnProperty(e)||(t[e]=[]),t[e]}let _=function(t){this.otherDims={},null!=t&&h.l7(this,t)};var x=n(46451),S=n(55413),w=n(58136),b=n(58185),M=n(56235),T=h.Kn,k=h.UI,I="undefined"==typeof Int32Array?Array:Int32Array,D=["hasItemOption","_nameList","_idList","_invertedIndicesMap","_dimSummary","userOutput","_rawData","_dimValueGetter","_nameDimIdx","_idDimIdx","_nameRepeatCount"],C=["_approximateExtent"],A=function(){function t(t,e){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","minmaxDownSample","lttbDownSample","map"],this.CHANGABLE_METHODS=["filterSelf","selectRange"],this.DOWNSAMPLE_METHODS=["downSample","minmaxDownSample","lttbDownSample"];var n,i=!1;(0,M.bB)(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<n.length;u++){var c=n[u],p=h.HD(c)?new _({name:c}):c instanceof _?c:new _(c),d=p.name;p.type=p.type||"float",p.coordDim||(p.coordDim=d,p.coordDimIndex=0);var f=p.otherDims=p.otherDims||{};o.push(d),r[d]=p,null!=l[d]&&(s=!0),p.createInvertedIndices&&(a[d]=[]),0===f.itemName&&(this._nameDimIdx=u),0===f.itemId&&(this._idDimIdx=u),i&&(p.storeDimIndex=u)}if(this.dimensions=o,this._dimInfos=r,this._initGetDimensionInfo(s),this.hostModel=e,this._invertedIndicesMap=a,this._dimOmitted){var g=this._dimIdxToName=h.kW();h.S6(o,function(t){g.set(r[t].storeDimIndex,t)})}}return t.prototype.getDimension=function(t){var e=this._recognizeDimIndex(t);if(null==e)return t;if(e=t,!this._dimOmitted)return this.dimensions[e];var n=this._dimIdxToName.get(e);if(null!=n)return n;var i=this._schema.getSourceDimension(e);if(i)return i.name},t.prototype.getDimensionIndex=function(t){var e=this._recognizeDimIndex(t);if(null!=e)return e;if(null==t)return -1;var n=this._getDimInfo(t);return n?n.storeDimIndex:this._dimOmitted?this._schema.getSourceDimensionIndex(t):-1},t.prototype._recognizeDimIndex=function(t){if(h.hj(t)||null!=t&&!isNaN(t)&&!this._getDimInfo(t)&&(!this._dimOmitted||0>this._schema.getSourceDimensionIndex(t)))return+t},t.prototype._getStoreDimIndex=function(t){return this.getDimensionIndex(t)},t.prototype.getDimensionInfo=function(t){return this._getDimInfo(this.getDimension(t))},t.prototype._initGetDimensionInfo=function(t){var e=this._dimInfos;this._getDimInfo=t?function(t){return e.hasOwnProperty(t)?e[t]:void 0}:function(t){return e[t]}},t.prototype.getDimensionsOnCoord=function(){return this._dimSummary.dataDimsOnCoord.slice()},t.prototype.mapDimension=function(t,e){var n=this._dimSummary;if(null==e)return n.encodeFirstDimNotExtra[t];var i=n.encode[t];return i?i[e]:null},t.prototype.mapDimensionsAll=function(t){return(this._dimSummary.encode[t]||[]).slice()},t.prototype.getStore=function(){return this._store},t.prototype.initData=function(t,e,n){var i,r,o,a,s,l,u,c,p,d,f,_,x,S=this;if(t instanceof b.ZP&&(x=t),!x){var M=this.dimensions,T=(0,w.Ld)(t)||h.zG(t)?new g.Pl(t,M.length):t;x=new b.ZP;var I=k(M,function(t){return{type:S._dimInfos[t].type,property:t}});x.initData(T,I,n)}this._store=x,this._nameList=(e||[]).slice(),this._idList=[],this._nameRepeatCount={},this._doInit(0,x.count()),this._dimSummary=(i=this,r=this._schema,a=(o={}).encode={},s=(0,h.kW)(),l=[],u=[],c={},(0,h.S6)(i.dimensions,function(t){var e=i.getDimensionInfo(t),n=e.coordDim;if(n){var r,o=e.coordDimIndex;m(a,n)[o]=t,e.isExtraCoord||(s.set(n,1),"ordinal"!==(r=e.type)&&"time"!==r&&(l[0]=t),m(c,n)[o]=i.getDimensionIndex(e.name)),e.defaultTooltip&&u.push(t)}y.f7.each(function(t,n){var i=m(a,n),r=e.otherDims[n];null!=r&&!1!==r&&(i[r]=e.name)})}),p=[],d={},s.each(function(t,e){var n=a[e];d[e]=n[0],p=p.concat(n)}),o.dataDimsOnCoord=p,o.dataDimIndicesOnCoord=(0,h.UI)(p,function(t){return i.getDimensionInfo(t).storeDimIndex}),o.encodeFirstDimNotExtra=d,(f=a.label)&&f.length&&(l=f.slice()),(_=a.tooltip)&&_.length?u=_.slice():u.length||(u=l.slice()),a.defaultedLabel=l,a.defaultedTooltip=u,o.userOutput=new v(c,r),o),this.userOutput=this._dimSummary.userOutput},t.prototype.appendData=function(t){var e=this._store.appendData(t);this._doInit(e[0],e[1])},t.prototype.appendValues=function(t,e){var n=this._store.appendValues(t,e&&e.length),i=n.start,r=n.end,o=this._shouldMakeIdFromName();if(this._updateOrdinalMeta(),e)for(var a=i;a<r;a++){var s=a-i;this._nameList[a]=e[s],o&&u(this,a)}},t.prototype._updateOrdinalMeta=function(){for(var t=this._store,e=this.dimensions,n=0;n<e.length;n++){var i=this._dimInfos[e[n]];i.ordinalMeta&&t.collectOrdinalMeta(i.storeDimIndex,i.ordinalMeta)}},t.prototype._shouldMakeIdFromName=function(){var t=this._store.getProvider();return null==this._idDimIdx&&t.getSource().sourceFormat!==y.J5&&!t.fillStorage},t.prototype._doInit=function(t,e){if(!(t>=e)){var n=this._store.getProvider();this._updateOrdinalMeta();var r=this._nameList,o=this._idList;if(n.getSource().sourceFormat===y.cy&&!n.pure)for(var a=[],s=t;s<e;s++){var l=n.getItem(s,a);if(!this.hasItemOption&&(0,x.Co)(l)&&(this.hasItemOption=!0),l){var h=l.name;null==r[s]&&null!=h&&(r[s]=(0,x.U5)(h,null));var c=l.id;null==o[s]&&null!=c&&(o[s]=(0,x.U5)(c,null))}}if(this._shouldMakeIdFromName())for(var s=t;s<e;s++)u(this,s);i(this)}},t.prototype.getApproximateExtent=function(t){return this._approximateExtent[t]||this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.setApproximateExtent=function(t,e){e=this.getDimension(e),this._approximateExtent[e]=t.slice()},t.prototype.getCalculationInfo=function(t){return this._calculationInfo[t]},t.prototype.setCalculationInfo=function(t,e){T(t)?h.l7(this._calculationInfo,t):this._calculationInfo[t]=e},t.prototype.getName=function(t){var e=this.getRawIndex(t),n=this._nameList[e];return null==n&&null!=this._nameDimIdx&&(n=o(this,this._nameDimIdx,e)),null==n&&(n=""),n},t.prototype._getCategory=function(t,e){var n=this._store.get(t,e),i=this._store.getOrdinalMeta(t);return i?i.categories[n]:n},t.prototype.getId=function(t){return r(this,this.getRawIndex(t))},t.prototype.count=function(){return this._store.count()},t.prototype.get=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.get(i.storeDimIndex,e)},t.prototype.getByRawIndex=function(t,e){var n=this._store,i=this._dimInfos[t];if(i)return n.getByRawIndex(i.storeDimIndex,e)},t.prototype.getIndices=function(){return this._store.getIndices()},t.prototype.getDataExtent=function(t){return this._store.getDataExtent(this._getStoreDimIndex(t))},t.prototype.getSum=function(t){return this._store.getSum(this._getStoreDimIndex(t))},t.prototype.getMedian=function(t){return this._store.getMedian(this._getStoreDimIndex(t))},t.prototype.getValues=function(t,e){var n=this,i=this._store;return h.kJ(t)?i.getValues(k(t,function(t){return n._getStoreDimIndex(t)}),e):i.getValues(t)},t.prototype.hasValue=function(t){for(var e=this._dimSummary.dataDimIndicesOnCoord,n=0,i=e.length;n<i;n++)if(isNaN(this._store.get(e[n],t)))return!1;return!0},t.prototype.indexOfName=function(t){for(var e=0,n=this._store.count();e<n;e++)if(this.getName(e)===t)return e;return -1},t.prototype.getRawIndex=function(t){return this._store.getRawIndex(t)},t.prototype.indexOfRawIndex=function(t){return this._store.indexOfRawIndex(t)},t.prototype.rawIndexOf=function(t,e){var n=t&&this._invertedIndicesMap[t],i=n&&n[e];return null==i||isNaN(i)?-1:i},t.prototype.indicesOfNearest=function(t,e,n){return this._store.indicesOfNearest(this._getStoreDimIndex(t),e,n)},t.prototype.each=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=k(a(t),this._getStoreDimIndex,this);this._store.each(r,i?h.ak(e,i):e)},t.prototype.filterSelf=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]);var i=n||this,r=k(a(t),this._getStoreDimIndex,this);return this._store=this._store.filter(r,i?h.ak(e,i):e),this},t.prototype.selectRange=function(t){var e=this,n={},i=h.XP(t),r=[];return h.S6(i,function(i){var o=e._getStoreDimIndex(i);n[o]=t[i],r.push(o)}),this._store=this._store.selectRange(n),this},t.prototype.mapArray=function(t,e,n){h.mf(t)&&(n=e,e=t,t=[]),n=n||this;var i=[];return this.each(t,function(){i.push(e&&e.apply(this,arguments))},n),i},t.prototype.map=function(t,e,n,i){var r=n||i||this,o=k(a(t),this._getStoreDimIndex,this),s=l(this);return s._store=this._store.map(o,r?h.ak(e,r):e),s},t.prototype.modify=function(t,e,n,i){var r=n||i||this,o=k(a(t),this._getStoreDimIndex,this);this._store.modify(o,r?h.ak(e,r):e)},t.prototype.downSample=function(t,e,n,i){var r=l(this);return r._store=this._store.downSample(this._getStoreDimIndex(t),e,n,i),r},t.prototype.minmaxDownSample=function(t,e){var n=l(this);return n._store=this._store.minmaxDownSample(this._getStoreDimIndex(t),e),n},t.prototype.lttbDownSample=function(t,e){var n=l(this);return n._store=this._store.lttbDownSample(this._getStoreDimIndex(t),e),n},t.prototype.getRawDataItem=function(t){return this._store.getRawDataItem(t)},t.prototype.getItemModel=function(t){var e=this.hostModel,n=this.getRawDataItem(t);return new c.Z(n,e,e&&e.ecModel)},t.prototype.diff=function(t){var e=this;return new f(t?t.getStore().getIndices():[],this.getStore().getIndices(),function(e){return r(t,e)},function(t){return r(e,t)})},t.prototype.getVisual=function(t){var e=this._visual;return e&&e[t]},t.prototype.setVisual=function(t,e){this._visual=this._visual||{},T(t)?h.l7(this._visual,t):this._visual[t]=e},t.prototype.getItemVisual=function(t,e){var n=this._itemVisuals[t],i=n&&n[e];return null==i?this.getVisual(e):i},t.prototype.hasItemVisual=function(){return this._itemVisuals.length>0},t.prototype.ensureUniqueItemVisual=function(t,e){var n=this._itemVisuals,i=n[t];i||(i=n[t]={});var r=i[e];return null==r&&(r=this.getVisual(e),h.kJ(r)?r=r.slice():T(r)&&(r=h.l7({},r)),i[e]=r),r},t.prototype.setItemVisual=function(t,e,n){var i=this._itemVisuals[t]||{};this._itemVisuals[t]=i,T(e)?h.l7(i,e):i[e]=n},t.prototype.clearAllVisual=function(){this._visual={},this._itemVisuals=[]},t.prototype.setLayout=function(t,e){T(t)?h.l7(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?h.l7(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;(0,S.Q)(n,this.dataType,t,e),this._graphicEls[t]=e},t.prototype.getItemGraphicEl=function(t){return this._graphicEls[t]},t.prototype.eachItemGraphicEl=function(t,e){h.S6(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:k(this.dimensions,this._getDimInfo,this),this.hostModel)),s(e,this),e._store=this._store,e},t.prototype.wrapMethod=function(t,e){var n=this[t];h.mf(n)&&(this.__wrappedMethods=this.__wrappedMethods||[],this.__wrappedMethods.push(t),this[t]=function(){var t=n.apply(this,arguments);return e.apply(this,[t].concat(h.tP(arguments)))})},t.internalField=void(i=function(t){var e=t._invertedIndicesMap;h.S6(e,function(n,i){var r=t._dimInfos[i],o=r.ordinalMeta,a=t._store;if(o){n=e[i]=new I(o.categories.length);for(var s=0;s<n.length;s++)n[s]=-1;for(var s=0;s<a.count();s++)n[a.get(r.storeDimIndex,s)]=s}})},o=function(t,e,n){return(0,x.U5)(t._getCategory(e,n),null)},r=function(t,e){var n=t._idList[e];return null==n&&null!=t._idDimIdx&&(n=o(t,t._idDimIdx,e)),null==n&&(n="e\0\0"+e),n},a=function(t){return h.kJ(t)||(t=null!=t?[t]:[]),t},l=function(e){var n=new t(e._schema?e._schema:k(e.dimensions,e._getDimInfo,e),e.hostModel);return s(n,e),n},s=function(t,e){h.S6(D.concat(e.__wrappedMethods||[]),function(n){e.hasOwnProperty(n)&&(t[n]=e[n])}),t.__wrappedMethods=e.__wrappedMethods,h.S6(C,function(n){t[n]=h.d9(e[n])}),t._calculationInfo=h.l7({},e._calculationInfo)},u=function(t,e){var n=t._nameList,i=t._idList,r=t._nameDimIdx,a=t._idDimIdx,s=n[e],l=i[e];if(null==s&&null!=r&&(n[e]=s=o(t,r,e)),null==l&&null!=a&&(i[e]=l=o(t,a,e)),null==l&&null!=s){var u=t._nameRepeatCount,h=u[s]=(u[s]||0)+1;l=s,h>1&&(l+="__ec__"+h),i[e]=l}}),t}(),P=n(490),L=n(44733),O=function(t){this.coordSysDims=[],this.axisMap=(0,h.kW)(),this.categoryAxisMap=(0,h.kW)(),this.coordSysName=t},R={cartesian2d:function(t,e,n,i){var r=t.getReferringComponents("xAxis",x.C6).models[0],o=t.getReferringComponents("yAxis",x.C6).models[0];e.coordSysDims=["x","y"],n.set("x",r),n.set("y",o),Z(r)&&(i.set("x",r),e.firstCategoryDimIndex=0),Z(o)&&(i.set("y",o),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=1))},singleAxis:function(t,e,n,i){var r=t.getReferringComponents("singleAxis",x.C6).models[0];e.coordSysDims=["single"],n.set("single",r),Z(r)&&(i.set("single",r),e.firstCategoryDimIndex=0)},polar:function(t,e,n,i){var r=t.getReferringComponents("polar",x.C6).models[0],o=r.findAxisModel("radiusAxis"),a=r.findAxisModel("angleAxis");e.coordSysDims=["radius","angle"],n.set("radius",o),n.set("angle",a),Z(o)&&(i.set("radius",o),e.firstCategoryDimIndex=0),Z(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();(0,h.S6)(o.parallelAxisIndex,function(t,o){var s=r.getComponent("parallelAxis",t),l=a[o];n.set(l,s),Z(s)&&(i.set(l,s),null==e.firstCategoryDimIndex&&(e.firstCategoryDimIndex=o))})}};function Z(t){return"category"===t.get("type")}var N=n(93054);let z=function(t,e,n){n=n||{};var i,r,o,a,s,l,u,c,p=e.getSourceManager(),d=!1;t?(d=!0,c=(0,w.nx)(t)):d=(c=p.getSource()).sourceFormat===y.cy;var f=function(t){var e=t.get("coordinateSystem"),n=new O(e),i=R[e];if(i)return i(t,n,n.axisMap,n.categoryAxisMap),n}(e),g=(r=e.get("coordinateSystem"),o=L.Z.get(r),f&&f.coordSysDims&&(i=h.UI(f.coordSysDims,function(t){var e,n={name:t},i=f.axisMap.get(t);return i&&(n.type="category"===(e=i.get("type"))?"ordinal":"time"===e?"time":"float"),n})),i||(i=o&&(o.getDimensionsInfo?o.getDimensionsInfo():o.dimensions.slice())||["x","y"]),i),v=n.useEncodeDefaulter,m=h.mf(v)?v:v?h.WA(P.pY,g,e):null,S=function(t,e){(0,w.Ld)(t)||(t=(0,w.nx)(t));var n,i,r,o,a,s=(e=e||{}).coordDimensions||[],l=e.dimensionsDefine||t.dimensionsDefine||[],u=(0,h.kW)(),c=[],p=(n=t,i=s,r=l,o=e.dimensionsCount,a=Math.max(n.dimensionsDetectedCount||1,i.length,r.length,o||0),(0,h.S6)(i,function(t){var e;(0,h.Kn)(t)&&(e=t.dimsDef)&&(a=Math.max(a,e.length))}),a),d=e.canOmitUnusedDimensions&&(0,M.Jl)(p),f=l===t.dimensionsDefine,g=f?(0,M.Jj)(t):(0,M.v5)(l),v=e.encodeDefine;!v&&e.encodeDefaulter&&(v=e.encodeDefaulter(t,p));for(var m=(0,h.kW)(v),S=new b.hG(p),T=0;T<S.length;T++)S[T]=-1;function k(t){var e=S[t];if(e<0){var n=l[t],i=(0,h.Kn)(n)?n:{name:n},r=new _,o=i.name;null!=o&&null!=g.get(o)&&(r.name=r.displayName=o),null!=i.type&&(r.type=i.type),null!=i.displayName&&(r.displayName=i.displayName);var a=c.length;return S[t]=a,r.storeDimIndex=t,c.push(r),r}return c[e]}if(!d)for(var T=0;T<p;T++)k(T);m.each(function(t,e){var n=(0,x.kF)(t).slice();if(1===n.length&&!(0,h.HD)(n[0])&&n[0]<0)return void m.set(e,!1);var i=m.set(e,[]);(0,h.S6)(n,function(t,n){var r=(0,h.HD)(t)?g.get(t):t;null!=r&&r<p&&(i[n]=r,D(k(r),e,n))})});var I=0;function D(t,e,n){null!=y.f7.get(e)?t.otherDims[e]=n:(t.coordDim=e,t.coordDimIndex=n,u.set(e,!0))}(0,h.S6)(s,function(t){if((0,h.HD)(t))r=t,i={};else{var e,n,i,r=(i=t).name,o=i.ordinalMeta;i.ordinalMeta=null,(i=(0,h.l7)({},i)).ordinalMeta=o,e=i.dimsDef,n=i.otherDims,i.name=i.coordDim=i.coordDimIndex=i.dimsDef=i.otherDims=null}var a=m.get(r);if(!1!==a){if(!(a=(0,x.kF)(a)).length)for(var s=0;s<(e&&e.length||1);s++){for(;I<p&&null!=k(I).coordDim;)I++;I<p&&a.push(I++)}(0,h.S6)(a,function(t,o){var a=k(t);if(f&&null!=i.type&&(a.type=i.type),D((0,h.ce)(a,i),r,o),null==a.name&&e){var s=e[o];(0,h.Kn)(s)||(s={name:s}),a.name=a.displayName=s.name,a.defaultTooltip=s.defaultTooltip}n&&(0,h.ce)(a.otherDims,n)})}});var C=e.generateCoord,A=e.generateCoordCount,L=null!=A;A=C?A||1:0;var O=C||"value";function R(t){null==t.name&&(t.name=t.coordDim)}if(d)(0,h.S6)(c,function(t){R(t)}),c.sort(function(t,e){return t.storeDimIndex-e.storeDimIndex});else for(var Z=0;Z<p;Z++){var N=k(Z);null==N.coordDim&&(N.coordDim=function(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}(O,u,L),N.coordDimIndex=0,(!C||A<=0)&&(N.isExtraCoord=!0),A--),R(N),null==N.type&&((0,P.u7)(t,Z)===P.Dq.Must||N.isExtraCoord&&(null!=N.otherDims.itemName||null!=N.otherDims.seriesName))&&(N.type="ordinal")}return function(t){for(var e=(0,h.kW)(),n=0;n<t.length;n++){var i=t[n],r=i.name,o=e.get(r)||0;o>0&&(i.name=r+(o-1)),o++,e.set(r,o)}}(c),new M.Eo({source:t,dimensions:c,fullDimensionCount:p,dimensionOmitted:d})}(c,{coordDimensions:g,generateCoord:n.generateCoord,encodeDefine:e.getEncode(),encodeDefaulter:m,canOmitUnusedDimensions:!d}),T=(a=S.dimensions,s=n.createInvertedIndices,f&&h.S6(a,function(t,e){var n=t.coordDim,i=f.categoryAxisMap.get(n);i&&(null==l&&(l=e),t.ordinalMeta=i.getOrdinalMeta(),s&&(t.createInvertedIndices=!0)),null!=t.otherDims.itemName&&(u=!0)}),u||null==l||(a[l].otherDims.itemName=0),l),k=d?null:p.getSharedDataStore(S),I=(0,N.BM)(e,{schema:S,store:k}),D=new A(S,e);D.setCalculationInfo(I);var C=null!=T&&function(t){if(t.sourceFormat===y.cy){var e=function(t){for(var e=0;e<t.length&&null==t[e];)e++;return t[e]}(t.data||[]);return!h.kJ((0,x.C4)(e))}}(c)?function(t,e,n,i){return i===T?n:this.defaultDimValueGetter(t,e,n,i)}:null;return D.hasItemOption=!1,D.initData(d?c:k,null,C),D}},8169:function(t,e,n){n.d(e,{H:()=>o,O:()=>a});var i=n(32658),r=n(96585);function o(t,e){var n=t.mapDimensionsAll("defaultedLabel"),r=n.length;if(1===r){var o=(0,i.hk)(t,e,n[0]);return null!=o?o+"":null}if(r){for(var a=[],s=0;s<n.length;s++)a.push((0,i.hk)(t,e,n[s]));return a.join(" ")}}function a(t,e){var n=t.mapDimensionsAll("defaultedLabel");if(!(0,r.kJ)(e))return e+"";for(var i=[],o=0;o<n.length;o++){var a=t.getDimensionIndex(n[o]);a>=0&&i.push(e[a])}return i.join(" ")}},90838:function(t,e,n){n.d(e,{N:()=>ti});var i=n(12012),r=n(21328),o=n(69331),a=n(44421),s=n(19171),l=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.hasSymbolVisual=!0,n}return(0,i.ZT)(e,t),e.prototype.getInitialData=function(t){return(0,r.Z)(null,this,{useEncodeDefaulter:!0})},e.prototype.getLegendIcon=function(t){var e=new s.Z,n=(0,a.th)("line",0,t.itemHeight/2,t.itemWidth,0,t.lineStyle.stroke,!1);e.add(n),n.setStyle(t.lineStyle);var i=this.getData().getVisual("symbol"),r=this.getData().getVisual("symbolRotate"),o="none"===i?"circle":i,l=.8*t.itemHeight,u=(0,a.th)(o,(t.itemWidth-l)/2,(t.itemHeight-l)/2,l,l,t.itemStyle.fill);return e.add(u),u.setStyle(t.itemStyle),u.rotation=("inherit"===t.iconRotate?r:t.iconRotate||0)*Math.PI/180,u.setOrigin([t.itemWidth/2,t.itemHeight/2]),o.indexOf("empty")>-1&&(u.style.stroke=u.style.fill,u.style.fill="#fff",u.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}(o.Z),u=n(96585),h=n(17524),c=n(19044),p=n(55413),d=n(63344),f=n(8169),g=n(77704),y=n(31386),v=function(t){function e(e,n,i,r){var o=t.call(this)||this;return o.updateData(e,n,i,r),o}return(0,i.ZT)(e,t),e.prototype._createSymbol=function(t,e,n,i,r){this.removeAll();var o=(0,a.th)(t,-1,-1,2,2,null,r);o.attr({z2:100,culling:!0,scaleX:i[0]/2,scaleY:i[1]/2}),o.drift=m,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(){(0,d.fD)(this.childAt(0))},e.prototype.downplay=function(){(0,d.Mh)(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 c=t.getItemVisual(n,"symbolKeepAspect");this._createSymbol(o,t,n,s,c)}else{var p=this.childAt(0);p.silent=!1;var d={scaleX:s[0]/2,scaleY:s[1]/2};u?p.attr(d):h.D(p,d,a,n),(0,h.Zi)(p)}if(this._updateCommon(t,n,s,i,r),l){var p=this.childAt(0);if(!u){var d={scaleX:this._sizeX,scaleY:this._sizeY,style:{opacity:p.style.opacity}};p.scaleX=p.scaleY=0,p.style.opacity=0,h.KZ(p,d,a,n)}}u&&this.childAt(0).stopAnimation("leave")},e.prototype._updateCommon=function(t,e,n,i,r){var o,s,l,h,c,p,v,m,_,x=this.childAt(0),S=t.hostModel;if(i&&(o=i.emphasisItemStyle,s=i.blurItemStyle,l=i.selectItemStyle,h=i.focus,c=i.blurScope,v=i.labelStatesModels,m=i.hoverScale,_=i.cursorStyle,p=i.emphasisDisabled),!i||t.hasItemOption){var w=i&&i.itemModel?i.itemModel:t.getItemModel(e),b=w.getModel("emphasis");o=b.getModel("itemStyle").getItemStyle(),l=w.getModel(["select","itemStyle"]).getItemStyle(),s=w.getModel(["blur","itemStyle"]).getItemStyle(),h=b.get("focus"),c=b.get("blurScope"),p=b.get("disabled"),v=(0,g.k3)(w),m=b.getShallow("scale"),_=w.getShallow("cursor")}var M=t.getItemVisual(e,"symbolRotate");x.attr("rotation",(M||0)*Math.PI/180||0);var T=(0,a.Cq)(t.getItemVisual(e,"symbolOffset"),n);T&&(x.x=T[0],x.y=T[1]),_&&x.attr("cursor",_);var k=t.getItemVisual(e,"style"),I=k.fill;if(x instanceof y.ZP){var D=x.style;x.useStyle((0,u.l7)({image:D.image,x:D.x,y:D.y,width:D.width,height:D.height},k))}else x.__isEmptyBrush?x.useStyle((0,u.l7)({},k)):x.useStyle(k),x.style.decal=null,x.setColor(I,r&&r.symbolInnerColor),x.style.strokeNoScale=!0;var C=t.getItemVisual(e,"liftZ"),A=this._z2;null!=C?null==A&&(this._z2=x.z2,x.z2+=C):null!=A&&(x.z2=A,this._z2=null);var P=r&&r.useNameLabel;(0,g.ni)(x,v,{labelFetcher:S,labelDataIndex:e,defaultText:function(e){return P?t.getName(e):(0,f.H)(t,e)},inheritColor:I,defaultOpacity:k.opacity}),this._sizeX=n[0]/2,this._sizeY=n[1]/2;var L=x.ensureState("emphasis");L.style=o,x.ensureState("select").style=l,x.ensureState("blur").style=s;var O=null==m||!0===m?Math.max(1.1,3/this._sizeY):isFinite(m)&&m>0?+m:1;L.scaleX=this._sizeX*O,L.scaleY=this._sizeY*O,this.setSymbolScale(1),(0,d.k5)(this,h,c,p)},e.prototype.setSymbolScale=function(t){this.scaleX=this.scaleY=t},e.prototype.fadeOut=function(t,e,n){var i=this.childAt(0),r=(0,p.A)(this).dataIndex,o=n&&n.animation;if(this.silent=i.silent=!0,n&&n.fadeLabel){var a=i.getTextContent();a&&h.bX(a,{style:{opacity:0}},e,{dataIndex:r,removeOpt:o,cb:function(){i.removeTextContent()}})}else i.removeTextContent();h.bX(i,{style:{opacity:0},scaleX:0,scaleY:0},e,{dataIndex:r,cb:t,removeOpt:o})},e.getSymbolSize=function(t,e){return(0,a.zp)(t.getItemVisual(e,"symbolSize"))},e}(s.Z);function m(t,e){this.parent.drift(t,e)}function _(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 x(t){return null==t||(0,u.Kn)(t)||(t={isIgnore:t}),t||{}}function S(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:(0,g.k3)(e),cursorStyle:e.get("cursor")}}var w=function(){function t(t){this.group=new s.Z,this._SymbolCtor=t||v}return t.prototype.updateData=function(t,e){this._progressiveEls=null,e=x(e);var n=this.group,i=t.hostModel,r=this._data,o=this._SymbolCtor,a=e.disableAnimation,s=S(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(_(t,r,i,e)){var a=new o(t,i,s,l);a.setPosition(r),t.setItemGraphicEl(i,a),n.add(a)}}).update(function(c,p){var d=r.getItemGraphicEl(p),f=u(c);if(!_(t,f,c,e))return void n.remove(d);var g=t.getItemVisual(c,"symbol")||"circle",y=d&&d.getSymbolType&&d.getSymbolType();if(!d||y&&y!==g)n.remove(d),(d=new o(t,c,s,l)).setPosition(f);else{d.updateData(t,c,s,l);var v={x:f[0],y:f[1]};a?d.attr(v):h.D(d,v,i)}n.add(d),t.setItemGraphicEl(c,d)}).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=S(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=x(n);for(var r=t.start;r<t.end;r++){var o=e.getItemLayout(r);if(_(e,o,r,n)){var a=new this._SymbolCtor(e,r,this._seriesScope);a.traverse(i),a.setPosition(o),this.group.add(a),e.setItemGraphicEl(r,a),this._progressiveEls.push(a)}}},t.prototype.eachRendered=function(t){c.traverseElements(this._progressiveEls||this.group,t)},t.prototype.remove=function(t){var e=this.group,n=this._data;n&&t?n.eachItemGraphicEl(function(t){t.fadeOut(function(){e.remove(t)},n.hostModel)}):e.removeAll()},t}(),b=n(93054);function M(t,e,n){var i,r,o,a,s=t.getBaseAxis(),l=t.getOtherAxis(s),h=(i=l,r=n,o=0,a=i.scale.getExtent(),"start"===r?o=a[0]:"end"===r?o=a[1]:(0,u.hj)(r)&&!isNaN(r)?o=r:a[0]>0?o=a[0]:a[1]<0&&(o=a[1]),o),c=s.dim,p=l.dim,d=e.mapDimension(p),f=e.mapDimension(c),g=+("x"===p||"radius"===p),y=(0,u.UI)(t.dimensions,function(t){return e.mapDimension(t)}),v=!1,m=e.getCalculationInfo("stackResultDimension");return(0,b.M)(e,y[0])&&(v=!0,y[0]=m),(0,b.M)(e,y[1])&&(v=!0,y[1]=m),{dataDimsForPoint:y,valueStart:h,valueAxisDim:p,baseAxisDim:c,stacked:!!v,valueDim:d,baseDim:f,baseDataOffset:g,stackedOverDimension:e.getCalculationInfo("stackedOverDimension")}}function T(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 k=n(27129),I=n(71756),D=n(26991),C=n(46451),A=n(50654),P=n(36209),L=n(97566),O=Math.min,R=Math.max;function Z(t,e){return isNaN(t)||isNaN(e)}function N(t,e,n,i,r,o,a,s,l){for(var u,h,c,p,d,f,g=n,y=0;y<i;y++){var v=e[2*g],m=e[2*g+1];if(g>=r||g<0)break;if(Z(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 S=g+o,w=e[2*S],b=e[2*S+1];w===v&&b===m&&y<i;)y++,S+=o,g+=o,w=e[2*S],b=e[2*S+1],v=e[2*g],m=e[2*g+1],_=v-u,x=m-h;var M=y+1;if(l)for(;Z(w,b)&&M<i;)M++,S+=o,w=e[2*S],b=e[2*S+1];var T=.5,k=0,I=0,D=void 0,C=void 0;if(M>=i||Z(w,b))d=v,f=m;else{k=w-u,I=b-h;var A=v-u,P=w-v,L=m-h,N=b-m,z=void 0,E=void 0;if("x"===s){z=Math.abs(A),E=Math.abs(P);var B=k>0?1:-1;d=v-B*z*a,f=m,D=v+B*E*a,C=m}else if("y"===s){z=Math.abs(L),E=Math.abs(N);var F=I>0?1:-1;d=v,f=m-F*z*a,D=v,C=m+F*E*a}else z=Math.sqrt(A*A+L*L),d=v-k*a*(1-(T=(E=Math.sqrt(P*P+N*N))/(E+z))),f=m-I*a*(1-T),D=v+k*a*T,C=m+I*a*T,D=O(D,R(w,v)),C=O(C,R(b,m)),D=R(D,O(w,v)),C=R(C,O(b,m)),k=D-v,I=C-m,d=v-k*z/E,f=m-I*z/E,d=O(d,R(u,v)),f=O(f,R(h,m)),d=R(d,O(u,v)),f=R(f,O(h,m)),k=v-d,I=m-f,D=v+k*E/z,C=m+I*E/z}t.bezierCurveTo(c,p,d,f,v,m),c=D,p=C}else t.lineTo(v,m)}u=v,h=m,g+=o}return y}var z=function(){this.smooth=0,this.smoothConstraint=!0},E=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polyline",n}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new z},e.prototype.buildPath=function(t,e){var n=e.points,i=0,r=n.length/2;if(e.connectNulls){for(;r>0&&Z(n[2*r-2],n[2*r-1]);r--);for(;i<r&&Z(n[2*i],n[2*i+1]);i++);}for(;i<r;)i+=N(t,n,i,r,r,1,e.smooth,e.smoothMonotone,e.connectNulls)+1},e.prototype.getPointOn=function(t,e){this.path||(this.createPathProxy(),this.buildPath(this.path,this.shape));for(var n,i,r=this.path.data,o=P.Z.CMD,a="x"===e,s=[],l=0;l<r.length;){var u=r[l++],h=void 0,c=void 0,p=void 0,d=void 0,f=void 0,g=void 0,y=void 0;switch(u){case o.M:n=r[l++],i=r[l++];break;case o.L:if(h=r[l++],c=r[l++],(y=a?(t-n)/(h-n):(t-i)/(c-i))<=1&&y>=0){var v=a?(c-i)*y+i:(h-n)*y+n;return a?[t,v]:[v,t]}n=h,i=c;break;case o.C:h=r[l++],c=r[l++],p=r[l++],d=r[l++],f=r[l++],g=r[l++];var m=a?(0,L.kD)(n,h,p,f,t,s):(0,L.kD)(i,c,d,g,t,s);if(m>0)for(var _=0;_<m;_++){var x=s[_];if(x<=1&&x>=0){var v=a?(0,L.af)(i,c,d,g,x):(0,L.af)(n,h,p,f,x);return a?[t,v]:[v,t]}}n=f,i=g}}},e}(A.ZP),B=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(z),F=function(t){function e(e){var n=t.call(this,e)||this;return n.type="ec-polygon",n}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new B},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&&Z(n[2*o-2],n[2*o-1]);o--);for(;r<o&&Z(n[2*r],n[2*r+1]);r++);}for(;r<o;){var s=N(t,n,r,o,o,1,e.smooth,a,e.connectNulls);N(t,i,r+s-1,s,o,-1,e.stackedOnSmooth,a,e.connectNulls),r+=s+1,t.closePath()}},e}(A.ZP),H=n(47389),W=n(92741),V=n(63248),G=n(43718),U=n(67375);function X(t,e){if(t.length===e.length){for(var n=0;n<t.length;n++)if(t[n]!==e[n])return;return!0}}function Y(t){for(var e=1/0,n=1/0,i=-1/0,r=-1/0,o=0;o<t.length;){var a=t[o++],s=t[o++];isNaN(a)||(e=Math.min(a,e),i=Math.max(a,i)),isNaN(s)||(n=Math.min(s,n),r=Math.max(s,r))}return[[e,n],[i,r]]}function q(t,e){var n=Y(t),i=n[0],r=n[1],o=Y(e),a=o[0],s=o[1];return Math.max(Math.abs(i[0]-a[0]),Math.abs(i[1]-a[1]),Math.abs(r[0]-s[0]),Math.abs(r[1]-s[1]))}function K(t){return u.hj(t)?t:.5*!!t}function j(t,e,n,i,r){var o=n.getBaseAxis(),a=+("x"!==o.dim&&"radius"!==o.dim),s=[],l=0,u=[],h=[],c=[],p=[];if(r){for(l=0;l<t.length;l+=2){var d=e||t;isNaN(d[l])||isNaN(d[l+1])||p.push(t[l],t[l+1])}t=p}for(l=0;l<t.length-2;l+=2)switch(c[0]=t[l+2],c[1]=t[l+3],h[0]=t[l],h[1]=t[l+1],s.push(h[0],h[1]),i){case"end":u[a]=c[a],u[1-a]=h[1-a],s.push(u[0],u[1]);break;case"middle":var f=(h[a]+c[a])/2,g=[];u[a]=g[a]=f,u[1-a]=h[1-a],g[1-a]=c[1-a],s.push(u[0],u[1]),s.push(g[0],g[1]);break;default:u[a]=h[a],u[1-a]=c[1-a],s.push(u[0],u[1])}return s.push(t[l++],t[l++]),s}function J(t,e){return[t[2*e],t[2*e+1]]}function Q(t){if(t.get(["endLabel","show"]))return!0;for(var e=0;e<d.L1.length;e++)if(t.get([d.L1[e],"endLabel","show"]))return!0;return!1}function $(t,e,n,i){if(!(0,V.H)(e,"cartesian2d"))return(0,W.X0)(e,n,i);var r=i.getModel("endLabel"),o=r.get("valueAnimation"),a=i.getData(),s={lastFrameIndex:0},l=Q(i)?function(n,i){t._endLabelOnDuring(n,i,a,s,o,r,e)}:null,u=e.getBaseAxis().isHorizontal(),h=(0,W.ID)(e,n,i,function(){var e=t._endLabel;e&&n&&null!=s.originalX&&e.attr({x:s.originalX,y:s.originalY})},l);if(!i.get("clip",!0)){var c=h.shape,p=Math.max(c.width,c.height);u?(c.y-=p,c.height+=2*p):(c.x-=p,c.width+=2*p)}return l&&l(1,h),h}var tt=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.init=function(){var t=new s.Z,e=new w;this.group.add(e.group),this._symbolDraw=e,this._lineGroup=t,this._changePolyState=u.ak(this._changePolyState,this)},e.prototype.render=function(t,e,n){var i,r=t.coordinateSystem,o=this.group,a=t.getData(),s=t.getModel("lineStyle"),l=t.getModel("areaStyle"),c=a.getLayout("points")||[],f="polar"===r.type,g=this._coordSys,y=this._symbolDraw,m=this._polyline,_=this._polygon,x=this._lineGroup,S=!e.ssr&&t.get("animation"),w=!l.isEmpty(),b=l.get("origin"),D=M(r,a,b),C=w&&function(t,e,n){if(!n.valueDim)return[];for(var i=e.count(),r=(0,k.o)(2*i),o=0;o<i;o++){var a=T(n,t,e,o);r[2*o]=a[0],r[2*o+1]=a[1]}return r}(r,a,D),A=t.get("showSymbol"),P=t.get("connectNulls"),L=A&&!f&&function(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;a<r;a+=o)if(1.5*v.getSymbolSize(e,a)[+!!t.isHorizontal()]>i)return!1;return!0}(o,e))){var a=e.mapDimension(o.dim),s={};return u.S6(o.getViewLabels(),function(t){s[o.scale.getRawOrdinalNumber(t.tickValue)]=1}),function(t){return!s.hasOwnProperty(e.get(a,t))}}}}(t,a,r),O=this._data;O&&O.eachItemGraphicEl(function(t,e){t.__temp&&(o.remove(t),O.setItemGraphicEl(e,null))}),A||y.remove(),o.add(x);var R=!f&&t.get("step");r&&r.getArea&&t.get("clip",!0)&&(null!=(i=r.getArea()).width?(i.x-=.1,i.y-=.1,i.width+=.2,i.height+=.2):i.r0&&(i.r0-=.5,i.r+=.5)),this._clipShapeForSymbol=i;var Z=function(t,e,n){var i,r,o=t.getVisual("visualMeta");if(o&&o.length&&t.count()){if("cartesian2d"!==e.type)return;for(var a=o.length-1;a>=0;a--){var s=t.getDimensionInfo(o[a].dimension);if("x"===(i=s&&s.coordDim)||"y"===i){r=o[a];break}}if(!r)return;var l=e.getAxis(i),h=u.UI(r.stops,function(t){return{coord:l.toGlobalCoord(l.dataToCoord(t.value)),color:t.color}}),c=h.length,p=r.outerColors.slice();c&&h[0].coord>h[c-1].coord&&(h.reverse(),p.reverse());var d=function(t,e){var n,i,r=[],o=t.length;function a(t,e,n){var i=t.coord,r=(n-i)/(e.coord-i);return{coord:n,color:(0,U.t7)(r,[t.color,e.color])}}for(var s=0;s<o;s++){var l=t[s],u=l.coord;if(u<0)n=l;else if(u>e){i?r.push(a(i,l,e)):n&&r.push(a(n,l,0),a(n,l,e));break}else n&&(r.push(a(n,l,0)),n=null),r.push(l),i=l}return r}(h,"x"===i?n.getWidth():n.getHeight()),f=d.length;if(!f&&c)return h[0].coord<0?p[1]?p[1]:h[c-1].color:p[0]?p[0]:h[0].color;var g=d[0].coord-10,y=d[f-1].coord+10,v=y-g;if(v<.001)return"transparent";u.S6(d,function(t){t.offset=(t.coord-g)/v}),d.push({offset:f?d[f-1].offset:.5,color:p[1]||"transparent"}),d.unshift({offset:f?d[0].offset:.5,color:p[0]||"transparent"});var m=new I.Z(0,0,0,0,d,!0);return m[i]=g,m[i+"2"]=y,m}}(a,r,n)||a.getVisual("style")[a.getVisual("drawType")];if(m&&g.type===r.type&&R===this._step){w&&!_?_=this._newPolygon(c,C):_&&!w&&(x.remove(_),_=this._polygon=null),f||this._initOrUpdateEndLabel(t,r,(0,G.Lz)(Z));var N=x.getClipPath();if(N){var z=$(this,r,!1,t);h.KZ(N,{shape:z.shape},t)}else x.setClipPath($(this,r,!0,t));A&&y.updateData(a,{isIgnore:L,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),X(this._stackedOnPoints,C)&&X(this._points,c)||(S?this._doUpdateAnimation(a,C,r,n,R,b,P):(R&&(C&&(C=j(C,c,r,R,P)),c=j(c,null,r,R,P)),m.setShape({points:c}),_&&_.setShape({points:c,stackedOnPoints:C})))}else A&&y.updateData(a,{isIgnore:L,clipShape:i,disableAnimation:!0,getSymbolPoint:function(t){return[c[2*t],c[2*t+1]]}}),S&&this._initSymbolLabelAnimation(a,r,i),R&&(C&&(C=j(C,c,r,R,P)),c=j(c,null,r,R,P)),m=this._newPolyline(c),w?_=this._newPolygon(c,C):_&&(x.remove(_),_=this._polygon=null),f||this._initOrUpdateEndLabel(t,r,(0,G.Lz)(Z)),x.setClipPath($(this,r,!0,t));var E=t.getModel("emphasis"),B=E.get("focus"),F=E.get("blurScope"),H=E.get("disabled");m.useStyle(u.ce(s.getLineStyle(),{fill:"none",stroke:Z,lineJoin:"bevel"})),(0,d.WO)(m,t,"lineStyle"),m.style.lineWidth>0&&"bolder"===t.get(["emphasis","lineStyle","width"])&&(m.getState("emphasis").style.lineWidth=+m.style.lineWidth+1),(0,p.A)(m).seriesIndex=t.seriesIndex,(0,d.k5)(m,B,F,H);var W=K(t.get("smooth")),V=t.get("smoothMonotone");if(m.setShape({smooth:W,smoothMonotone:V,connectNulls:P}),_){var Y=a.getCalculationInfo("stackedOnSeries"),q=0;_.useStyle(u.ce(l.getAreaStyle(),{fill:Z,opacity:.7,lineJoin:"bevel",decal:a.getVisual("style").decal})),Y&&(q=K(Y.get("smooth"))),_.setShape({smooth:W,stackedOnSmooth:q,smoothMonotone:V,connectNulls:P}),(0,d.WO)(_,t,"areaStyle"),(0,p.A)(_).seriesIndex=t.seriesIndex,(0,d.k5)(_,B,F,H)}var J=this._changePolyState;a.eachItemGraphicEl(function(t){t&&(t.onHoverStateChange=J)}),this._polyline.onHoverStateChange=J,this._data=a,this._coordSys=r,this._stackedOnPoints=C,this._points=c,this._step=R,this._valueOrigin=b,t.get("triggerLineEvent")&&(this.packEventData(t,m),_&&this.packEventData(t,_))},e.prototype.packEventData=function(t,e){(0,p.A)(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=C.gO(r,i);if(this._changePolyState("emphasis"),o instanceof Array||null==o||!(o>=0))H.Z.prototype.highlight.call(this,t,e,n,i);else{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)||this._clipShapeForSymbol&&!this._clipShapeForSymbol.contain(l,u))return;var h=t.get("zlevel")||0,c=t.get("z")||0;(s=new v(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()}},e.prototype.downplay=function(t,e,n,i){var r=t.getData(),o=C.gO(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 H.Z.prototype.downplay.call(this,t,e,n,i)},e.prototype._changePolyState=function(t){var e=this._polygon;(0,d.Gl)(this._polyline,t),e&&(0,d.Gl)(e,t)},e.prototype._newPolyline=function(t){var e=this._polyline;return e&&this._lineGroup.remove(e),e=new E({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 F({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.mf(l)&&(l=l(null));var h=s.get("animationDelay")||0,c=u.mf(h)?h(null):h;t.eachItemGraphicEl(function(t,o){if(t){var s=[t.x,t.y],p=void 0,d=void 0,f=void 0;if(n)if(r){var g=e.pointToCoord(s);i?(p=n.startAngle,d=n.endAngle,f=-g[1]/180*Math.PI):(p=n.r0,d=n.r,f=g[0])}else i?(p=n.x,d=n.x+n.width,f=t.x):(p=n.y+n.height,d=n.y,f=t.y);var y=d===p?0:(f-p)/(d-p);a&&(y=1-y);var v=u.mf(h)?h(o):l*y+c,m=t.getSymbolPath(),_=m.getTextContent();t.attr({scaleX:0,scaleY:0}),t.animateTo({scaleX:1,scaleY:1},{duration:200,setToFinal:!0,delay:v}),_&&_.animateFrom({style:{opacity:0}},{duration:300,delay:v}),m.disableLabelAnimation=!0}})},e.prototype._initOrUpdateEndLabel=function(t,e,n){var i=t.getModel("endLabel");if(Q(t)){var r,o,a,s=t.getData(),l=this._polyline,u=s.getLayout("points");if(!u){l.removeTextContent(),this._endLabel=null;return}var h=this._endLabel;h||((h=this._endLabel=new D.ZP({z2:200})).ignoreClip=!0,l.setTextContent(this._endLabel),l.disableLabelAnimation=!0);var c=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}(u);c>=0&&((0,g.ni)(l,(0,g.k3)(t,"endLabel"),{inheritColor:n,labelFetcher:t,labelDataIndex:c,defaultText:function(t,e,n){return null!=n?(0,f.O)(s,n):(0,f.H)(s,t)},enableTextSetter:!0},(o=(r=e.getBaseAxis()).isHorizontal(),a=r.inverse,{normal:{align:i.get("align")||(o?a?"right":"left":"center"),verticalAlign:i.get("verticalAlign")||(o?"middle":a?"top":"bottom")}})),l.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(),y=f.isHorizontal(),v=f.inverse,m=e.shape,_=v?y?m.x:m.y+m.height:y?m.x+m.width:m.y,x=(y?d:0)*(v?-1:1),S=(y?0:-d)*(v?-1:1),w=y?"x":"y",b=function(t,e,n){for(var i,r,o=t.length/2,a=+("x"!==n),s=0,l=-1,u=0;u<o;u++)if(!(isNaN(r=t[2*u+a])||isNaN(t[2*u+1-a]))){if(0===u){i=r;continue}if(i<=e&&r>=e||i>=e&&r<=e){l=u;break}s=u,i=r}return{range:[s,l],t:(e-i)/(r-i)}}(u,_,w),M=b.range,T=M[1]-M[0],k=void 0;if(T>=1){if(T>1&&!c){var I=J(u,M[0]);s.attr({x:I[0]+x,y:I[1]+S}),r&&(k=h.getRawValue(M[0]))}else{var I=l.getPointOn(_,w);I&&s.attr({x:I[0]+x,y:I[1]+S});var D=h.getRawValue(M[0]),A=h.getRawValue(M[1]);r&&(k=C.pk(n,p,D,A,b.t))}i.lastFrameIndex=M[0]}else{var P=1===t||i.lastFrameIndex>0?M[0]:0,I=J(u,P);r&&(k=h.getRawValue(P)),s.attr({x:I[0]+x,y:I[1]+S})}if(r){var L=(0,g.qA)(s);"function"==typeof L.setLabelText&&L.setLabelText(k)}}},e.prototype._doUpdateAnimation=function(t,e,n,i,r,o,a){var s=this._polyline,l=this._polygon,u=t.hostModel,c=function(t,e,n,i,r,o,a,s){for(var l,u=(l=[],e.diff(t).add(function(t){l.push({cmd:"+",idx:t})}).update(function(t,e){l.push({cmd:"=",idx:e,idx1:t})}).remove(function(t){l.push({cmd:"-",idx:t})}).execute(),l),h=[],c=[],p=[],d=[],f=[],g=[],y=[],v=M(r,e,a),m=t.getLayout("points")||[],_=e.getLayout("points")||[],x=0;x<u.length;x++){var S=u[x],w=!0,b=void 0,I=void 0;switch(S.cmd){case"=":b=2*S.idx,I=2*S.idx1;var D=m[b],C=m[b+1],A=_[I],P=_[I+1];(isNaN(D)||isNaN(C))&&(D=A,C=P),h.push(D,C),c.push(A,P),p.push(n[b],n[b+1]),d.push(i[I],i[I+1]),y.push(e.getRawIndex(S.idx1));break;case"+":var L=S.idx,O=v.dataDimsForPoint,R=r.dataToPoint([e.get(O[0],L),e.get(O[1],L)]);I=2*L,h.push(R[0],R[1]),c.push(_[I],_[I+1]);var Z=T(v,r,e,L);p.push(Z[0],Z[1]),d.push(i[I],i[I+1]),y.push(e.getRawIndex(L));break;case"-":w=!1}w&&(f.push(S),g.push(g.length))}g.sort(function(t,e){return y[t]-y[e]});for(var N=h.length,z=(0,k.o)(N),E=(0,k.o)(N),B=(0,k.o)(N),F=(0,k.o)(N),H=[],x=0;x<g.length;x++){var W=g[x],V=2*x,G=2*W;z[V]=h[G],z[V+1]=h[G+1],E[V]=c[G],E[V+1]=c[G+1],B[V]=p[G],B[V+1]=p[G+1],F[V]=d[G],F[V+1]=d[G+1],H[x]=f[W]}return{current:z,next:E,stackedOnCurrent:B,stackedOnNext:F,status:H}}(this._data,t,this._stackedOnPoints,e,this._coordSys,0,this._valueOrigin,0),p=c.current,d=c.stackedOnCurrent,f=c.next,g=c.stackedOnNext;if(r&&(d=j(c.stackedOnCurrent,c.current,n,r,a),p=j(c.current,null,n,r,a),g=j(c.stackedOnNext,c.next,n,r,a),f=j(c.next,null,n,r,a)),q(p,f)>3e3||l&&q(d,g)>3e3){s.stopAnimation(),s.setShape({points:f}),l&&(l.stopAnimation(),l.setShape({points:f,stackedOnPoints:g}));return}s.shape.__points=c.current,s.shape.points=p;var y={shape:{points:f}};c.current!==p&&(y.shape.__points=c.next),s.stopAnimation(),h.D(s,y,u),l&&(l.setShape({points:p,stackedOnPoints:d}),l.stopAnimation(),h.D(l,{shape:{stackedOnPoints:g}},u),s.shape.points!==l.shape.points&&(l.shape.points=s.shape.points));for(var v=[],m=c.status,_=0;_<m.length;_++)if("="===m[_].cmd){var x=t.getItemGraphicEl(m[_].idx1);x&&v.push({el:x,ptIdx:_})}s.animators&&s.animators.length&&s.animators[0].during(function(){l&&l.dirtyShape();for(var t=s.shape.__points,e=0;e<v.length;e++){var n=v[e].el,i=2*v[e].ptIdx;n.x=t[i],n.y=t[i+1],n.markRedraw()}})},e.prototype.remove=function(t){var e=this.group,n=this._data;this._lineGroup.removeAll(),this._symbolDraw.remove(!0),n&&n.eachItemGraphicEl(function(t,i){t.__temp&&(e.remove(t),n.setItemGraphicEl(i,null))}),this._polyline=this._polygon=this._coordSys=this._points=this._stackedOnPoints=this._endLabel=this._data=null},e.type="line",e}(H.Z),te=n(94431),tn=n(24488);function ti(t){t.registerChartView(tt),t.registerSeriesModel(l),t.registerLayout({seriesType:"line",plan:(0,te.Z)(),reset:function(t){var e=t.getData(),n=t.coordinateSystem,i=t.pipelineContext,r=!0;if(n){var o=(0,u.UI)(n.dimensions,function(t){return e.mapDimension(t)}).slice(0,2),a=o.length,s=e.getCalculationInfo("stackResultDimension");(0,b.M)(e,o[0])&&(o[0]=s),(0,b.M)(e,o[1])&&(o[1]=s);var l=e.getStore(),h=e.getDimensionIndex(o[0]),c=e.getDimensionIndex(o[1]);return a&&{progress:function(t,e){for(var i=t.end-t.start,o=r&&(0,k.o)(i*a),s=[],u=[],p=t.start,d=0;p<t.end;p++){var f=void 0;if(1===a){var g=l.get(h,p);f=n.dataToPoint(g,null,u)}else s[0]=l.get(h,p),s[1]=l.get(c,p),f=n.dataToPoint(s,null,u);r?(o[d++]=f[0],o[d++]=f[1]):e.setItemLayout(p,f.slice())}r&&e.setLayout("points",o)}}}}}),t.registerVisual({seriesType:"line",reset:function(t){var e=t.getData(),n=t.getModel("lineStyle").getLineStyle();n&&!n.stroke&&(n.stroke=e.getVisual("style").fill),e.setVisual("legendLineStyle",n)}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,(0,tn.Z)("line"))}},33408:function(t,e,n){n.d(e,{Z:()=>o});var i=n(96585),r=n(46451);function o(t,e){var n,o=[],a=t.seriesIndex;if(null==a||!(n=e.getSeriesByIndex(a)))return{point:[]};var s=n.getData(),l=r.gO(s,t);if(null==l||l<0||i.kJ(l))return{point:[]};var u=s.getItemGraphicEl(l),h=n.coordinateSystem;if(n.getTooltipPosition)o=n.getTooltipPosition(l)||[];else if(h&&h.dataToPoint)if(t.isStacked){var c=h.getBaseAxis(),p=h.getOtherAxis(c).dim,d=c.dim,f=+("x"===p||"radius"===p),g=s.mapDimension(d),y=[];y[f]=s.get(g,l),y[1-f]=s.get(s.getCalculationInfo("stackResultDimension"),l),o=h.dataToPoint(y)||[]}else o=h.dataToPoint(s.getValues(i.UI(h.dimensions,function(t){return s.mapDimension(t)}),l))||[];else if(u){var v=u.getBoundingRect().clone();v.applyTransform(u.transform),o=[v.x+v.width/2,v.y+v.height/2]}return{point:o,el:u}}},71270:function(t,e,n){n.d(e,{E:()=>h,z:()=>s});var i=n(96585),r=n(76226),o=(0,n(46451).Yf)(),a=i.S6;function s(t,e,n){if(!r.Z.node){var s=e.getZr();o(s).records||(o(s).records={}),function(t,e){o(t).initialized||(o(t).initialized=!0,n("click",i.WA(u,"click")),n("mousemove",i.WA(u,"mousemove")),n("globalout",l));function n(n,i){t.on(n,function(n){var r,s,l,u,h,c,p,d,f=(r=e,s={showTip:[],hideTip:[]},{dispatchAction:l=function(t){var e=s[t.type];e?e.push(t):(t.dispatchAction=l,r.dispatchAction(t))},pendings:s});a(o(t).records,function(t){t&&i(t,n,f.dispatchAction)}),u=f.pendings,h=e,p=u.showTip.length,d=u.hideTip.length,p?c=u.showTip[p-1]:d&&(c=u.hideTip[d-1]),c&&(c.dispatchAction=null,h.dispatchAction(c))})}}(s,e),(o(s).records[t]||(o(s).records[t]={})).handler=n}}function l(t,e,n){t.handler("leave",null,n)}function u(t,e,n,i){e.handler(t,n,i)}function h(t,e){if(!r.Z.node){var n=e.getZr();(o(n).records||{})[t]&&(o(n).records[t]=null)}}},53079:function(t,e,n){n.d(e,{N:()=>B});var i=n(62786),r=n(12012),o=n(96585),a=n(19171),s=n(19044),l=n(26991),u=n(17524),h=n(70297),c=n(3036),p=n(59524),d=n(46451),f=(0,d.Yf)(),g=o.d9,y=o.ak,v=function(){function t(){this._dragging=!1,this.animationThreshold=15}return t.prototype.render=function(t,e,n,i){var r=e.get("value"),s=e.get("status");if(this._axisModel=t,this._axisPointerModel=e,this._api=n,i||this._lastValue!==r||this._lastStatus!==s){this._lastValue=r,this._lastStatus=s;var l=this._group,u=this._handle;if(!s||"hide"===s){l&&l.hide(),u&&u.hide();return}l&&l.show(),u&&u.show();var h={};this.makeElOption(h,r,t,e,n);var c=h.graphicKey;c!==this._lastGraphicKey&&this.clear(n),this._lastGraphicKey=c;var p=this._moveAnimation=this.determineAnimation(t,e);if(l){var d=o.WA(m,e,p);this.updatePointerEl(l,h,d),this.updateLabelEl(l,h,d,e)}else l=this._group=new a.Z,this.createPointerEl(l,h,t,e),this.createLabelEl(l,h,t,e),n.getZr().add(l);S(l,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=h.r(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=f(t).pointerEl=new s[r.type](g(e.pointer));t.add(o)}},t.prototype.createLabelEl=function(t,e,n,i){if(e.label){var r=f(t).labelEl=new l.ZP(g(e.label));t.add(r),_(r,i)}},t.prototype.updatePointerEl=function(t,e,n){var i=f(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=f(t).labelEl;r&&(r.setStyle(e.label.style),n(r,{x:e.label.x,y:e.label.y}),_(r,i))},t.prototype._renderHandle=function(t){if(!this._dragging&&this.updateHandleTransform){var e,n=this._axisPointerModel,i=this._api.getZr(),r=this._handle,a=n.getModel("handle"),l=n.get("status");if(!a.get("show")||!l||"hide"===l){r&&i.remove(r),this._handle=null;return}this._handle||(e=!0,r=this._handle=s.createIcon(a.get("icon"),{cursor:"move",draggable:!0,onmousemove:function(t){c.sT(t.event)},onmousedown:y(this._onHandleDragMove,this,0,0),drift:y(this._onHandleDragMove,this),ondragend:y(this._onHandleDragEnd,this)}),i.add(r)),S(r,n,!1),r.setStyle(a.getItemStyle(null,["color","borderColor","borderWidth","opacity","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"]));var u=a.get("size");o.kJ(u)||(u=[u,u]),r.scaleX=u[0]/2,r.scaleY=u[1]/2,p.T9(this,"_doDispatchAxisPointer",a.get("throttle")||0,"fixRate"),this._moveHandleToValue(t,e)}},t.prototype._moveHandleToValue=function(t,e){m(this._axisPointerModel,!e&&this._moveAnimation,this._handle,x(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(x(n),[t,e],this._axisModel,this._axisPointerModel);this._payloadInfo=i,n.stopAnimation(),n.attr(x(i)),f(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),p.ZH(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 m(t,e,n,i){!function t(e,n){if(!(o.Kn(e)&&o.Kn(n)))return e===n;var i=!0;return o.S6(n,function(n,r){i=i&&t(e[r],n)}),!!i}(f(n).lastProp,i)&&(f(n).lastProp=i,e?u.D(n,i,t):(n.stopAnimation(),n.attr(i)))}function _(t,e){t[e.get(["label","show"])?"show":"hide"]()}function x(t){return{x:t.x||0,y:t.y||0,rotation:t.rotation||0}}function S(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)})}var w=n(61285),b=n(60891),M=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,r.ZT)(e,t),e.prototype.makeElOption=function(t,e,n,i,r){var o=n.axis,a=o.grid,s=i.get("type"),l=T(a,o).getOtherAxis(o).getGlobalExtent(),u=o.toGlobalCoord(o.dataToCoord(e,!0));if(s&&"none"!==s){var h=w.fk(i),c=k[s](o,u,l);c.style=h,t.graphicKey=c.type,t.pointer=c}var p=b.bK(a.model,n);w.gf(e,t,p,n,i,r)},e.prototype.getHandleTransform=function(t,e,n){var i=b.bK(e.axis.grid.model,e,{labelInside:!1});i.labelMargin=n.get(["handle","margin"]);var r=w.Zh(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=T(o,r).getOtherAxis(r).getGlobalExtent(),l=+("x"!==r.dim),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];return c[l]=u[l],{x:u[0],y:u[1],rotation:t.rotation,cursorPoint:c,tooltipOption:[{verticalAlign:"middle"},{align:"center"}][l]}},e}(v);function T(t,e){var n={};return n[e.dim+"AxisIndex"]=e.index,t.getCartesian(n)}var k={line:function(t,e,n){return{type:"Line",subPixelOptimize:!0,shape:w.BL([e,n[0]],[e,n[1]],I(t))}},shadow:function(t,e,n){var i=Math.max(1,t.getBandWidth()),r=n[1]-n[0];return{type:"Rect",shape:w.uE([e-i/2,n[0]],[i,r],I(t))}}};function I(t){return+("x"!==t.dim)}var D=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(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}(n(68943).Z),C=n(71270),A=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.render=function(t,e,n){var i=e.getComponent("tooltip"),r=t.get("triggerOn")||i&&i.get("triggerOn")||"mousemove|click";C.z("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){C.E("axisPointer",e)},e.prototype.dispose=function(t,e){C.E("axisPointer",e)},e.type="axisPointer",e}(n(28440).Z),P=n(33408),L=(0,d.Yf)();function O(t,e,n){var i=t.currTrigger,r=[t.x,t.y],a=t.dispatchAction||(0,o.ak)(n.dispatchAction,n),s=e.getComponent("axisPointer").coordSysAxesInfo;if(s){E(r)&&(r=(0,P.Z)({seriesIndex:t.seriesIndex,dataIndex:t.dataIndex},e).point);var l,u,h,c,p,d,f,g,y,v,m,_,x=E(r),S=t.axesInfo,w=s.axesInfo,b="leave"===i||E(r),M={},T={},k={list:[],map:{}},I={showPointer:(0,o.WA)(Z,T),showTooltip:(0,o.WA)(N,k)};(0,o.S6)(s.coordSysMap,function(t,e){var n=x||t.containPoint(r);(0,o.S6)(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}}(S,t);if(!b&&n&&(!S||o)){var a=o&&o.value;null!=a||x||(a=i.pointToData(r)),null!=a&&R(t,a,I,!1,M)}})});var D={};return(0,o.S6)(w,function(t,e){var n=t.linkGroup;n&&!T[e]&&(0,o.S6)(n.axesInfo,function(e,i){var r=T[i];if(e!==t&&r){var o=r.value;n.mapper&&(o=t.axis.scale.parse(n.mapper(o,z(e),z(t)))),D[t.key]=o}})}),(0,o.S6)(D,function(t,e){R(w[e],t,I,!0,M)}),l=T,u=w,h=M.axesInfo=[],(0,o.S6)(u,function(t,e){var n=t.axisPointerModel.option,i=l[e];i?(t.useHandle||(n.status="show"),n.value=i.value,n.seriesDataIndices=(i.payloadBatch||[]).slice()):t.useHandle||(n.status="hide"),"show"===n.status&&h.push({axisDim:t.axis.dim,axisIndex:t.axis.model.componentIndex,value:n.value})}),function(t,e,n,i){if(E(e)||!t.list.length)return 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})}(k,r,t,a),c=w,p=0,f=(d=n).getZr(),g="axisPointerLastHighlights",y=L(f)[g]||{},v=L(f)[g]={},(0,o.S6)(c,function(t,e){var n=t.axisPointerModel.option;"show"===n.status&&t.triggerEmphasis&&(0,o.S6)(n.seriesDataIndices,function(t){v[t.seriesIndex+" | "+t.dataIndex]=t})}),m=[],_=[],(0,o.S6)(y,function(t,e){v[e]||_.push(t)}),(0,o.S6)(v,function(t,e){y[e]||m.push(t)}),_.length&&d.dispatchAction({type:"downplay",escapeConnect:!0,notBlur:!0,batch:_}),m.length&&d.dispatchAction({type:"highlight",escapeConnect:!0,notBlur:!0,batch:m}),M}}function R(t,e,n,i,r){var a=t.axis;if(!a.scale.isBlank()&&a.containData(e)){if(!t.involveSeries)return void n.showPointer(t,e);var s,l,u,h,c,p,d,f,g=(s=e,h=(u=(l=t).axis).dim,c=s,p=[],d=Number.MAX_VALUE,f=-1,(0,o.S6)(l.seriesModels,function(t,e){var n,i,r=t.getData().mapDimensionsAll(h);if(t.getAxisTooltipData){var a=t.getAxisTooltipData(r,s,u);i=a.dataIndices,n=a.nestestValue}else{if(!(i=t.getData().indicesOfNearest(r[0],s,"category"===u.type?.5:null)).length)return;n=t.getData().get(r[0],i[0])}if(null!=n&&isFinite(n)){var l=s-n,g=Math.abs(l);g<=d&&((g<d||l>=0&&f<0)&&(d=g,f=l,c=n,p.length=0),(0,o.S6)(i,function(e){p.push({seriesIndex:t.seriesIndex,dataIndexInside:e,dataIndex:t.getData().getRawIndex(e)})}))}}),{payloadBatch:p,snapToValue:c}),y=g.payloadBatch,v=g.snapToValue;y[0]&&null==r.seriesIndex&&(0,o.l7)(r,y[0]),!i&&t.snap&&a.containData(v)&&null!=v&&(e=v),n.showPointer(t,e,y),n.showTooltip(t,g,v)}}function Z(t,e,n,i){t[e.key]={value:n,payloadBatch:i}}function N(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=h.zm(l),c=t.map[u];c||(c=t.map[u]={coordSysId:l.id,coordSysIndex:l.componentIndex,coordSysType:l.type,coordSysMainType:l.mainType,dataByAxis:[]},t.list.push(c)),c.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 z(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 E(t){return!t||null==t[0]||isNaN(t[0])||null==t[1]||isNaN(t[1])}function B(t){i.Z.registerAxisPointerClass("CartesianAxisPointer",M),t.registerComponentModel(D),t.registerComponentView(A),t.registerPreprocessor(function(t){if(t){t.axisPointer&&0!==t.axisPointer.length||(t.axisPointer={});var e=t.axisPointer.link;e&&!(0,o.kJ)(e)&&(t.axisPointer.link=[e])}}),t.registerProcessor(t.PRIORITY.PROCESSOR.STATISTIC,function(t,e){t.getComponent("axisPointer").coordSysAxesInfo=(0,h.KM)(t,e)}),t.registerAction({type:"updateAxisPointer",event:"updateAxisPointer",update:":updateAxisPointer"},O)}},70297:function(t,e,n){n.d(e,{KM:()=>o,iG:()=>s,np:()=>u,r:()=>l,zm:()=>c});var i=n(84456),r=n(96585);function o(t,e){var n,o,s,l,u,p,d,f,g={axesInfo:{},seriesInvolved:!1,coordSysAxesInfo:{},coordSysMap:{}};return n=g,o=t,s=e,l=o.getComponent("tooltip"),p=(u=o.getComponent("axisPointer")).get("link",!0)||[],d=[],(0,r.S6)(s.getCoordinateSystems(),function(t){if(t.axisPointerEnabled){var e=c(t.model),s=n.coordSysAxesInfo[e]={};n.coordSysMap[e]=t;var f=t.model.getModel("tooltip",l);if((0,r.S6)(t.getAxes(),(0,r.WA)(m,!1,null)),t.getTooltipAxes&&l&&f.get("show")){var g="axis"===f.get("trigger"),y="cross"===f.get(["axisPointer","type"]),v=t.getTooltipAxes(f.get(["axisPointer","axis"]));(g||y)&&(0,r.S6)(v.baseAxes,(0,r.WA)(m,!y||"cross",g)),y&&(0,r.S6)(v.otherAxes,(0,r.WA)(m,"cross",!1))}}function m(e,l,g){var y=g.model.getModel("axisPointer",u),v=y.get("show");if(v&&("auto"!==v||e||h(y))){null==l&&(l=y.get("triggerTooltip"));var m=(y=e?function(t,e,n,o,a,s){var l=e.getModel("axisPointer"),u={};(0,r.S6)(["type","snap","lineStyle","shadowStyle","label","animation","animationDurationUpdate","animationEasingUpdate","z"],function(t){u[t]=(0,r.d9)(l.get(t))}),u.snap="category"!==t.type&&!!s,"cross"===l.get("type")&&(u.type="line");var h=u.label||(u.label={});if(null==h.show&&(h.show=!1),"cross"===a){var c=l.get(["label","show"]);if(h.show=null==c||c,!s){var p=u.lineStyle=l.get("crossStyle");p&&(0,r.ce)(h,p.textStyle)}}return t.model.getModel("axisPointer",new i.Z(u,n,o))}(g,f,u,o,e,l):y).get("snap"),_=y.get("triggerEmphasis"),x=c(g.model),S=l||m||"category"===g.type,w=n.axesInfo[x]={key:x,axis:g,coordSys:t,axisPointerModel:y,triggerTooltip:l,triggerEmphasis:_,involveSeries:S,snap:m,useHandle:h(y),seriesModels:[],linkGroup:null};s[x]=w,n.seriesInvolved=n.seriesInvolved||S;var b=function(t,e){for(var n=e.model,i=e.dim,r=0;r<t.length;r++){var o=t[r]||{};if(a(o[i+"AxisId"],n.id)||a(o[i+"AxisIndex"],n.componentIndex)||a(o[i+"AxisName"],n.name))return r}}(p,g);if(null!=b){var M=d[b]||(d[b]={axesInfo:{}});M.axesInfo[x]=w,M.mapper=p[b].mapper,w.linkGroup=M}}}}),g.seriesInvolved&&(f=g,t.eachSeries(function(t){var e=t.coordinateSystem,n=t.get(["tooltip","trigger"],!0),i=t.get(["tooltip","show"],!0);e&&"none"!==n&&!1!==n&&"item"!==n&&!1!==i&&!1!==t.get(["axisPointer","show"],!0)&&(0,r.S6)(f.coordSysAxesInfo[c(e.model)],function(n){var i=n.axis;e.getAxis(i.dim)===i&&(n.seriesModels.push(t),null==n.seriesDataCount&&(n.seriesDataCount=0),n.seriesDataCount+=t.getData().count())})})),g}function a(t,e){return"all"===t||(0,r.kJ)(t)&&(0,r.cq)(t,e)>=0||t===e}function s(t){var e=l(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=h(n);null==o&&(r.status=s?"show":"hide");var u=i.getExtent().slice();u[0]>u[1]&&u.reverse(),(null==a||a>u[1])&&(a=u[1]),a<u[0]&&(a=u[0]),r.value=a,s&&(r.status=e.axis.scale.isBlank()?"hide":"show")}}function l(t){var e=(t.ecModel.getComponent("axisPointer")||{}).coordSysAxesInfo;return e&&e.axesInfo[c(t)]}function u(t){var e=l(t);return e&&e.axisPointerModel}function h(t){return!!t.get(["handle","show"])}function c(t){return t.type+"||"+t.id}},61285:function(t,e,n){n.d(e,{BL:()=>g,Zh:()=>d,fk:()=>c,gf:()=>f,gk:()=>p,uE:()=>y});var i=n(96585),r=n(19044),o=n(45258),a=n(43718),s=n(85215),l=n(589),u=n(46629),h=n(77704);function c(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 p(t,e,n,r,o){t=e.scale.parse(t);var a=e.scale.getLabel({value:t},{precision:o.precision}),s=o.formatter;if(s){var u={value:l.DX(e,{value:t}),axisDimension:e.dim,axisIndex:e.index,seriesData:[]};i.S6(r,function(t){var e=n.getSeriesByIndex(t.seriesIndex),i=t.dataIndexInside,r=e&&e.getDataParams(i);r&&u.seriesData.push(r)}),i.HD(s)?a=s.replace("{value}",a):i.mf(s)&&(a=s(u))}return a}function d(t,e,n){var i=s.Ue();return s.U1(i,i,n.rotation),s.Iu(i,i,n.position),r.applyTransform([t.dataToCoord(e),(n.labelOffset||0)+(n.labelDirection||1)*(n.labelMargin||0)],i)}function f(t,e,n,i,r,s){var l,c,f,g,y,v,m,_,x,S,w,b,M,T,k,I,D,C,A=u.Z.innerTextLayout(n.rotation,0,n.labelDirection);n.labelMargin=r.get(["label","margin"]),m={position:d(i.axis,t,n),align:A.textAlign,verticalAlign:A.textVerticalAlign},_=p(r.get("value"),i.axis,i.ecModel,r.get("seriesDataIndices"),{precision:r.get(["label","precision"]),formatter:r.get(["label","formatter"])}),x=r.getModel("label"),S=a.MY(x.get("padding")||0),w=x.getFont(),b=o.lP(_,w),M=m.position,T=b.width+S[1]+S[3],k=b.height+S[0]+S[2],"right"===(I=m.align)&&(M[0]-=T),"center"===I&&(M[0]-=T/2),"bottom"===(D=m.verticalAlign)&&(M[1]-=k),"middle"===D&&(M[1]-=k/2),l=M,c=T,f=k,y=(g=s).getWidth(),v=g.getHeight(),l[0]=Math.min(l[0]+c,y)-c,l[1]=Math.min(l[1]+f,v)-f,l[0]=Math.max(l[0],0),l[1]=Math.max(l[1],0),(C=x.get("backgroundColor"))&&"auto"!==C||(C=i.get(["axisLine","lineStyle","color"])),e.label={x:M[0],y:M[1],style:(0,h.Lr)(x,{text:_,font:w,fill:x.getTextColor(),padding:S,backgroundColor:C}),z2:10}}function g(t,e,n){return{x1:t[n=n||0],y1:t[1-n],x2:e[n],y2:e[1-n]}}function y(t,e,n){return{x:t[n=n||0],y:t[1-n],width:e[n],height:e[1-n]}}},46629:function(t,e,n){n.d(e,{Z:()=>T});var i=n(96585),r=n(19171),o=n(16504),a=n(19044),s=n(26991),l=n(55413),u=n(77704),h=n(84456),c=n(81731),p=n(44421),d=n(85215),f=n(63261),g=n(589),y=n(70431),v=n(44964),m=Math.PI,_=function(){function t(t,e){this.group=new r.Z,this.opt=e,this.axisModel=t,(0,i.ce)(e,{labelOffset:0,nameDirection:1,tickDirection:1,labelDirection:1,silent:!0,handleAutoShown:function(){return!0}});var n=new r.Z({x:e.position[0],y:e.position[1],rotation:e.rotation});n.updateTransform(),this._transformGroup=n}return t.prototype.hasBuilder=function(t){return!!x[t]},t.prototype.add=function(t){x[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=(0,c.wW)(e-t);return(0,c.mW)(o)?(r=n>0?"top":"bottom",i="center"):(0,c.mW)(o-m)?(r=n>0?"bottom":"top",i="center"):(r="middle",i=o>0&&o<m?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}(),x={axisLine:function(t,e,n,r){var s=e.get(["axisLine","show"]);if("auto"===s&&t.handleAutoShown&&(s=t.handleAutoShown("axisLine")),s){var l=e.axis.getExtent(),u=r.transform,h=[l[0],0],c=[l[1],0],d=h[0]>c[0];u&&((0,f.Ne)(h,h,u),(0,f.Ne)(c,c,u));var g=(0,i.l7)({lineCap:"round"},e.getModel(["axisLine","lineStyle"]).getLineStyle()),y=new o.Z({shape:{x1:h[0],y1:h[1],x2:c[0],y2:c[1]},style:g,strokeContainThreshold:t.strokeContainThreshold||5,silent:!0,z2:1});a.subPixelOptimizeLine(y.shape,y.style.lineWidth),y.anid="line",n.add(y);var v=e.get(["axisLine","symbol"]);if(null!=v){var m=e.get(["axisLine","symbolSize"]);(0,i.HD)(v)&&(v=[v,v]),((0,i.HD)(m)||(0,i.hj)(m))&&(m=[m,m]);var _=(0,p.Cq)(e.get(["axisLine","symbolOffset"])||0,m),x=m[0],S=m[1];(0,i.S6)([{rotate:t.rotation+Math.PI/2,offset:_[0],r:0},{rotate:t.rotation-Math.PI/2,offset:_[1],r:Math.sqrt((h[0]-c[0])*(h[0]-c[0])+(h[1]-c[1])*(h[1]-c[1]))}],function(e,i){if("none"!==v[i]&&null!=v[i]){var r=(0,p.th)(v[i],-x/2,-S/2,x,S,g.stroke,!0),o=e.r+e.offset,a=d?c:h;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,r){var o=function(t,e,n,r){var o=n.axis,a=n.getModel("axisTick"),s=a.get("show");if("auto"===s&&r.handleAutoShown&&(s=r.handleAutoShown("axisTick")),!(!s||o.scale.isBlank())){for(var l=a.getModel("lineStyle"),u=r.tickDirection*a.get("length"),h=M(o.getTicksCoords(),e.transform,u,(0,i.ce)(l.getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])}),"ticks"),c=0;c<h.length;c++)t.add(h[c]);return h}}(n,r,e,t),c=function(t,e,n,r){var o=n.axis;if(!(!(0,i.Jv)(r.axisLabelShow,n.get(["axisLabel","show"]))||o.scale.isBlank())){var c=n.getModel("axisLabel"),p=c.get("margin"),d=o.getViewLabels(),f=((0,i.Jv)(r.labelRotate,c.get("rotate"))||0)*m/180,g=_.innerTextLayout(r.rotation,f,r.labelDirection),y=n.getCategories&&n.getCategories(!0),v=[],x=_.isLabelSilent(n),S=n.get("triggerEvent");return(0,i.S6)(d,function(f,m){var w="ordinal"===o.scale.type?o.scale.getRawOrdinalNumber(f.tickValue):f.tickValue,b=f.formattedLabel,M=f.rawLabel,T=c;if(y&&y[w]){var k=y[w];(0,i.Kn)(k)&&k.textStyle&&(T=new h.Z(k.textStyle,c,n.ecModel))}var I=T.getTextColor()||n.get(["axisLine","lineStyle","color"]),D=o.dataToCoord(w),C=T.getShallow("align",!0)||g.textAlign,A=(0,i.pD)(T.getShallow("alignMinLabel",!0),C),P=(0,i.pD)(T.getShallow("alignMaxLabel",!0),C),L=T.getShallow("verticalAlign",!0)||T.getShallow("baseline",!0)||g.textVerticalAlign,O=(0,i.pD)(T.getShallow("verticalAlignMinLabel",!0),L),R=(0,i.pD)(T.getShallow("verticalAlignMaxLabel",!0),L),Z=new s.ZP({x:D,y:r.labelOffset+r.labelDirection*p,rotation:g.rotation,silent:x,z2:10+(f.level||0),style:(0,u.Lr)(T,{text:b,align:0===m?A:m===d.length-1?P:C,verticalAlign:0===m?O:m===d.length-1?R:L,fill:(0,i.mf)(I)?I("category"===o.type?M:"value"===o.type?w+"":w,m):I})});if(Z.anid="label_"+w,a.setTooltipConfig({el:Z,componentModel:n,itemName:b,formatterParamsExtra:{isTruncated:function(){return Z.isTruncated},value:M,tickIndex:m}}),S){var N=_.makeAxisEventDataBase(n);N.targetType="axisLabel",N.value=M,N.tickIndex=m,"category"===o.type&&(N.dataIndex=w),(0,l.A)(Z).eventData=N}e.add(Z),Z.updateTransform(),v.push(Z),t.add(Z),Z.decomposeTransform()}),v}}(n,r,e,t);(function(t,e,n){if(!(0,g.WY)(t.axis)){var i=t.get(["axisLabel","showMinLabel"]),r=t.get(["axisLabel","showMaxLabel"]);n=n||[];var o=(e=e||[])[0],a=e[1],s=e[e.length-1],l=e[e.length-2],u=n[0],h=n[1],c=n[n.length-1],p=n[n.length-2];!1===i?(S(o),S(u)):w(o,a)&&(i?(S(a),S(h)):(S(o),S(u))),!1===r?(S(s),S(c)):w(l,s)&&(r?(S(l),S(p)):(S(s),S(c)))}})(e,c,o),function(t,e,n,r){var o=n.axis,a=n.getModel("minorTick");if(!(!a.get("show")||o.scale.isBlank())){var s=o.getMinorTicksCoords();if(s.length)for(var l=a.getModel("lineStyle"),u=r*a.get("length"),h=(0,i.ce)(l.getLineStyle(),(0,i.ce)(n.getModel("axisTick").getLineStyle(),{stroke:n.get(["axisLine","lineStyle","color"])})),c=0;c<s.length;c++)for(var p=M(s[c],e.transform,u,h,"minorticks_"+c),d=0;d<p.length;d++)t.add(p[d])}}(n,r,e,t.tickDirection),e.get(["axisLabel","hideOverlap"])&&function(t){var e=[];t.sort(function(t,e){return e.priority-t.priority});var n=new v.Z(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<t.length;r++){var o=t[r],a=o.axisAligned,s=o.localRect,l=o.transform,u=o.label,h=o.labelLine;n.copy(o.rect),n.width-=.1,n.height-=.1,n.x+=.05,n.y+=.05;for(var c=o.obb,p=!1,d=0;d<e.length;d++){var f=e[d];if(n.intersect(f.rect)&&(a&&f.axisAligned||(f.obb||(f.obb=new y.Z(f.localRect,f.transform)),c||(c=new y.Z(s,l)),c.intersect(f.obb)))){p=!0;break}}p?(i(u),h&&i(h)):(u.attr("ignore",o.defaultAttr.ignore),h&&h.attr("ignore",o.defaultAttr.labelGuideIgnore),e.push(o))}}(function(t){for(var e=[],n=0;n<t.length;n++){var i=t[n];if(!i.defaultAttr.ignore){var r=i.label,o=r.getComputedTransform(),a=r.getBoundingRect(),s=!o||o[1]<1e-5&&o[2]<1e-5,l=r.style.margin||0,u=a.clone();u.applyTransform(o),u.x-=l/2,u.y-=l/2,u.width+=l,u.height+=l;var h=s?new y.Z(a,o):null;e.push({label:r,labelLine:i.labelLine,rect:u,localRect:a,obb:h,priority:i.priority,defaultAttr:i.defaultAttr,layoutOption:i.computedLayoutOption,axisAligned:s,transform:o})}}return e}((0,i.UI)(c,function(t){return{label:t,priority:t.z2,defaultAttr:{ignore:t.ignore}}})))},axisName:function(t,e,n,r){var o,h,p=(0,i.Jv)(t.axisName,e.get("name"));if(p){var d,f,g,y,v,x,S,w,M,T=e.get("nameLocation"),k=t.nameDirection,I=e.getModel("nameTextStyle"),D=e.get("nameGap")||0,C=e.axis.getExtent(),A=C[0]>C[1]?-1:1,P=["start"===T?C[0]-A*D:"end"===T?C[1]+A*D:(C[0]+C[1])/2,b(T)?t.labelOffset+k*D:0],L=e.get("nameRotate");null!=L&&(L=L*m/180),b(T)?o=_.innerTextLayout(t.rotation,null!=L?L:t.rotation,k):(d=t.rotation,f=T,g=L||0,y=C,S=(0,c.wW)(g-d),w=y[0]>y[1],M="start"===f&&!w||"start"!==f&&w,(0,c.mW)(S-m/2)?(x=M?"bottom":"top",v="center"):(0,c.mW)(S-1.5*m)?(x=M?"top":"bottom",v="center"):(x="middle",v=S<1.5*m&&S>m/2?M?"left":"right":M?"right":"left"),o={rotation:S,textAlign:v,textVerticalAlign:x},null!=(h=t.axisNameAvailableWidth)&&(isFinite(h=Math.abs(h/Math.sin(o.rotation)))||(h=null)));var O=I.getFont(),R=e.get("nameTruncate",!0)||{},Z=R.ellipsis,N=(0,i.Jv)(t.nameTruncateMaxWidth,R.maxWidth,h),z=new s.ZP({x:P[0],y:P[1],rotation:o.rotation,silent:_.isLabelSilent(e),style:(0,u.Lr)(I,{text:p,font:O,overflow:"truncate",width:N,ellipsis:Z,fill:I.getTextColor()||e.get(["axisLine","lineStyle","color"]),align:I.get("align")||o.textAlign,verticalAlign:I.get("verticalAlign")||o.textVerticalAlign}),z2:1});if(a.setTooltipConfig({el:z,componentModel:e,itemName:p}),z.__fullText=p,z.anid="name",e.get("triggerEvent")){var E=_.makeAxisEventDataBase(e);E.targetType="axisName",E.name=p,(0,l.A)(z).eventData=E}r.add(z),z.updateTransform(),n.add(z),z.decomposeTransform()}}};function S(t){t&&(t.ignore=!0)}function w(t,e){var n=t&&t.getBoundingRect().clone(),i=e&&e.getBoundingRect().clone();if(n&&i){var r=d.yR([]);return d.U1(r,r,-t.rotation),n.applyTransform(d.dC([],r,t.getLocalTransform())),i.applyTransform(d.dC([],r,e.getLocalTransform())),n.intersect(i)}}function b(t){return"middle"===t||"center"===t}function M(t,e,n,i,r){for(var s=[],l=[],u=[],h=0;h<t.length;h++){var c=t[h].coord;l[0]=c,l[1]=0,u[0]=c,u[1]=n,e&&((0,f.Ne)(l,l,e),(0,f.Ne)(u,u,e));var p=new o.Z({shape:{x1:l[0],y1:l[1],x2:u[0],y2:u[1]},style:i,z2:2,autoBatch:!0,silent:!0});a.subPixelOptimizeLine(p.shape,p.style.lineWidth),p.anid=r+"_"+t[h].tickValue,s.push(p)}return s}let T=_},62786:function(t,e,n){n.d(e,{Z:()=>s});var i=n(12012),r=n(70297),o=n(28440),a={};let s=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,o){this.axisPointerClass&&r.iG(e),t.prototype.render.apply(this,arguments),this._doUpdateAxisPointerClass(e,i,!0)},e.prototype.updateAxisPointer=function(t,e,n,i){this._doUpdateAxisPointerClass(t,n,!1)},e.prototype.remove=function(t,e){var n=this._axisPointer;n&&n.remove(e)},e.prototype.dispose=function(e,n){this._disposeAxisPointer(n),t.prototype.dispose.apply(this,arguments)},e.prototype._doUpdateAxisPointerClass=function(t,n,i){var o=e.getAxisPointerClass(this.axisPointerClass);if(o){var a=r.np(t);a?(this._axisPointer||(this._axisPointer=new o)).render(t,a,n,i):this._disposeAxisPointer(n)}},e.prototype._disposeAxisPointer=function(t){this._axisPointer&&this._axisPointer.dispose(t),this._axisPointer=null},e.registerAxisPointerClass=function(t,e){a[t]=e},e.getAxisPointerClass=function(t){return t&&a[t]},e.type="axis",e}(o.Z)},58964:function(t,e,n){n.d(e,{N:()=>h});var i=n(12012),r=n(68943),o=n(28440),a=n(15693),s=n(62239),l=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.prototype.init=function(e,n,i){t.prototype.init.call(this,e,n,i),this._sourceManager=new s.U(this),(0,s.t)(this)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),(0,s.t)(this)},e.prototype.optionUpdated=function(){this._sourceManager.dirty()},e.prototype.getSourceManager=function(){return this._sourceManager},e.type="dataset",e.defaultOption={seriesLayoutBy:a.fY},e}(r.Z),u=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="dataset",e}return(0,i.ZT)(e,t),e.type="dataset",e}(o.Z);function h(t){t.registerComponentModel(l),t.registerComponentView(u)}},95691:function(t,e,n){n.d(e,{N:()=>tg});var i=n(12012),r=n(28440),o=n(68943),a=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(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}(o.Z),s=n(40361),l=n(96585),u=function(){function t(){}return t.prototype.getNeedCrossZero=function(){return!this.option.scale},t.prototype.getCoordSysModel=function(){},t}(),h=n(46451),c=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.getCoordSysModel=function(){return this.getReferringComponents("grid",h.C6).models[0]},e.type="cartesian2dAxis",e}(o.Z);l.jB(c,u);var p={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,showMinLine:!0,showMaxLine:!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)"]}}},d=l.TS({boundaryGap:!0,deduplication:null,splitLine:{show:!1},axisTick:{alignWithLabel:!1,interval:"auto"},axisLabel:{interval:"auto"}},p),f=l.TS({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}}},p),g=l.TS({splitNumber:6,axisLabel:{showMinLabel:!1,showMaxLabel:!1,rich:{primary:{fontWeight:"bold"}}},splitLine:{show:!1}},f),y=l.ce({logBase:10},f);let v={category:d,value:f,time:g,log:y};var m=n(37624),_=n(16436),x={value:1,category:1,time:1,log:1};function S(t,e,n,r){(0,l.S6)(x,function(o,a){var s=(0,l.TS)((0,l.TS)({},v[a],!0),r,!0),u=function(t){function n(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e+"Axis."+a,n}return(0,i.ZT)(n,t),n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,m.YD)(this),i=n?(0,m.tE)(t):{},r=e.getTheme();(0,l.TS)(t,r.get(a+"Axis")),(0,l.TS)(t,this.getDefaultOption()),t.type=w(t),n&&(0,m.dt)(t,i,n)},n.prototype.optionUpdated=function(){"category"===this.option.type&&(this.__ordinalMeta=_.Z.createByAxisModel(this))},n.prototype.getCategories=function(t){var e=this.option;if("category"===e.type)return t?e.data:this.__ordinalMeta.categories},n.prototype.getOrdinalMeta=function(){return this.__ordinalMeta},n.type=e+"Axis."+a,n.defaultOption=s,n}(n);t.registerComponentModel(u)}),t.registerSubTypeDefaulter(e+"Axis",w)}function w(t){return t.type||(t.data?"category":"value")}var b=n(589),M=n(44964),T=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 l.UI(this._dimList,function(t){return this._axes[t]},this)},t.prototype.getAxesByScale=function(t){return t=t.toLowerCase(),l.hX(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}(),k=n(85215),I=n(63261),D=["x","y"];function C(t){return"interval"===t.type||"time"===t.type}var A=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="cartesian2d",e.dimensions=D,e}return(0,i.ZT)(e,t),e.prototype.calcAffineTransform=function(){this._transform=this._invTransform=null;var t=this.getAxis("x").scale,e=this.getAxis("y").scale;if(C(t)&&C(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=(0,k.U_)([],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 M.Z(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(0,I.Ne)(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(0,I.Ne)(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 M.Z(i,r,o,a)},e}(T),P=n(81731),L=n(45258),O=(0,h.Yf)();function R(t,e){var n=l.UI(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 Z(t,e){var n,i,r,o,a=N(t,"labels"),s=(0,b.rk)(e),u=z(a,s);return u||(l.mf(s)?r=F(t,s):(o="auto"===s?null!=(i=O(n=t).autoInterval)?i:O(n).autoInterval=n.calculateCategoryInterval():s,r=B(t,o)),E(a,s,{labels:r,labelCategoryInterval:o}))}function N(t,e){return O(t)[e]||(O(t)[e]=[])}function z(t,e){for(var n=0;n<t.length;n++)if(t[n].key===e)return t[n].value}function E(t,e,n){return t.push({key:e,value:n}),n}function B(t,e,n){var i=(0,b.J9)(t),r=t.scale,o=r.getExtent(),a=t.getLabelModel(),s=[],l=Math.max((e||0)+1,1),u=o[0],h=r.count();0!==u&&l>1&&h/l>2&&(u=Math.round(Math.ceil(u/l)*l));var c=(0,b.WY)(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 F(t,e,n){var i=t.scale,r=(0,b.J9)(t),o=[];return l.S6(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 H=[0,1];function W(t,e){var n=(t[1]-t[0])/e/2;t[0]+=n,t[1]-=n}var V=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(0,i.ZT)(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)]),e)},e.prototype.setCategorySortInfo=function(t){if("category"!==this.type)return!1;this.model.option.categorySortInfo=t,this.scale.setSortInfo(t)},e}(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(0,P.M9)(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&&W(n=n.slice(),i.count()),(0,P.NU)(t,H,n,e)},t.prototype.coordToData=function(t,e){var n=this._extent,i=this.scale;this.onBand&&"ordinal"===i.type&&W(n=n.slice(),i.count());var r=(0,P.NU)(t,n,H,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=function(t,e){var n=t.getTickModel().get("customValues");if(n){var i=t.scale.getExtent(),r=R(t,n);return{ticks:l.hX(r,function(t){return t>=i[0]&&t<=i[1]})}}return"category"===t.type?function(t,e){var n,i,r=N(t,"ticks"),o=(0,b.rk)(e),a=z(r,o);if(a)return a;if((!e.get("show")||t.scale.isBlank())&&(n=[]),l.mf(o))n=F(t,o,!0);else if("auto"===o){var s=Z(t,t.getLabelModel());i=s.labelCategoryInterval,n=l.UI(s.labels,function(t){return t.tickValue})}else n=B(t,i=o,!0);return E(r,o,{ticks:n,tickCategoryInterval:i})}(t,e):{ticks:l.UI(t.scale.getTicks(),function(t){return t.value})}}(this,e).ticks,i=(0,l.UI)(n,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,o,a=e.length;if(t.onBand&&!n&&a){var s=t.getExtent();if(1===a)e[0].coord=s[0],r=e[1]={coord:s[1],tickValue:e[0].tickValue};else{var u=e[a-1].tickValue-e[0].tickValue,h=(e[a-1].coord-e[0].coord)/u;(0,l.S6)(e,function(t){t.coord-=h/2});var c=t.scale.getExtent();o=1+c[1]-e[a-1].tickValue,r={coord:e[a-1].coord+h*o,tickValue:c[1]+1},e.push(r)}var p=s[0]>s[1];d(e[0].coord,s[0])&&(i?e[0].coord=s[0]:e.shift()),i&&d(s[0],e[0].coord)&&e.unshift({coord:s[0]}),d(s[1],r.coord)&&(i?r.coord=s[1]:e.pop()),i&&d(r.coord,s[1])&&e.push({coord:s[1]})}function d(t,e){return t=(0,P.NM)(t),e=(0,P.NM)(e),p?t>e:t<e}}(this,i,e.get("alignWithLabel"),t.clamp),i},t.prototype.getMinorTicksCoords=function(){if("ordinal"===this.scale.type)return[];var t=this.model.getModel("minorTick").get("splitNumber");t>0&&t<100||(t=5);var e=this.scale.getMinorTicks(t);return(0,l.UI)(e,function(t){return(0,l.UI)(t,function(t){return{coord:this.dataToCoord(t),tickValue:t}},this)},this)},t.prototype.getViewLabels=function(){return function(t){var e,n,i,r,o,a,s=t.getLabelModel().get("customValues");if(s){var u=(0,b.J9)(t),h=t.scale.getExtent(),c=R(t,s),p=l.hX(c,function(t){return t>=h[0]&&t<=h[1]});return{labels:l.UI(p,function(e){var n={value:e};return{formattedLabel:u(n),rawLabel:t.scale.getLabel(n),tickValue:e}})}}return"category"===t.type?(n=(e=t).getLabelModel(),i=Z(e,n),!n.get("show")||e.scale.isBlank()?{labels:[],labelCategoryInterval:i.labelCategoryInterval}:i):(o=(r=t).scale.getTicks(),a=(0,b.J9)(r),{labels:l.UI(o,function(t,e){return{level:t.level,formattedLabel:a(t,e),rawLabel:r.scale.getLabel(t),tickValue:t.value}})})}(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;return 0===n&&(n=1),Math.abs(Math.abs(t[1]-t[0]))/n},t.prototype.calculateCategoryInterval=function(){return function(t){var e,n,i=(n=(e=t).getLabelModel(),{axisRotate:e.getRotate?e.getRotate():e.isHorizontal&&!e.isHorizontal()?90:0,labelRotate:n.get("rotate")||0,font:n.getFont()}),r=(0,b.J9)(t),o=(i.axisRotate-i.labelRotate)/180*Math.PI,a=t.scale,s=a.getExtent(),l=a.count();if(s[1]-s[0]<1)return 0;var u=1;l>40&&(u=Math.max(1,Math.floor(l/40)));for(var h=s[0],c=t.dataToCoord(h+1)-t.dataToCoord(h),p=Math.abs(c*Math.cos(o)),d=Math.abs(c*Math.sin(o)),f=0,g=0;h<=s[1];h+=u){var y=0,v=0,m=L.lP(r({value:h}),i.font,"center","top");y=1.3*m.width,v=1.3*m.height,f=Math.max(f,y,7),g=Math.max(g,v,7)}var _=f/p,x=g/d;isNaN(_)&&(_=1/0),isNaN(x)&&(x=1/0);var S=Math.max(0,Math.floor(Math.min(_,x))),w=O(t.model),M=t.getExtent(),T=w.lastAutoInterval,k=w.lastTickCount;return null!=T&&null!=k&&1>=Math.abs(T-S)&&1>=Math.abs(k-l)&&T>S&&w.axisExtent0===M[0]&&w.axisExtent1===M[1]?S=T:(w.lastTickCount=l,w.lastAutoInterval=S,w.axisExtent0=M[0],w.axisExtent1=M[1]),S}(this)},t}()),G=n(60891),U=n(72034),X=n(36700),Y=Math.log,q=function(){function t(t,e,n){this.type="grid",this._coordsMap={},this._coordsList=[],this._axesMap={},this._axesList=[],this.axisPointerEnabled=!0,this.dimensions=D,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=(0,l.XP)(t),i=n.length;if(i){for(var r=[],o=i-1;o>=0;o--){var a=t[+n[o]],s=a.model,u=a.scale;(0,U.lM)(u)&&s.get("alignTicks")&&null==s.get("interval")?r.push(a):((0,b.Jk)(u,s),(0,U.lM)(u)&&(e=a))}r.length&&(e||(e=r.pop(),(0,b.Jk)(e.scale,e.model)),(0,l.S6)(r,function(t){!function(t,e,n){var i=X.Z.prototype,r=i.getTicks.call(n),o=i.getTicks.call(n,!0),a=r.length-1,s=i.getInterval.call(n),l=(0,b.Xv)(t,e),u=l.extent,h=l.fixMin,c=l.fixMax;if("log"===t.type){var p=Y(t.base);u=[Y(u[0])/p,Y(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;y<u[1]&&isFinite(y)&&isFinite(u[1]);)f=(0,U.r1)(f),y=u[0]+f*a;else if(c)for(g=u[1]-f*a;g>u[0]&&isFinite(g)&&isFinite(u[0]);)f=(0,U.r1)(f),g=u[1]-f*a;else{t.getTicks().length-1>a&&(f=(0,U.r1)(f));var v=f*a;y=Math.ceil(u[1]/f)*f,(g=(0,P.NM)(y-v))<0&&u[0]>=0?(g=0,y=(0,P.NM)(v)):y>0&&u[1]<=0&&(y=0,g=-(0,P.NM)(v))}var m=(r[0].value-o[0].value)/s,_=(r[a].value-o[a].value)/s;i.setExtent.call(t,g+f*m,y+f*_),i.setInterval.call(t,f),(m||_)&&i.setNiceExtent.call(t,g+f,y-f)}(t.scale,t.model,e.scale)}))}}this._updateScale(t,this.model),i(n.x),i(n.y);var r={};(0,l.S6)(n.x,function(t){j(n,"y",t,r)}),(0,l.S6)(n.y,function(t){j(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=(0,m.ME)(i,{width:e.getWidth(),height:e.getHeight()});this._rect=o;var a=this._axesList;function s(){(0,l.S6)(a,function(t){var e,n,i,r,a=t.isHorizontal(),s=a?[0,o.width]:[0,o.height],l=+!!t.inverse;t.setExtent(s[l],s[1-l]),e=t,n=a?o.x:o.y,r=(i=e.getExtent())[0]+i[1],e.toGlobalCoord="x"===e.dim?function(t){return t+n}:function(t){return r-t+n},e.toLocalCoord="x"===e.dim?function(t){return t-n}:function(t){return r-t+n}})}s(),r&&((0,l.S6)(a,function(t){if(!t.model.get(["axisLabel","inside"])){var e=(0,b.Do)(t);if(e){var n=t.isHorizontal()?"height":"width",i=t.model.get(["axisLabel","margin"]);o[n]-=e[n]+i,"top"===t.position?o.y+=e.height+i:"left"===t.position&&(o.x+=e.width+i)}}}),s()),(0,l.S6)(this._coordsList,function(t){t.calcAffineTransform()})},t.prototype.getAxis=function(t,e){var n=this._axesMap[t];if(null!=n)return n[e||0]},t.prototype.getAxes=function(){return this._axesList.slice()},t.prototype.getCartesian=function(t,e){if(null!=t&&null!=e){var n="x"+t+"y"+e;return this._coordsMap[n]}(0,l.Kn)(t)&&(e=t.yAxisIndex,t=t.xAxisIndex);for(var i=0,r=this._coordsList;i<r.length;i++)if(r[i].getAxis("x").index===t||r[i].getAxis("y").index===e)return r[i]},t.prototype.getCartesians=function(){return this._coordsList.slice()},t.prototype.convertToPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.dataToPoint(n):i.axis?i.axis.toGlobalCoord(i.axis.dataToCoord(n)):null},t.prototype.convertFromPixel=function(t,e,n){var i=this._findConvertTarget(e);return i.cartesian?i.cartesian.pointToData(n):i.axis?i.axis.coordToData(i.axis.toLocalCoord(n)):null},t.prototype._findConvertTarget=function(t){var e,n,i=t.seriesModel,r=t.xAxisModel||i&&i.getReferringComponents("xAxis",h.C6).models[0],o=t.yAxisModel||i&&i.getReferringComponents("yAxis",h.C6).models[0],a=t.gridModel,s=this._coordsList;return i?(e=i.coordinateSystem,0>(0,l.cq)(s,e)&&(e=null)):r&&o?e=this.getCartesian(r.componentIndex,o.componentIndex):r?n=this.getAxis("x",r.componentIndex):o?n=this.getAxis("y",o.componentIndex):a&&a.coordinateSystem===this&&(e=this._coordsList[0]),{cartesian:e,axis:n}},t.prototype.containPoint=function(t){var e=this._coordsList[0];if(e)return e.containPoint(t)},t.prototype._initCartesian=function(t,e,n){var i=this,r=this,o={left:!1,right:!1,top:!1,bottom:!1},a={x:{},y:{}},s={x:0,y:0};if(e.eachComponent("xAxis",u("x"),this),e.eachComponent("yAxis",u("y"),this),!s.x||!s.y){this._axesMap={},this._axesList=[];return}function u(e){return function(n,i){if(K(n,t)){var l=n.get("position");"x"===e?"top"!==l&&"bottom"!==l&&(l=o.bottom?"top":"bottom"):"left"!==l&&"right"!==l&&(l=o.left?"right":"left"),o[l]=!0;var u=new V(e,(0,b.aG)(n),[0,0],n.get("type"),l),h="category"===u.type;u.onBand=h&&n.get("boundaryGap"),u.inverse=n.get("inverse"),n.axis=u,u.model=n,u.grid=r,u.index=i,r._axesList.push(u),a[e][i]=u,s[e]++}}}this._axesMap=a,(0,l.S6)(a.x,function(e,n){(0,l.S6)(a.y,function(r,o){var a="x"+n+"y"+o,s=new A(a);s.master=i,s.model=t,i._coordsMap[a]=s,i._coordsList.push(s),s.addAxis(e),s.addAxis(r)})})},t.prototype._updateScale=function(t,e){function n(t,e){(0,l.S6)((0,b.PY)(t,e.dim),function(n){e.scale.unionExtentFromData(t,n)})}(0,l.S6)(this._axesList,function(t){if(t.scale.setExtent(1/0,-1/0),"category"===t.type){var e=t.model.get("categorySortInfo");t.scale.setSortInfo(e)}}),t.eachSeries(function(t){if((0,G.Yh)(t)){var i=(0,G.Mk)(t),r=i.xAxisModel,o=i.yAxisModel;if(K(r,e)&&K(o,e)){var a=this.getCartesian(r.componentIndex,o.componentIndex),s=t.getData(),l=a.getAxis("x"),u=a.getAxis("y");n(s,l),n(s,u)}}},this)},t.prototype.getTooltipAxes=function(t){var e=[],n=[];return(0,l.S6)(this.getCartesians(),function(i){var r=null!=t&&"auto"!==t?i.getAxis(t):i.getBaseAxis(),o=i.getOtherAxis(r);0>(0,l.cq)(e,r)&&e.push(r),0>(0,l.cq)(n,o)&&n.push(o)}),{baseAxes:e,otherAxes:n}},t.create=function(e,n){var i=[];return e.eachComponent("grid",function(r,o){var a=new t(r,e,n);a.name="grid_"+o,a.resize(r,n,!0),r.coordinateSystem=a,i.push(a)}),e.eachSeries(function(t){if((0,G.Yh)(t)){var e=(0,G.Mk)(t),n=e.xAxisModel,i=e.yAxisModel;t.coordinateSystem=n.getCoordSysModel().coordinateSystem.getCartesian(n.componentIndex,i.componentIndex)}}),i},t.dimensions=D,t}();function K(t,e){return t.getCoordSysModel()===e}function j(t,e,n,i){n.getAxesOnZeroOf=function(){return r?[r]:[]};var r,o=t[e],a=n.model,s=a.get(["axisLine","onZero"]),l=a.get(["axisLine","onZeroAxisIndex"]);if(s){if(null!=l)J(o[l])&&(r=o[l]);else for(var u in o)if(o.hasOwnProperty(u)&&J(o[u])&&!i[h(o[u])]){r=o[u];break}r&&(i[h(r)]=!0)}function h(t){return t.dim+"_"+t.index}}function J(t){return t&&"category"!==t.type&&"time"!==t.type&&(0,b.Yb)(t)}var Q=n(19171),$=n(19044),tt=n(16504),te=n(46629),tn=n(62786),ti=(0,h.Yf)(),tr=["axisLine","axisTickLabel","axisName"],to=["splitArea","splitLine","minorSplitLine"],ta=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.axisPointerClass="CartesianAxisPointer",n}return(0,i.ZT)(e,t),e.prototype.render=function(e,n,i,r){this.group.removeAll();var o=this._axisGroup;if(this._axisGroup=new Q.Z,this.group.add(this._axisGroup),e.get("show")){var a=e.getCoordSysModel(),s=G.bK(a,e),u=new te.Z(e,l.l7({handleAutoShown:function(t){for(var n=a.coordinateSystem.getCartesians(),i=0;i<n.length;i++)if((0,U.lM)(n[i].getOtherAxis(e.axis).scale))return!0;return!1}},s));l.S6(tr,u.add,u),this._axisGroup.add(u.getGroup()),l.S6(to,function(t){e.get([t,"show"])&&ts[t](this,this._axisGroup,e,a)},this),r&&"changeAxisOrder"===r.type&&r.isInitSort||$.groupTransition(o,this._axisGroup,e),t.prototype.render.call(this,e,n,i,r)}},e.prototype.remove=function(){ti(this).splitAreaColors=null},e.type="cartesianAxis",e}(tn.Z),ts={splitLine:function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitLine"),a=o.getModel("lineStyle"),s=a.get("color"),u=!1!==o.get("showMinLine"),h=!1!==o.get("showMaxLine");s=l.kJ(s)?s:[s];for(var c=i.coordinateSystem.getRect(),p=r.isHorizontal(),d=0,f=r.getTicksCoords({tickModel:o}),g=[],y=[],v=a.getLineStyle(),m=0;m<f.length;m++){var _=r.toGlobalCoord(f[m].coord);if((0!==m||u)&&(m!==f.length-1||h)){var x=f[m].tickValue;p?(g[0]=_,g[1]=c.y,y[0]=_,y[1]=c.y+c.height):(g[0]=c.x,g[1]=_,y[0]=c.x+c.width,y[1]=_);var S=d++%s.length,w=new tt.Z({anid:null!=x?"line_"+x:null,autoBatch:!0,shape:{x1:g[0],y1:g[1],x2:y[0],y2:y[1]},style:l.ce({stroke:s[S]},v),silent:!0});$.subPixelOptimizeLine(w.shape,v.lineWidth),e.add(w)}}}},minorSplitLine:function(t,e,n,i){var r=n.axis,o=n.getModel("minorSplitLine").getModel("lineStyle"),a=i.coordinateSystem.getRect(),s=r.isHorizontal(),l=r.getMinorTicksCoords();if(l.length)for(var u=[],h=[],c=o.getLineStyle(),p=0;p<l.length;p++)for(var d=0;d<l[p].length;d++){var f=r.toGlobalCoord(l[p][d].coord);s?(u[0]=f,u[1]=a.y,h[0]=f,h[1]=a.y+a.height):(u[0]=a.x,u[1]=f,h[0]=a.x+a.width,h[1]=f);var g=new tt.Z({anid:"minor_line_"+l[p][d].tickValue,autoBatch:!0,shape:{x1:u[0],y1:u[1],x2:h[0],y2:h[1]},style:c,silent:!0});$.subPixelOptimizeLine(g.shape,c.lineWidth),e.add(g)}},splitArea:function(t,e,n,i){!function(t,e,n,i){var r=n.axis;if(!r.scale.isBlank()){var o=n.getModel("splitArea"),a=o.getModel("areaStyle"),u=a.get("color"),h=i.coordinateSystem.getRect(),c=r.getTicksCoords({tickModel:o,clamp:!0});if(c.length){var p=u.length,d=ti(t).splitAreaColors,f=l.kW(),g=0;if(d)for(var y=0;y<c.length;y++){var v=d.get(c[y].tickValue);if(null!=v){g=(v+(p-1)*y)%p;break}}var m=r.toGlobalCoord(c[0].coord),_=a.getAreaStyle();u=l.kJ(u)?u:[u];for(var y=1;y<c.length;y++){var x=r.toGlobalCoord(c[y].coord),S=void 0,w=void 0,b=void 0,M=void 0;r.isHorizontal()?(S=m,w=h.y,b=x-S,M=h.height,m=S+b):(S=h.x,w=m,b=h.width,M=x-w,m=w+M);var T=c[y-1].tickValue;null!=T&&f.set(T,g),e.add(new s.Z({anid:null!=T?"area_"+T:null,shape:{x:S,y:w,width:b,height:M},style:l.ce({fill:u[g]},_),autoBatch:!0,silent:!0})),g=(g+1)%p}ti(t).splitAreaColors=f}}}(t,e,n,i)}},tl=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.type="xAxis",e}(ta),tu=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type=tl.type,e}return(0,i.ZT)(e,t),e.type="yAxis",e}(ta),th=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="grid",e}return(0,i.ZT)(e,t),e.prototype.render=function(t,e){this.group.removeAll(),t.get("show")&&this.group.add(new s.Z({shape:t.coordinateSystem.getRect(),style:(0,l.ce)({fill:t.get("backgroundColor")},t.getItemStyle()),silent:!0,z2:-1}))},e.type="grid",e}(r.Z),tc={offset:0};function tp(t){t.registerComponentView(th),t.registerComponentModel(a),t.registerCoordinateSystem("cartesian2d",q),S(t,"x",c,tc),S(t,"y",c,tc),t.registerComponentView(tl),t.registerComponentView(tu),t.registerPreprocessor(function(t){t.xAxis&&t.yAxis&&!t.grid&&(t.grid={})})}var td=n(53079),tf=n(70392);function tg(t){(0,tf.D)(tp),(0,tf.D)(td.N)}},45334:function(t,e,n){n.d(e,{N:()=>V});var i=n(70392),r=n(12012),o=n(96585),a=n(84456),s=n(46451),l=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(0,r.ZT)(e,t),e.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n),t.selected=t.selected||{},this._updateSelector(t)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),this._updateSelector(e)},e.prototype._updateSelector=function(t){var e=t.selector,n=this.ecModel;!0===e&&(e=t.selector=["all","inverse"]),o.kJ(e)&&o.S6(e,function(t,i){var r;o.HD(t)&&(t={type:t}),e[i]=o.TS(t,"all"===(r=t.type)?{type:"all",title:n.getLocaleModel().get(["legend","selector","all"])}:"inverse"===r?{type:"inverse",title:n.getLocaleModel().get(["legend","selector","inverse"])}:void 0)})},e.prototype.optionUpdated=function(){this._updateData(this.ecModel);var t=this._data;if(t[0]&&"single"===this.get("selectedMode")){for(var e=!1,n=0;n<t.length;n++){var i=t[n].get("name");if(this.isSelected(i)){this.select(i),e=!0;break}}e||this.select(t[0].get("name"))}},e.prototype._updateData=function(t){var e=[],n=[];t.eachRawSeries(function(i){var r,o=i.name;if(n.push(o),i.legendVisualProvider){var a=i.legendVisualProvider.getAllNames();t.isSeriesFiltered(i)||(n=n.concat(a)),a.length?e=e.concat(a):r=!0}else r=!0;r&&(0,s.yu)(i)&&e.push(i.name)}),this._availableNames=n;var i=this.get("data")||e,r=o.kW(),l=o.UI(i,function(t){return((o.HD(t)||o.hj(t))&&(t={name:t}),r.get(t.name))?null:(r.set(t.name,!0),new a.Z(t,this,this.ecModel))},this);this._data=o.hX(l,function(t){return!!t})},e.prototype.getData=function(){return this._data},e.prototype.select=function(t){var e=this.option.selected;if("single"===this.get("selectedMode")){var n=this._data;o.S6(n,function(t){e[t.get("name")]=!1})}e[t]=!0},e.prototype.unSelect=function(t){"single"!==this.get("selectedMode")&&(this.option.selected[t]=!1)},e.prototype.toggleSelected=function(t){var e=this.option.selected;e.hasOwnProperty(t)||(e[t]=!0),this[e[t]?"unSelect":"select"](t)},e.prototype.allSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){e[t.get("name",!0)]=!0})},e.prototype.inverseSelect=function(){var t=this._data,e=this.option.selected;o.S6(t,function(t){var n=t.get("name",!0);e.hasOwnProperty(n)||(e[n]=!0),e[n]=!e[n]})},e.prototype.isSelected=function(t){var e=this.option.selected;return!(e.hasOwnProperty(t)&&!e[t])&&o.cq(this._availableNames,t)>=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}(n(68943).Z),u=n(67375),h=n(19171),c=n(26991),p=n(40361),d=n(19044),f=n(63344),g=n(77704),y=n(43718),v=n(37624),m=n(28440),_=n(44421),x=n(33398),S=n(55413),w=o.WA,b=o.S6,M=h.Z,T=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!1,n}return(0,r.ZT)(e,t),e.prototype.init=function(){this.group.add(this._contentGroup=new M),this.group.add(this._selectorGroup=new M),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,a,s,l=t.get("align"),u=t.get("orient");l&&"auto"!==l||(l="right"===t.get("left")&&"vertical"===u?"right":"left");var h=t.get("selector",!0),c=t.get("selectorPosition",!0);h&&(!c||"auto"===c)&&(c="horizontal"===u?"end":"start"),this.renderInner(l,t,e,n,h,u,c);var d=t.getBoxLayoutParams(),f={width:n.getWidth(),height:n.getHeight()},g=t.get("padding"),m=v.ME(d,f,g),_=this.layoutInner(t,l,m,i,h,c),x=v.ME(o.ce({width:_.width,height:_.height},d),f,g);this.group.x=x.x-_.x,this.group.y=x.y-_.y,this.group.markRedraw(),this.group.add(this._backgroundEl=(r=_,a=y.MY(t.get("padding")),(s=t.getItemStyle(["color","opacity"])).fill=t.get("backgroundColor"),r=new p.Z({shape:{x:r.x-a[3],y:r.y-a[0],width:r.width+a[1]+a[3],height:r.height+a[0]+a[2],r:t.get("borderRadius")},style:s,silent:!0,z2:-1})))}},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,a,s){var l=this.getContentGroup(),h=o.kW(),c=e.get("selectedMode"),p=[];n.eachRawSeries(function(t){t.get("legendHoverLink")||p.push(t.id)}),b(e.getData(),function(r,a){var s=r.get("name");if(!this.newlineDisabled&&(""===s||"\n"===s)){var d=new M;d.newline=!0,l.add(d);return}var f=n.getSeriesByName(s)[0];if(!h.get(s))if(f){var g=f.getData(),y=g.getVisual("legendLineStyle")||{},v=g.getVisual("legendIcon"),m=g.getVisual("style"),_=this._createItem(f,s,a,r,e,t,y,m,v,c,i);_.on("click",w(k,s,null,i,p)).on("mouseover",w(D,f.name,null,i,p)).on("mouseout",w(C,f.name,null,i,p)),n.ssr&&_.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=f.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}else n.eachRawSeries(function(l){if(!h.get(s)&&l.legendVisualProvider){var d=l.legendVisualProvider;if(d.containName(s)){var f=d.indexOfName(s),g=d.getItemVisual(f,"style"),y=d.getItemVisual(f,"legendIcon"),v=(0,u.Qc)(g.fill);v&&0===v[3]&&(v[3]=.2,g=o.l7(o.l7({},g),{fill:(0,u.Pz)(v,"rgba")}));var m=this._createItem(l,s,a,r,e,t,{},g,y,c,i);m.on("click",w(k,null,s,i,p)).on("mouseover",w(D,null,s,i,p)).on("mouseout",w(C,null,s,i,p)),n.ssr&&m.eachChild(function(t){var e=(0,S.A)(t);e.seriesIndex=l.seriesIndex,e.dataIndex=a,e.ssrType="legend"}),h.set(s,!0)}}},this)},this),r&&this._createSelector(r,e,i,a,s)},e.prototype._createSelector=function(t,e,n,i,r){var o=this.getSelectorGroup();b(t,function(t){var i=t.type,r=new c.ZP({style:{x:0,y:0,align:"center",verticalAlign:"middle"},onclick:function(){n.dispatchAction({type:"all"===i?"legendAllSelect":"legendInverseSelect",legendId:e.id})}});o.add(r);var a=e.getModel("selectorLabel"),s=e.getModel(["emphasis","selectorLabel"]);(0,g.ni)(r,{normal:a,emphasis:s},{defaultText:t.title}),(0,f.vF)(r)})},e.prototype._createItem=function(t,e,n,i,r,a,s,l,u,h,y){var v=t.visualDrawType,m=r.get("itemWidth"),S=r.get("itemHeight"),w=r.isSelected(e),T=i.get("symbolRotate"),k=i.get("symbolKeepAspect"),I=i.get("icon"),D=function(t,e,n,i,r,o,a){function s(t,e){"auto"===t.lineWidth&&(t.lineWidth=2*(e.lineWidth>0)),b(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?(0,x.I)(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}}(u=I||u||"roundRect",i,s,l,v,w,y),C=new M,A=i.getModel("textStyle");if(o.mf(t.getLegendIcon)&&(!I||"inherit"===I))C.add(t.getLegendIcon({itemWidth:m,itemHeight:S,icon:u,iconRotate:T,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:k}));else{var P,L,O,R="inherit"===I&&t.getData().getVisual("symbol")?"inherit"===T?t.getData().getVisual("symbolRotate"):T:0;C.add((L=(P={itemWidth:m,itemHeight:S,icon:u,iconRotate:R,itemStyle:D.itemStyle,lineStyle:D.lineStyle,symbolKeepAspect:k}).icon||"roundRect",(O=(0,_.th)(L,0,0,P.itemWidth,P.itemHeight,P.itemStyle.fill,P.symbolKeepAspect)).setStyle(P.itemStyle),O.rotation=(P.iconRotate||0)*Math.PI/180,O.setOrigin([P.itemWidth/2,P.itemHeight/2]),L.indexOf("empty")>-1&&(O.style.stroke=O.style.fill,O.style.fill="#fff",O.style.lineWidth=2),O))}var Z=r.get("formatter"),N=e;o.HD(Z)&&Z?N=Z.replace("{name}",null!=e?e:""):o.mf(Z)&&(N=Z(e));var z=w?A.getTextColor():i.get("inactiveColor");C.add(new c.ZP({style:(0,g.Lr)(A,{text:N,x:"left"===a?m+5:-5,y:S/2,fill:z,align:a,verticalAlign:"middle"},{inheritColor:z})}));var E=new p.Z({shape:C.getBoundingRect(),style:{fill:"transparent"}}),B=i.getModel("tooltip");return B.get("show")&&d.setTooltipConfig({el:E,componentModel:r,itemName:e,itemTooltipOption:B.option}),C.add(E),C.eachChild(function(t){t.silent=!0}),E.silent=!h,this.getContentGroup().add(C),(0,f.vF)(C),C.__legendDataIndex=n,C},e.prototype.layoutInner=function(t,e,n,i,r,o){var a=this.getContentGroup(),s=this.getSelectorGroup();v.BZ(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)return a.x=u[0],a.y=u[1],this.group.getBoundingRect();v.BZ("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 m={x:0,y:0};return m[f]=l[f]+p+h[f],m[g]=Math.max(l[g],h[g]),m[y]=Math.min(0,h[y]+c[1-d]),m},e.prototype.remove=function(){this.getContentGroup().removeAll(),this._isFirstRender=!0},e.type="legend.plain",e}(m.Z);function k(t,e,n,i){C(t,e,n,i),n.dispatchAction({type:"legendToggleSelect",name:null!=t?t:e}),D(t,e,n,i)}function I(t){for(var e,n=t.getZr().storage.getDisplayList(),i=0,r=n.length;i<r&&!(e=n[i].states.emphasis);)i++;return e&&e.hoverLayer}function D(t,e,n,i){I(n)||n.dispatchAction({type:"highlight",seriesName:t,name:e,excludeSeriesId:i})}function C(t,e,n,i){I(n)||n.dispatchAction({type:"downplay",seriesName:t,name:e,excludeSeriesId:i})}function A(t){var e=t.findComponents({mainType:"legend"});e&&e.length&&t.filterSeries(function(t){for(var n=0;n<e.length;n++)if(!e[n].isSelected(t.name))return!1;return!0})}function P(t,e,n){var i="allSelect"===t||"inverseSelect"===t,r={},a=[];n.eachComponent({mainType:"legend",query:e},function(n){i?n[t]():n[t](e.name),L(n,r),a.push(n.componentIndex)});var s={};return n.eachComponent("legend",function(t){(0,o.S6)(r,function(e,n){t[e?"select":"unSelect"](n)}),L(t,s)}),i?{selected:s,legendIndex:a}:{name:e.name,selected:s}}function L(t,e){var n=e||{};return(0,o.S6)(t.getData(),function(e){var i=e.get("name");if("\n"!==i&&""!==i){var r=t.isSelected(i);(0,o.RI)(n,i)?n[i]=n[i]&&r:n[i]=r}}),n}function O(t){t.registerComponentModel(l),t.registerComponentView(T),t.registerProcessor(t.PRIORITY.PROCESSOR.SERIES_FILTER,A),t.registerSubTypeDefaulter("legend",function(){return"plain"}),t.registerAction("legendToggleSelect","legendselectchanged",(0,o.WA)(P,"toggleSelected")),t.registerAction("legendAllSelect","legendselectall",(0,o.WA)(P,"allSelect")),t.registerAction("legendInverseSelect","legendinverseselect",(0,o.WA)(P,"inverseSelect")),t.registerAction("legendSelect","legendselected",(0,o.WA)(P,"select")),t.registerAction("legendUnSelect","legendunselected",(0,o.WA)(P,"unSelect"))}var R=n(95202),Z=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,r.ZT)(e,t),e.prototype.setScrollDataIndex=function(t){this.option.scrollDataIndex=t},e.prototype.init=function(e,n,i){var r=(0,v.tE)(e);t.prototype.init.call(this,e,n,i),N(this,e,r)},e.prototype.mergeOption=function(e,n){t.prototype.mergeOption.call(this,e,n),N(this,this.option,e)},e.type="legend.scroll",e.defaultOption=(0,R.ZL)(l.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}),e}(l);function N(t,e,n){var i=t.getOrient(),r=[1,1];r[i.index]=0,(0,v.dt)(e,n,{type:"box",ignoreSize:!!r})}var z=n(17524),E=h.Z,B=["width","height"],F=["x","y"],H=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n.newlineDisabled=!0,n._currentIndex=0,n}return(0,r.ZT)(e,t),e.prototype.init=function(){t.prototype.init.call(this),this.group.add(this._containerGroup=new E),this._containerGroup.add(this.getContentGroup()),this.group.add(this._controllerGroup=new E)},e.prototype.resetInner=function(){t.prototype.resetInner.call(this),this._controllerGroup.removeAll(),this._containerGroup.removeClipPath(),this._containerGroup.__rectSize=null},e.prototype.renderInner=function(e,n,i,r,a,s,l){var u=this;t.prototype.renderInner.call(this,e,n,i,r,a,s,l);var h=this._controllerGroup,p=n.get("pageIconSize",!0),f=o.kJ(p)?p:[p,p];y("pagePrev",0);var g=n.getModel("pageTextStyle");function y(t,e){var i=d.createIcon(n.get("pageIcons",!0)[n.getOrient().name][e],{onclick:o.ak(u._pageGo,u,t+"DataIndex",n,r)},{x:-f[0]/2,y:-f[1]/2,width:f[0],height:f[1]});i.name=t,h.add(i)}h.add(new c.ZP({name:"pageText",style:{text:"xx/xx",fill:g.getTextColor(),font:g.getFont(),verticalAlign:"middle",align:"center"},silent:!0})),y("pageNext",1)},e.prototype.layoutInner=function(t,e,n,i,r,a){var s=this.getSelectorGroup(),l=t.getOrient().index,u=B[l],h=F[l],c=B[1-l],p=F[1-l];r&&v.BZ("horizontal",s,t.get("selectorItemGap",!0));var d=t.get("selectorButtonGap",!0),f=s.getBoundingRect(),g=[-f.x,-f.y],y=o.d9(n);r&&(y[u]=n[u]-f[u]-d);var m=this._layoutContentAndController(t,i,y,l,u,c,p,h);if(r){if("end"===a)g[l]+=m[u]+d;else{var _=f[u]+d;g[l]-=_,m[h]-=_}m[u]+=f[u]+d,g[1-l]+=m[p]+m[c]/2-f[c]/2,m[c]=Math.max(m[c],f[c]),m[p]=Math.min(m[p],f[p]+g[1-l]),s.x=g[0],s.y=g[1],s.markRedraw()}return m},e.prototype._layoutContentAndController=function(t,e,n,i,r,a,s,l){var u=this.getContentGroup(),h=this._containerGroup,c=this._controllerGroup;v.BZ(t.get("orient"),u,t.get("itemGap"),i?n.width:null,i?null:n.height),v.BZ("horizontal",c,t.get("pageButtonItemGap",!0));var d=u.getBoundingRect(),f=c.getBoundingRect(),g=this._showController=d[r]>n[r],y=[-d.x,-d.y];e||(y[i]=u[l]);var m=[0,0],_=[-f.x,-f.y],x=o.pD(t.get("pageButtonGap",!0),t.get("itemGap",!0));g&&("end"===t.get("pageButtonPosition",!0)?_[i]+=n[r]-f[r]:m[i]+=f[r]+x),_[1-i]+=d[a]/2-f[a]/2,u.setPosition(y),h.setPosition(m),c.setPosition(_);var S={x:0,y:0};if(S[r]=g?n[r]:d[r],S[a]=Math.max(d[a],f[a]),S[s]=Math.min(0,f[s]+_[1-i]),h.__rectSize=n[r],g){var w={x:0,y:0};w[r]=Math.max(n[r]-f[r]-x,0),w[a]=S[a],h.setClipPath(new p.Z({shape:w})),h.__rectSize=w[r]}else c.eachChild(function(t){t.attr({invisible:!0,silent:!0})});var b=this._getPageInfo(t);return null!=b.pageIndex&&z.D(u,{x:b.contentPosition[0],y:b.contentPosition[1]},g?t:null),this._updatePageInfoView(t,b),S},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;o.S6(["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"),a=e.pageIndex,s=null!=a?a+1:0,l=e.pageCount;i&&r&&i.setStyle("text",o.HD(r)?r.replace("{current}",null==s?"":s+"").replace("{total}",null==l?"":l+""):r({current:s,total:l}))},e.prototype._getPageInfo=function(t){var e=t.get("scrollDataIndex",!0),n=this.getContentGroup(),i=this._containerGroup.__rectSize,r=t.getOrient().index,o=B[r],a=F[r],s=this._findTargetItemIndex(e),l=n.children(),u=l[s],h=l.length,c=+!!h,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&&!_(v,g.s))&&(g=y.i>g.i?y:v)&&(null==p.pageNextDataIndex&&(p.pageNextDataIndex=g.i),++p.pageCount),y=v;for(var f=s-1,g=d,y=d,v=null;f>=-1;--f)(!(v=m(l[f]))||!_(y,v.s))&&g.i<y.i&&(y=g,null==p.pagePrevDataIndex&&(p.pagePrevDataIndex=g.i),++p.pageCount,++p.pageIndex),g=v;return p;function m(t){if(t){var e=t.getBoundingRect(),n=e[a]+t[a];return{s:n,e:n+e[o],i:t.__legendDataIndex}}}function _(t,e){return t.e>=e&&t.s<=e+i}},e.prototype._findTargetItemIndex=function(t){var e,n;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},e.type="legend.scroll",e}(T);function W(t){(0,i.D)(O),t.registerComponentModel(Z),t.registerComponentView(H),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)})})}function V(t){(0,i.D)(O),(0,i.D)(W)}},14863:function(t,e,n){n.d(e,{N:()=>g});var i=n(12012),r=n(96585),o=n(26991),a=n(40361),s=n(55413),l=n(77704),u=n(37624),h=n(68943),c=n(28440),p=n(43718),d=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(0,i.ZT)(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}(h.Z),f=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,i.ZT)(e,t),e.prototype.render=function(t,e,n){if(this.group.removeAll(),t.get("show")){var i=this.group,h=t.getModel("textStyle"),c=t.getModel("subtextStyle"),d=t.get("textAlign"),f=r.pD(t.get("textBaseline"),t.get("textVerticalAlign")),g=new o.ZP({style:(0,l.Lr)(h,{text:t.get("text"),fill:h.getTextColor()},{disableBox:!0}),z2:10}),y=g.getBoundingRect(),v=t.get("subtext"),m=new o.ZP({style:(0,l.Lr)(c,{text:v,fill:c.getTextColor(),y:y.height+t.get("itemGap"),verticalAlign:"top"},{disableBox:!0}),z2:10}),_=t.get("link"),x=t.get("sublink"),S=t.get("triggerEvent",!0);g.silent=!_&&!S,m.silent=!x&&!S,_&&g.on("click",function(){(0,p.MI)(_,"_"+t.get("target"))}),x&&m.on("click",function(){(0,p.MI)(x,"_"+t.get("subtarget"))}),(0,s.A)(g).eventData=(0,s.A)(m).eventData=S?{componentType:"title",componentIndex:t.componentIndex}:null,i.add(g),v&&i.add(m);var w=i.getBoundingRect(),b=t.getBoxLayoutParams();b.width=w.width,b.height=w.height;var M=(0,u.ME)(b,{width:n.getWidth(),height:n.getHeight()},t.get("padding"));d||("middle"===(d=t.get("left")||t.get("right"))&&(d="center"),"right"===d?M.x+=M.width:"center"===d&&(M.x+=M.width/2)),f||("center"===(f=t.get("top")||t.get("bottom"))&&(f="middle"),"bottom"===f?M.y+=M.height:"middle"===f&&(M.y+=M.height/2),f=f||"top"),i.x=M.x,i.y=M.y,i.markRedraw();var T={align:d,verticalAlign:f};g.setStyle(T),m.setStyle(T),w=i.getBoundingRect();var k=M.margin,I=t.getItemStyle(["color","opacity"]);I.fill=t.get("backgroundColor");var D=new a.Z({shape:{x:w.x-k[3],y:w.y-k[0],width:w.width+k[1]+k[3],height:w.height+k[0]+k[2],r:t.get("borderRadius")},style:I,subPixelOptimize:!0,silent:!0});i.add(D)}},e.type="title",e}(c.Z);function g(t){t.registerComponentModel(d),t.registerComponentView(f)}},72632:function(t,e,n){n.d(e,{N:()=>j});var i=n(53079),r=n(70392),o=n(12012),a=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(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}(n(68943).Z),s=n(96585),l=n(76226),u=n(3036),h=n(75225),c=n(43718);function p(t){var e=t.get("confine");return null!=e?!!e:"richText"===t.get("renderMode")}function d(t){if(l.Z.domSupported){for(var e=document.documentElement.style,n=0,i=t.length;n<i;n++)if(t[n]in e)return t[n]}}var f=d(["transform","webkitTransform","OTransform","MozTransform","msTransform"]),g=d(["webkitTransition","transition","OTransition","MozTransition","msTransition"]);function y(t,e){if(!t)return e;e=(0,c.zW)(e,!0);var n=t.indexOf(e);return(t=-1===n?e:"-"+t.slice(0,n)+"-"+e).toLowerCase()}var v=n(13134),m=y(g,"transition"),_=y(f,"transform"),x="position:absolute;display:block;border-style:solid;white-space:nowrap;z-index:9999999;"+(l.Z.transform3dSupported?"will-change:transform;":"");function S(t,e,n){var i=t.toFixed(0)+"px",r=e.toFixed(0)+"px";if(!l.Z.transformSupported)return n?"top:"+r+";left:"+i+";":[["top",r],["left",i]];var o=l.Z.transform3dSupported,a="translate"+(o?"3d":"")+"("+i+","+r+(o?",0":"")+")";return n?"top:0;left:0;"+_+":"+a+";":[["top",0],["left",0],[f,a]]}function w(t,e,n,i,r){var o=e&&e.painter;if(n){var a=o&&o.getViewportRoot();a&&(0,h.YB)(t,a,n,i,r)}else{t[0]=i,t[1]=r;var s=o&&o.getViewportRootOffset();s&&(t[0]+=s.offsetLeft,t[1]+=s.offsetTop)}t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var b=function(){function t(t,e){if(this._show=!1,this._styleCoord=[0,0,0,0],this._enterable=!0,this._alwaysShowContent=!1,this._firstShow=!0,this._longHide=!0,l.Z.wxa)return null;var n=document.createElement("div");n.domBelongToZr=!0,this.el=n;var i=this._zr=t.getZr(),r=e.appendTo,o=r&&((0,s.HD)(r)?document.querySelector(r):(0,s.Mh)(r)?r:(0,s.mf)(r)&&r(t.getDom()));w(this._styleCoord,i,o,t.getWidth()/2,t.getHeight()/2),(o||t.getDom()).appendChild(n),this._api=t,this._container=o;var a=this;n.onmouseenter=function(){a._enterable&&(clearTimeout(a._hideTimeout),a._show=!0),a._inContent=!0},n.onmousemove=function(t){if(t=t||window.event,!a._enterable){var e=i.handler,n=i.painter.getViewportRoot();(0,u.OD)(n,t,!0),e.dispatch("mousemove",t)}},n.onmouseleave=function(){a._inContent=!1,a._enterable&&a._show&&a.hideLater(a._hideDelay)}}return t.prototype.update=function(t){if(!this._container){var e,n,i=this._api.getDom(),r=(e="position",(n=i.currentStyle||document.defaultView&&document.defaultView.getComputedStyle(i))?e?n[e]:n:null),o=i.style;"absolute"!==o.position&&"absolute"!==r&&(o.position="relative")}var a=t.get("alwaysShowContent");a&&this._moveIfResized(),this._alwaysShowContent=a,this.el.className=t.get("className")||""},t.prototype.show=function(t,e){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var n,i,r,o,a,u,h,p,d,f,g,y,w,b,M,T,k,I,D,C,A,P,L,O=this.el,R=O.style,Z=this._styleCoord;O.innerHTML?R.cssText=x+(n=!this._firstShow,i=this._longHide,r=[],o=t.get("transitionDuration"),a=t.get("backgroundColor"),u=t.get("shadowBlur"),h=t.get("shadowColor"),p=t.get("shadowOffsetX"),d=t.get("shadowOffsetY"),f=t.getModel("textStyle"),g=(0,v.d_)(t,"html"),y=p+"px "+d+"px "+u+"px "+h,r.push("box-shadow:"+y),n&&o&&r.push((M="opacity"+(b=" "+o/2+"s "+(w="cubic-bezier(0.23,1,0.32,1)"))+",visibility"+b,i||(b=" "+o+"s "+w,M+=l.Z.transformSupported?","+_+b:",left"+b+",top"+b),m+":"+M)),a&&r.push("background-color:"+a),(0,s.S6)(["width","color","radius"],function(e){var n="border-"+e,i=(0,c.zW)(n),o=t.get(i);null!=o&&r.push(n+":"+o+("color"===e?"":"px"))}),r.push((T=[],k=f.get("fontSize"),(I=f.getTextColor())&&T.push("color:"+I),T.push("font:"+f.getFont()),D=(0,s.pD)(f.get("lineHeight"),Math.round(3*k/2)),k&&T.push("line-height:"+D+"px"),C=f.get("textShadowColor"),A=f.get("textShadowBlur")||0,P=f.get("textShadowOffsetX")||0,L=f.get("textShadowOffsetY")||0,C&&A&&T.push("text-shadow:"+P+"px "+L+"px "+A+"px "+C),(0,s.S6)(["decoration","align"],function(t){var e=f.get(t);e&&T.push("text-"+t+":"+e)}),T.join(";"))),null!=g&&r.push("padding:"+(0,c.MY)(g).join("px ")+"px"),r.join(";")+";")+S(Z[0],Z[1],!0)+"border-color:"+(0,c.Lz)(e)+";"+(t.get("extraCssText")||"")+";pointer-events:"+(this._enterable?"auto":"none"):R.display="none",this._show=!0,this._firstShow=!1,this._longHide=!1},t.prototype.setContent=function(t,e,n,i,r){var o=this.el;if(null==t){o.innerHTML="";return}var a="";if((0,s.HD)(r)&&"item"===n.get("trigger")&&!p(n)&&(a=function(t,e,n){if(!(0,s.HD)(n)||"inside"===n)return"";var i,r,o=t.get("backgroundColor"),a=t.get("borderWidth");e=(0,c.Lz)(e);var l=i="left"===(i=n)?"right":"right"===i?"left":"top"===i?"bottom":"top",u=Math.max(1.5*Math.round(a),6),h="",p=_+":";(0,s.cq)(["left","right"],l)>-1?(h+="top:50%",p+="translateY(-50%) rotate("+(r="left"===l?-225:-45)+"deg)"):(h+="left:50%",p+="translateX(-50%) rotate("+(r="top"===l?225:45)+"deg)");var d=r*Math.PI/180,f=u+a,g=f*Math.abs(Math.cos(d))+f*Math.abs(Math.sin(d));h+=";"+l+":-"+Math.round(((g-Math.SQRT2*a)/2+Math.SQRT2*a-(g-f)/2)*100)/100+"px";var y=e+" solid "+a+"px;";return'<div style="'+["position:absolute;width:"+u+"px;height:"+u+"px;z-index:-1;",h+";"+p+";","border-bottom:"+y,"border-right:"+y,"background-color:"+o+";"].join("")+'"></div>'}(n,i,r)),(0,s.HD)(t))o.innerHTML=t+a;else if(t){o.innerHTML="",(0,s.kJ)(t)||(t=[t]);for(var l=0;l<t.length;l++)(0,s.Mh)(t[l])&&t[l].parentNode!==o&&o.appendChild(t[l]);if(a&&o.childNodes.length){var u=document.createElement("div");u.innerHTML=a,o.appendChild(u)}}},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el;return t?[t.offsetWidth,t.offsetHeight]:[0,0]},t.prototype.moveTo=function(t,e){if(this.el){var n=this._styleCoord;if(w(n,this._zr,this._container,t,e),null!=n[0]&&null!=n[1]){var i=this.el.style,r=S(n[0],n[1]);(0,s.S6)(r,function(t){i[t[0]]=t[1]})}}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){var t=this,e=this.el.style;e.visibility="hidden",e.opacity="0",l.Z.transform3dSupported&&(e.willChange=""),this._show=!1,this._longHideTimeout=setTimeout(function(){return t._longHide=!0},500)},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout((0,s.ak)(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){clearTimeout(this._hideTimeout),clearTimeout(this._longHideTimeout);var t=this.el.parentNode;t&&t.removeChild(this.el),this.el=this._container=null},t}(),M=n(26991),T=n(99833),k=function(){function t(t){this._show=!1,this._styleCoord=[0,0,0,0],this._alwaysShowContent=!1,this._enterable=!0,this._zr=t.getZr(),C(this._styleCoord,this._zr,t.getWidth()/2,t.getHeight()/2)}return t.prototype.update=function(t){var e=t.get("alwaysShowContent");e&&this._moveIfResized(),this._alwaysShowContent=e},t.prototype.show=function(){this._hideTimeout&&clearTimeout(this._hideTimeout),this.el.show(),this._show=!0},t.prototype.setContent=function(t,e,n,i,r){var o=this;s.Kn(t)&&(0,T._y)(""),this.el&&this._zr.remove(this.el);var a=n.getModel("textStyle");this.el=new M.ZP({style:{rich:e.richTextStyles,text:t,lineHeight:22,borderWidth:1,borderColor:i,textShadowColor:a.get("textShadowColor"),fill:n.get(["textStyle","color"]),padding:(0,v.d_)(n,"richText"),verticalAlign:"top",align:"left"},z:n.get("z")}),s.S6(["backgroundColor","borderRadius","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"],function(t){o.el.style[t]=n.get(t)}),s.S6(["textShadowBlur","textShadowOffsetX","textShadowOffsetY"],function(t){o.el.style[t]=a.get(t)||0}),this._zr.add(this.el);var l=this;this.el.on("mouseover",function(){l._enterable&&(clearTimeout(l._hideTimeout),l._show=!0),l._inContent=!0}),this.el.on("mouseout",function(){l._enterable&&l._show&&l.hideLater(l._hideDelay),l._inContent=!1})},t.prototype.setEnterable=function(t){this._enterable=t},t.prototype.getSize=function(){var t=this.el,e=this.el.getBoundingRect(),n=D(t.style);return[e.width+n.left+n.right,e.height+n.top+n.bottom]},t.prototype.moveTo=function(t,e){var n=this.el;if(n){var i=this._styleCoord;C(i,this._zr,t,e),t=i[0],e=i[1];var r=n.style,o=I(r.borderWidth||0),a=D(r);n.x=t+o+a.left,n.y=e+o+a.top,n.markRedraw()}},t.prototype._moveIfResized=function(){var t=this._styleCoord[2],e=this._styleCoord[3];this.moveTo(t*this._zr.getWidth(),e*this._zr.getHeight())},t.prototype.hide=function(){this.el&&this.el.hide(),this._show=!1},t.prototype.hideLater=function(t){!this._show||this._inContent&&this._enterable||this._alwaysShowContent||(t?(this._hideDelay=t,this._show=!1,this._hideTimeout=setTimeout(s.ak(this.hide,this),t)):this.hide())},t.prototype.isShow=function(){return this._show},t.prototype.dispose=function(){this._zr.remove(this.el)},t}();function I(t){return Math.max(0,t)}function D(t){var e=I(t.shadowBlur||0),n=I(t.shadowOffsetX||0),i=I(t.shadowOffsetY||0);return{left:I(e-n),right:I(e+n),top:I(e-i),bottom:I(e+i)}}function C(t,e,n,i){t[0]=n,t[1]=i,t[2]=t[0]/e.getWidth(),t[3]=t[1]/e.getHeight()}var A=n(81731),P=n(40361),L=n(33408),O=n(37624),R=n(84456),Z=n(71270),N=n(589),z=n(61285),E=n(46451),B=n(28440),F=n(41070),H=n(55413),W=n(77178),V=n(89114),G=n(59524),U=new P.Z({shape:{x:-1,y:-1,width:2,height:2}}),X=function(t){function e(){var n=null!==t&&t.apply(this,arguments)||this;return n.type=e.type,n}return(0,o.ZT)(e,t),e.prototype.init=function(t,e){if(!l.Z.node&&e.getDom()){var n=t.getComponent("tooltip"),i=this._renderMode=(0,E.U9)(n.get("renderMode"));this._tooltipContent="richText"===i?new k(e):new b(e,{appendTo:n.get("appendToBody",!0)?"body":n.get("appendTo",!0)})}},e.prototype.render=function(t,e,n){if(!l.Z.node&&n.getDom()){this.group.removeAll(),this._tooltipModel=t,this._ecModel=e,this._api=n;var i=this._tooltipContent;i.update(t),i.setEnterable(t.get("enterable")),this._initGlobalListener(),this._keepShow(),"richText"!==this._renderMode&&t.get("transitionDuration")?(0,G.T9)(this,"_updatePosition",50,"fixRate"):(0,G.ZH)(this,"_updatePosition")}},e.prototype._initGlobalListener=function(){var t=this._tooltipModel.get("triggerOn");Z.z("itemTooltip",this._api,(0,s.ak)(function(e,n,i){"none"!==t&&(t.indexOf(e)>=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&&!l.Z.node&&n.getDom()){var r=q(i,n);this._ticket="";var o=i.dataByCoordSys,a=function(t,e,n){var i,r=(0,E.zH)(t).queryOptionMap,o=r.keys()[0];if(o&&"series"!==o){var a=(0,E.HZ)(e,o,r.get(o),{useDefault:!1,enableAll:!1,enableNone:!1}).models[0];if(a&&(n.getViewOfComponentModel(a).group.traverse(function(e){var n=(0,H.A)(e).tooltipConfig;if(n&&n.name===t.name)return i=e,!0}),i))return{componentMainType:o,componentIndex:a.componentIndex,el:i}}}(i,e,n);if(a){var s=a.el.getBoundingRect().clone();s.applyTransform(a.el.transform),this._tryShow({offsetX:s.x+s.width/2,offsetY:s.y+s.height/2,target:a.el,position:i.position,positionDefault:"bottom"},r)}else if(i.tooltip&&null!=i.x&&null!=i.y)U.x=i.x,U.y=i.y,U.update(),(0,H.A)(U).tooltipConfig={name:null,option:i.tooltip},this._tryShow({offsetX:i.x,offsetY:i.y,target:U},r);else if(o)this._tryShow({offsetX:i.x,offsetY:i.y,position:i.position,dataByCoordSys:o,tooltipOption:i.tooltipOption},r);else if(null!=i.seriesIndex){if(this._manuallyAxisShowTip(t,e,n,i))return;var u=(0,L.Z)(i,e),h=u.point[0],c=u.point[1];null!=h&&null!=c&&this._tryShow({offsetX:h,offsetY:c,target:u.el,position:i.position,positionDefault:"bottom"},r)}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},r))}},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(q(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&&"axis"===Y([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,r,o=t.dataByCoordSys;if(o&&o.length)this._showAxisTooltip(o,t);else if(n){if("legend"===(0,H.A)(n).ssrType)return;this._lastDataByCoordSys=null,(0,V.o)(n,function(t){return null!=(0,H.A)(t).dataIndex?(i=t,!0):null!=(0,H.A)(t).tooltipConfig?(r=t,!0):void 0},!0),i?this._showSeriesItemTooltip(t,i,e):r?this._showComponentItemTooltip(t,r,e):this._hide(e)}else this._lastDataByCoordSys=null,this._hide(e)}},e.prototype._showOrMove=function(t,e){var n=t.get("showDelay");e=(0,s.ak)(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=Y([e.tooltipOption],i),a=this._renderMode,l=[],u=(0,v.TX)("section",{blocks:[],noHeader:!0}),h=[],p=new v.iv;(0,s.S6)(t,function(t){(0,s.S6)(t.dataByAxis,function(t){var e=n.getComponent(t.axisDim+"Axis",t.axisIndex),r=t.value;if(e&&null!=r){var o=z.gk(r,e.axis,n,t.seriesDataIndices,t.valueLabelOpt),d=(0,v.TX)("section",{header:o,noHeader:!(0,s.fy)(o),sortBlocks:!0,blocks:[]});u.blocks.push(d),(0,s.S6)(t.seriesDataIndices,function(u){var f=n.getSeriesByIndex(u.seriesIndex),g=u.dataIndexInside,y=f.getDataParams(g);if(!(y.dataIndex<0)){y.axisDim=t.axisDim,y.axisIndex=t.axisIndex,y.axisType=t.axisType,y.axisId=t.axisId,y.axisValue=N.DX(e.axis,{value:r}),y.axisValueLabel=o,y.marker=p.makeTooltipMarker("item",(0,c.Lz)(y.color),a);var v=(0,W.f)(f.formatTooltip(g,!0,null)),m=v.frag;if(m){var _=Y([f],i).get("valueFormatter");d.blocks.push(_?(0,s.l7)({valueFormatter:_},m):m)}v.text&&h.push(v.text),l.push(y)}})}})}),u.blocks.reverse(),h.reverse();var d=e.position,f=o.get("order"),g=(0,v.BY)(u,p,a,f,n.get("useUTC"),o.get("textStyle"));g&&h.unshift(g);var y="richText"===a?"\n\n":"<br/>",m=h.join(y);this._showOrMove(o,function(){this._updateContentNotChangedOnAxis(t,l)?this._updatePosition(o,d,r[0],r[1],this._tooltipContent,l):this._showTooltipContent(o,m,l,Math.random()+"",r[0],r[1],d,null,p)})},e.prototype._showSeriesItemTooltip=function(t,e,n){var i=this._ecModel,r=(0,H.A)(e),o=r.seriesIndex,a=i.getSeriesByIndex(o),l=r.dataModel||a,u=r.dataIndex,h=r.dataType,p=l.getData(h),d=this._renderMode,f=t.positionDefault,g=Y([p.getItemModel(u),l,a&&(a.coordinateSystem||{}).model],this._tooltipModel,f?{position:f}:null),y=g.get("trigger");if(null==y||"item"===y){var m=l.getDataParams(u,h),_=new v.iv;m.marker=_.makeTooltipMarker("item",(0,c.Lz)(m.color),d);var x=(0,W.f)(l.formatTooltip(u,!1,h)),S=g.get("order"),w=g.get("valueFormatter"),b=x.frag,M=b?(0,v.BY)(w?(0,s.l7)({valueFormatter:w},b):b,_,d,S,i.get("useUTC"),g.get("textStyle")):x.text,T="item_"+l.name+"_"+u;this._showOrMove(g,function(){this._showTooltipContent(g,M,m,T,t.offsetX,t.offsetY,t.position,t.target,_)}),n({type:"showTip",dataIndexInside:u,dataIndex:p.getRawIndex(u),seriesIndex:o,from:this.uid})}},e.prototype._showComponentItemTooltip=function(t,e,n){var i="html"===this._renderMode,r=(0,H.A)(e),o=r.tooltipConfig.option||{},a=o.encodeHTMLContent;if((0,s.HD)(o)){var l=o;o={content:l,formatter:l},a=!0}a&&i&&o.content&&((o=(0,s.d9)(o)).content=(0,h.F1)(o.content));var u=[o],c=this._ecModel.getComponent(r.componentMainType,r.componentIndex);c&&u.push(c),u.push({formatter:o.content});var p=t.positionDefault,d=Y(u,this._tooltipModel,p?{position:p}:null),f=d.get("content"),g=Math.random()+"",y=new v.iv;this._showOrMove(d,function(){var n=(0,s.d9)(d.get("formatterParams")||{});this._showTooltipContent(d,f,n,g,t.offsetX,t.offsetY,t.position,e,y)}),n({type:"showTip",from:this.uid})},e.prototype._showTooltipContent=function(t,e,n,i,r,o,a,l,u){if(this._ticket="",t.get("showContent")&&t.get("show")){var h=this._tooltipContent;h.setEnterable(t.get("enterable"));var p=t.get("formatter");a=a||t.get("position");var d=e,f=this._getNearestPoint([r,o],n,t.get("trigger"),t.get("borderColor")).color;if(p)if((0,s.HD)(p)){var g=t.ecModel.get("useUTC"),y=(0,s.kJ)(n)?n[0]:n,v=y&&y.axisType&&y.axisType.indexOf("time")>=0;d=p,v&&(d=(0,F.WU)(y.axisValue,d,g)),d=(0,c.kF)(d,n,!0)}else if((0,s.mf)(p)){var m=(0,s.ak)(function(e,i){e===this._ticket&&(h.setContent(i,u,t,f,a),this._updatePosition(t,a,r,o,h,n,l))},this);this._ticket=i,d=p(n,i,m)}else d=p;h.setContent(d,u,t,f,a),h.show(t,f),this._updatePosition(t,a,r,o,h,n,l)}},e.prototype._getNearestPoint=function(t,e,n,i){return"axis"===n||(0,s.kJ)(e)?{color:i||("html"===this._renderMode?"#fff":"none")}:(0,s.kJ)(e)?void 0:{color:i||e.color||e.borderColor}},e.prototype._updatePosition=function(t,e,n,i,r,o,a){var l=this._api.getWidth(),u=this._api.getHeight();e=e||t.get("position");var h=r.getSize(),c=t.get("align"),d=t.get("verticalAlign"),f=a&&a.getBoundingRect().clone();if(a&&f.applyTransform(a.transform),(0,s.mf)(e)&&(e=e([n,i],o,r.el,f,{viewSize:[l,u],contentSize:h.slice()})),(0,s.kJ)(e))n=(0,A.GM)(e[0],l),i=(0,A.GM)(e[1],u);else if((0,s.Kn)(e)){var g=e;g.width=h[0],g.height=h[1];var y=(0,O.ME)(g,{width:l,height:u});n=y.x,i=y.y,c=null,d=null}else if((0,s.HD)(e)&&a){var v=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,f,h,t.get("borderWidth"));n=v[0],i=v[1]}else{var m,_,x,S,w,b,M,T,k,I,v=(m=n,_=i,x=r,S=l,w=u,b=c?null:20,M=d?null:20,k=(T=x.getSize())[0],I=T[1],null!=b&&(m+k+b+2>S?m-=k+b:m+=b),null!=M&&(_+I+M>w?_-=I+M:_+=M),[m,_]);n=v[0],i=v[1]}if(c&&(n-=K(c)?h[0]/2:"right"===c?h[0]:0),d&&(i-=K(d)?h[1]/2:"bottom"===d?h[1]:0),p(t)){var D,C,P,L,R,Z,N,z,v=(D=n,C=i,P=r,L=l,R=u,N=(Z=P.getSize())[0],z=Z[1],D=Math.min(D+N,L)-N,C=Math.min(C+z,R)-z,[D=Math.max(D,0),C=Math.max(C,0)]);n=v[0],i=v[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&&(0,s.S6)(n,function(n,o){var a=n.dataByAxis||[],l=(t[o]||{}).dataByAxis||[];(r=r&&a.length===l.length)&&(0,s.S6)(a,function(t,n){var o=l[n]||{},a=t.seriesDataIndices||[],u=o.seriesDataIndices||[];(r=r&&t.value===o.value&&t.axisType===o.axisType&&t.axisId===o.axisId&&a.length===u.length)&&(0,s.S6)(a,function(t,e){var n=u[e];r=r&&t.seriesIndex===n.seriesIndex&&t.dataIndex===n.dataIndex}),i&&(0,s.S6)(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){!l.Z.node&&e.getDom()&&((0,G.ZH)(this,"_updatePosition"),this._tooltipContent.dispose(),Z.E("itemTooltip",e))},e.type="tooltip",e}(B.Z);function Y(t,e,n){var i,r=e.ecModel;n?(i=new R.Z(n,r,r),i=new R.Z(e.option,i,r)):i=e;for(var o=t.length-1;o>=0;o--){var a=t[o];a&&(a instanceof R.Z&&(a=a.get("tooltip",!0)),(0,s.HD)(a)&&(a={formatter:a}),a&&(i=new R.Z(a,i,r)))}return i}function q(t,e){return t.dispatchAction||(0,s.ak)(e.dispatchAction,e)}function K(t){return"center"===t||"middle"===t}function j(t){(0,r.D)(i.N),t.registerComponentModel(a),t.registerComponentView(X),t.registerAction({type:"showTip",event:"showTip",update:"tooltip:manuallyShowTip"},s.ZT),t.registerAction({type:"hideTip",event:"hideTip",update:"tooltip:manuallyHideTip"},s.ZT)}},13134:function(t,e,n){n.d(e,{BY:()=>y,TX:()=>p,d_:()=>x,iv:()=>S,jT:()=>_});var i=n(75225),r=n(43718),o=n(96585),a=n(15615),s=n(81731);function l(t){var e=t.lineHeight;return null==e?"line-height:1":"line-height:"+(0,i.F1)(e+"")+"px"}function u(t,e){var n=t.color||"#6e7079",r=t.fontSize||12,o=t.fontWeight||"400",a=t.color||"#464646",s=t.fontSize||14,l=t.fontWeight||"900";return"html"===e?{nameStyle:"font-size:"+(0,i.F1)(r+"")+"px;color:"+(0,i.F1)(n)+";font-weight:"+(0,i.F1)(o+""),valueStyle:"font-size:"+(0,i.F1)(s+"")+"px;color:"+(0,i.F1)(a)+";font-weight:"+(0,i.F1)(l+"")}:{nameStyle:{fontSize:r,fill:n,fontWeight:o},valueStyle:{fontSize:s,fill:a,fontWeight:l}}}var h=[0,10,20,30],c=["","\n","\n\n","\n\n\n"];function p(t,e){return e.type=t,e}function d(t){return"section"===t.type}function f(t,e,n,s){var p,y=e.noHeader,_={html:h[p=function t(e){if(d(e)){var n=0,i=e.blocks.length,r=i>1||i>0&&!e.noHeader;return(0,o.S6)(e.blocks,function(e){var i=t(e);i>=n&&(n=i+ +(r&&(!i||d(e)&&!e.noHeader)))}),n}return 0}(e)],richText:c[p]},x=[],S=e.blocks||[];(0,o.hu)(!S||(0,o.kJ)(S)),S=S||[];var w=t.orderMode;if(e.sortBlocks&&w){S=S.slice();var b={valueAsc:"asc",valueDesc:"desc"};if((0,o.RI)(b,w)){var M=new a.ID(b[w],null);S.sort(function(t,e){return M.evaluate(t.sortParam,e.sortParam)})}else"seriesDesc"===w&&S.reverse()}(0,o.S6)(S,function(n,i){var r=e.valueFormatter,a=(d(n)?f:g)(r?(0,o.l7)((0,o.l7)({},t),{valueFormatter:r}):t,n,i>0?_.html:0,s);null!=a&&x.push(a)});var T="richText"===t.renderMode?x.join(_.richText):v(s,x.join(""),y?n:_.html);if(y)return T;var k=(0,r.uX)(e.header,"ordinal",t.useUTC),I=u(s,t.renderMode).nameStyle,D=l(s);return"richText"===t.renderMode?m(t,k,I)+_.richText+T:v(s,'<div style="'+I+";"+D+';">'+(0,i.F1)(k)+"</div>"+T,n)}function g(t,e,n,a){var s=t.renderMode,l=e.noName,h=e.noValue,c=!e.markerType,p=e.name,d=t.useUTC,f=e.valueFormatter||t.valueFormatter||function(t){return t=(0,o.kJ)(t)?t:[t],(0,o.UI)(t,function(t,e){return(0,r.uX)(t,(0,o.kJ)(C)?C[e]:C,d)})};if(!l||!h){var g,y,_,x,S,w,b,M,T,k,I=c?"":t.markupStyleCreator.makeTooltipMarker(e.markerType,e.markerColor||"#333",s),D=l?"":(0,r.uX)(p,"ordinal",d),C=e.valueType,A=h?[]:f(e.value,e.dataIndex),P=!c||!l,L=!c&&l,O=u(a,s),R=O.nameStyle,Z=O.valueStyle;return"richText"===s?(c?"":I)+(l?"":m(t,D,R))+(h?"":(g=t,y=A,_=P,x=L,S=[Z],_&&S.push({padding:[0,0,0,x?10:20],align:"right"}),g.markupStyleCreator.wrapRichTextStyle((0,o.kJ)(y)?y.join(" "):y,S))):v(a,(c?"":I)+(l?"":(w=D,'<span style="'+R+";"+(c?"":"margin-left:2px")+'">'+(0,i.F1)(w)+"</span>"))+(h?"":(b=A,M=P,T=L,k=Z,b=(0,o.kJ)(b)?b:[b],'<span style="'+(M?"float:right;margin-left:"+(T?"10px":"20px"):"")+";"+k+'">'+(0,o.UI)(b,function(t){return(0,i.F1)(t)}).join("&nbsp;&nbsp;")+"</span>")),n)}}function y(t,e,n,i,r,o){if(t)return(d(t)?f:g)({useUTC:r,renderMode:n,orderMode:i,markupStyleCreator:e,valueFormatter:t.valueFormatter},t,0,o)}function v(t,e,n){return'<div style="margin: '+n+"px 0 0;"+l(t)+';">'+e+'<div style="clear:both"></div></div>'}function m(t,e,n){return t.markupStyleCreator.wrapRichTextStyle(e,n)}function _(t,e){var n=t.getData().getItemVisual(e,"style")[t.visualDrawType];return(0,r.Lz)(n)}function x(t,e){var n=t.get("padding");return null!=n?n:"richText"===e?[8,10]:10}var S=function(){function t(){this.richTextStyles={},this._nextStyleNameId=(0,s.jj)()}return t.prototype._generateStyleName=function(){return"__EC_aUTo_"+this._nextStyleNameId++},t.prototype.makeTooltipMarker=function(t,e,n){var i="richText"===n?this._generateStyleName():null,a=(0,r.A0)({color:e,type:t,renderMode:n,markerId:i});return(0,o.HD)(a)?a:(this.richTextStyles[i]=a.style,a.content)},t.prototype.wrapRichTextStyle=function(t,e){var n={};(0,o.kJ)(e)?(0,o.S6)(e,function(t){return(0,o.l7)(n,t)}):(0,o.l7)(n,e);var i=this._generateStyleName();return this.richTextStyles[i]=n,"{"+i+"|"+t+"}"},t}()},65391:function(t,e,n){n.d(e,{N:()=>S});var i=n(96585),r=n(99833),o=n(15615),a={value:"eq","<":"lt","<=":"lte",">":"gt",">=":"gte","=":"eq","!=":"ne","<>":"ne"},s=function(){function t(t){null==(this._condVal=(0,i.HD)(t)?new RegExp(t):(0,i.Kj)(t)?t:null)&&(0,r._y)("")}return t.prototype.evaluate=function(t){var e=typeof t;return(0,i.HD)(e)?this._condVal.test(t):!!(0,i.hj)(e)&&this._condVal.test(t+"")},t}(),l=function(){function t(){}return t.prototype.evaluate=function(){return this.value},t}(),u=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(!t[e].evaluate())return!1;return!0},t}(),h=function(){function t(){}return t.prototype.evaluate=function(){for(var t=this.children,e=0;e<t.length;e++)if(t[e].evaluate())return!0;return!1},t}(),c=function(){function t(){}return t.prototype.evaluate=function(){return!this.child.evaluate()},t}(),p=function(){function t(){}return t.prototype.evaluate=function(){for(var t=!!this.valueParser,e=(0,this.getValue)(this.valueGetterParam),n=t?this.valueParser(e):null,i=0;i<this.subCondList.length;i++)if(!this.subCondList[i].evaluate(t?n:e))return!1;return!0},t}();function d(t,e){if(!0===t||!1===t){var n,u,h,y,v=new l;return v.value=t,v}if(g(t)||(0,r._y)(""),t.and)return f("and",t,e);if(t.or)return f("or",t,e);if(t.not){return n=t,u=e,g(h=n.not)||(0,r._y)(""),(y=new c).child=d(h,u),y.child||(0,r._y)(""),y}return function(t,e){for(var n=e.prepareGetValue(t),l=[],u=(0,i.XP)(t),h=t.parser,c=h?(0,o.o2)(h):null,d=0;d<u.length;d++){var f=u[d];if(!("parser"===f||e.valueGetterAttrMap.get(f))){var g=(0,i.RI)(a,f)?a[f]:f,y=t[f],v=c?c(y):y,m=(0,o.tR)(g,v)||"reg"===g&&new s(v);m||(0,r._y)(""),l.push(m)}}l.length||(0,r._y)("");var _=new p;return _.valueGetterParam=n,_.valueParser=c,_.getValue=e.getValue,_.subCondList=l,_}(t,e)}function f(t,e,n){var o=e[t];(0,i.kJ)(o)||(0,r._y)(""),o.length||(0,r._y)("");var a="and"===t?new u:new h;return a.children=(0,i.UI)(o,function(t){return d(t,n)}),a.children.length||(0,r._y)(""),a}function g(t){return(0,i.Kn)(t)&&!(0,i.zG)(t)}var y=function(){function t(t,e){this._cond=d(t,e)}return t.prototype.evaluate=function(){return this._cond.evaluate()},t}(),v={type:"echarts:filter",transform:function(t){for(var e,n=t.upstream,o=new y(t.config,{valueGetterAttrMap:(0,i.kW)({dimension:!0}),prepareGetValue:function(t){var e=t.dimension;(0,i.RI)(t,"dimension")||(0,r._y)("");var o=n.getDimensionInfo(e);return o||(0,r._y)(""),{dimIdx:o.index}},getValue:function(t){return n.retrieveValueFromItem(e,t.dimIdx)}}),a=[],s=0,l=n.count();s<l;s++)e=n.getRawDataItem(s),o.evaluate()&&a.push(e);return{data:a}}},m=n(15693),_=n(46451),x={type:"echarts:sort",transform:function(t){var e=t.upstream,n=t.config,a=(0,_.kF)(n);a.length||(0,r._y)("");var s=[];(0,i.S6)(a,function(t){var n=t.dimension,i=t.order,a=t.parser,l=t.incomparable;null==n&&(0,r._y)(""),"asc"!==i&&"desc"!==i&&(0,r._y)(""),l&&"min"!==l&&"max"!==l&&(0,r._y)(""),"asc"!==i&&"desc"!==i&&(0,r._y)("");var u=e.getDimensionInfo(n);u||(0,r._y)("");var h=a?(0,o.o2)(a):null;a&&!h&&(0,r._y)(""),s.push({dimIdx:u.index,parser:h,comparator:new o.ID(i,l)})});var l=e.sourceFormat;l!==m.XD&&l!==m.qb&&(0,r._y)("");for(var u=[],h=0,c=e.count();h<c;h++)u.push(e.getRawDataItem(h));return u.sort(function(t,n){for(var i=0;i<s.length;i++){var r=s[i],o=e.retrieveValueFromItem(t,r.dimIdx),a=e.retrieveValueFromItem(n,r.dimIdx);r.parser&&(o=r.parser(o),a=r.parser(a));var l=r.comparator.evaluate(o,a);if(0!==l)return l}return 0}),{data:u}}};function S(t){t.registerTransform(v),t.registerTransform(x)}},63248:function(t,e,n){n.d(e,{H:()=>i});function i(t,e){return t.type===e}},589:function(t,e,n){n.d(e,{Yb:()=>z,Do:()=>F,PY:()=>V,aG:()=>N,rk:()=>H,WY:()=>W,Xv:()=>R,J9:()=>E,Jk:()=>Z,DX:()=>B});var i=n(96585),r=n(12012),o=n(47765),a=n(16436),s=n(72034),l=function(t){function e(e){var n=t.call(this,e)||this;n.type="ordinal";var r=n.getSetting("ordinalMeta");return r||(r=new a.Z({})),(0,i.kJ)(r)&&(r=new a.Z({categories:(0,i.UI)(r,function(t){return(0,i.Kn)(t)?t.value:t})})),n._ordinalMeta=r,n._extent=n.getSetting("extent")||[0,r.categories.length-1],n}return(0,r.ZT)(e,t),e.prototype.parse=function(t){return null==t?NaN:(0,i.HD)(t)?this._ordinalMeta.getOrdinal(t):Math.round(t)},e.prototype.contain=function(t){return t=this.parse(t),s.XS(t,this._extent)&&null!=this._ordinalMeta.categories[t]},e.prototype.normalize=function(t){return t=this._getTickNumber(this.parse(t)),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=Math.round(s.bA(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){this._ordinalNumbersByTick=this._ticksByOrdinalNumber=null;return}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<a;++r){var s=e[r];n[r]=s,i[s]=r}for(var l=0;r<o;++r){for(;null!=i[l];)l++;n.push(l),i[l]=r}},e.prototype._getTickNumber=function(t){var e=this._ticksByOrdinalNumber;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getRawOrdinalNumber=function(t){var e=this._ordinalNumbersByTick;return e&&t>=0&&t<e.length?e[t]:t},e.prototype.getLabel=function(t){if(!this.isBlank()){var e=this.getRawOrdinalNumber(t.value),n=this._ordinalMeta.categories[e];return null==n?"":n+""}},e.prototype.count=function(){return this._extent[1]-this._extent[0]+1},e.prototype.unionExtentFromData=function(t,e){this.unionExtent(t.getApproximateExtent(e))},e.prototype.isInExtentRange=function(t){return t=this._getTickNumber(t),this._extent[0]<=t&&this._extent[1]>=t},e.prototype.getOrdinalMeta=function(){return this._ordinalMeta},e.prototype.calcNiceTicks=function(){},e.prototype.calcNiceExtent=function(){},e.type="ordinal",e}(o.Z);o.Z.registerClass(l);var u=n(36700),h=n(12105),c=n(44964),p=n(81731),d=n(41070),f=function(t,e,n,i){for(;n<i;){var r=n+i>>>1;t[r][1]<e?n=r+1:i=r}return n},g=function(t){function e(e){var n=t.call(this,e)||this;return n.type="time",n}return(0,r.ZT)(e,t),e.prototype.getLabel=function(t){var e=this.getSetting("useUTC");return(0,d.WU)(t.value,d.V8[(0,d.xC)((0,d.Tj)(this._minLevelUnit))]||d.V8.second,e,this.getSetting("locale"))},e.prototype.getFormattedLabel=function(t,e,n){var i=this.getSetting("useUTC"),r=this.getSetting("locale");return(0,d.k7)(t,e,n,r,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 r=this.getSetting("useUTC"),o=function(t,e,n,r){for(var o=d.FW,a=0,s=[],l=[],u=0,h=0,c=0;c<o.length&&a++<1e4;++c){var f=(0,d.Tj)(o[c]);if((0,d.$K)(o[c])&&(!function(t,i,o){var a=[],s=!i.length;if(!function(t,e,n,i){var r=p.sG(e),o=p.sG(n),a=function(t){return(0,d.q5)(r,t,i)===(0,d.q5)(o,t,i)},s=function(){return a("year")},l=function(){return s()&&a("month")},u=function(){return l()&&a("day")},h=function(){return u()&&a("hour")},c=function(){return h()&&a("minute")},f=function(){return c()&&a("second")};switch(t){case"year":return s();case"month":return l();case"day":return u();case"hour":return h();case"minute":return c();case"second":return f();case"millisecond":return f()&&a("millisecond")}}((0,d.Tj)(t),r[0],r[1],n)){s&&(i=[{value:function(t,e,n){var i=new Date(t);switch((0,d.Tj)(e)){case"year":case"month":i[(0,d.vh)(n)](0);case"day":i[(0,d.f5)(n)](1);case"hour":i[(0,d.En)(n)](0);case"minute":i[(0,d.eN)(n)](0);case"second":i[(0,d.rM)(n)](0),i[(0,d.cb)(n)](0)}return i.getTime()}(new Date(r[0]),t,n)},{value:r[1]}]);for(var l=0;l<i.length-1;l++){var u=i[l].value,h=i[l+1].value;if(u!==h){var c,f,g,y=void 0,m=void 0,_=void 0,x=!1;switch(t){case"year":y=Math.max(1,Math.round(e/d.s2/365)),m=(0,d.sx)(n),_=(0,d.xL)(n);break;case"half-year":case"quarter":case"month":y=(c=e/(30*d.s2))>6?6:c>3?3:c>2?2:1,m=(0,d.CW)(n),_=(0,d.vh)(n);break;case"week":case"half-week":case"day":y=(f=e/d.s2)>16?16:f>7.5?7:f>3.5?4:f>1.5?2:1,m=(0,d.xz)(n),_=(0,d.f5)(n);break;case"half-day":case"quarter-day":case"hour":y=(g=e/d.dV)>12?12:g>6?6:g>3.5?4:g>2?2:1,m=(0,d.Wp)(n),_=(0,d.En)(n);break;case"minute":y=v(e,!0),m=(0,d.fn)(n),_=(0,d.eN)(n);break;case"second":y=v(e,!1),m=(0,d.MV)(n),_=(0,d.rM)(n);break;case"millisecond":y=p.kx(e,!0),m=(0,d.RZ)(n),_=(0,d.cb)(n)}!function(t,e,n,i,o,a,s){for(var l=new Date(e),u=e,h=l[i]();u<n&&u<=r[1];)s.push({value:u}),h+=t,l[o](h),u=l.getTime();s.push({value:u,notAdd:!0})}(y,u,h,m,_,0,a),"year"===t&&o.length>1&&0===l&&o.unshift({value:o[0].value-y})}}for(var l=0;l<a.length;l++)o.push(a[l])}}(o[c],s[s.length-1]||[],l),f!==(o[c+1]?(0,d.Tj)(o[c+1]):null))){if(l.length){h=u,l.sort(function(t,e){return t.value-e.value});for(var g=[],y=0;y<l.length;++y){var m=l[y].value;(0===y||l[y-1].value!==m)&&(g.push(l[y]),m>=r[0]&&m<=r[1]&&u++)}var _=(r[1]-r[0])/e;if(u>1.5*_&&h>_/1.5||(s.push(g),u>_||t===o[c]))break}l=[]}}for(var x=(0,i.hX)((0,i.UI)(s,function(t){return(0,i.hX)(t,function(t){return t.value>=r[0]&&t.value<=r[1]&&!t.notAdd})}),function(t){return t.length>0}),S=[],w=x.length-1,c=0;c<x.length;++c)for(var b=x[c],M=0;M<b.length;++M)S.push({value:b[M].value,level:w-c});S.sort(function(t,e){return t.value-e.value});for(var T=[],c=0;c<S.length;++c)(0===c||S[c].value!==S[c-1].value)&&T.push(S[c]);return T}(this._minLevelUnit,this._approxInterval,r,e);return(n=n.concat(o)).push({value:e[1],level:0}),n},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1]&&(e[0]-=d.s2,e[1]+=d.s2),e[1]===-1/0&&e[0]===1/0){var n=new Date;e[1]=+new Date(n.getFullYear(),n.getMonth(),n.getDate()),e[0]=e[1]-d.s2}this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval)},e.prototype.calcNiceTicks=function(t,e,n){t=t||10;var i=this._extent,r=i[1]-i[0];this._approxInterval=r/t,null!=e&&this._approxInterval<e&&(this._approxInterval=e),null!=n&&this._approxInterval>n&&(this._approxInterval=n);var o=y.length,a=Math.min(f(y,this._approxInterval,0,o),o-1);this._interval=y[a][1],this._minLevelUnit=y[Math.max(a-1,0)][0]},e.prototype.parse=function(t){return(0,i.hj)(t)?t:+p.sG(t)},e.prototype.contain=function(t){return s.XS(this.parse(t),this._extent)},e.prototype.normalize=function(t){return s.Fv(this.parse(t),this._extent)},e.prototype.scale=function(t){return s.bA(t,this._extent)},e.type="time",e}(u.Z),y=[["second",d.WT],["minute",d.yR],["hour",d.dV],["quarter-day",6*d.dV],["half-day",12*d.dV],["day",1.2*d.s2],["half-week",3.5*d.s2],["week",7*d.s2],["month",31*d.s2],["quarter",95*d.s2],["half-year",d.P5/2],["year",d.P5]];function v(t,e){return(t/=e?d.yR:d.WT)>30?30:t>20?20:t>15?15:t>10?10:t>5?5:t>2?2:1}o.Z.registerClass(g);var m=o.Z.prototype,_=u.Z.prototype,x=p.NM,S=Math.floor,w=Math.ceil,b=Math.pow,M=Math.log,T=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="log",e.base=10,e._originalScale=new u.Z,e._interval=0,e}return(0,r.ZT)(e,t),e.prototype.getTicks=function(t){var e=this._originalScale,n=this._extent,r=e.getExtent(),o=_.getTicks.call(this,t);return i.UI(o,function(t){var e=t.value,i=p.NM(b(this.base,e));return i=e===n[0]&&this._fixMin?I(i,r[0]):i,{value:i=e===n[1]&&this._fixMax?I(i,r[1]):i}},this)},e.prototype.setExtent=function(t,e){var n=M(this.base);t=M(Math.max(0,t))/n,e=M(Math.max(0,e))/n,_.setExtent.call(this,t,e)},e.prototype.getExtent=function(){var t=this.base,e=m.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]=I(e[0],n[0])),this._fixMax&&(e[1]=I(e[1],n[1])),e},e.prototype.unionExtent=function(t){this._originalScale.unionExtent(t);var e=this.base;t[0]=M(t[0])/M(e),t[1]=M(t[1])/M(e),m.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=p.Xd(n);for(t/n*i<=.5&&(i*=10);!isNaN(i)&&1>Math.abs(i)&&Math.abs(i)>0;)i*=10;var r=[p.NM(w(e[0]/i)*i),p.NM(S(e[1]/i)*i)];this._interval=i,this._niceExtent=r}},e.prototype.calcNiceExtent=function(t){_.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 t=M(t)/M(this.base),s.XS(t,this._extent)},e.prototype.normalize=function(t){return t=M(t)/M(this.base),s.Fv(t,this._extent)},e.prototype.scale=function(t){return t=s.bA(t,this._extent),b(this.base,t)},e.type="log",e}(o.Z),k=T.prototype;function I(t,e){return x(t,p.p8(e))}k.getMinorTicks=_.getMinorTicks,k.getLabel=_.getLabel,o.Z.registerClass(T);var D=n(93054),C=n(45258),A=function(){function t(t,e,n){this._prepareParams(t,e,n)}return t.prototype._prepareParams=function(t,e,n){n[1]<n[0]&&(n=[NaN,NaN]),this._dataMin=n[0],this._dataMax=n[1];var r=this._isOrdinal="ordinal"===t.type;this._needCrossZero="interval"===t.type&&e.getNeedCrossZero&&e.getNeedCrossZero();var o=e.get("min",!0);null==o&&(o=e.get("startValue",!0));var a=this._modelMinRaw=o;(0,i.mf)(a)?this._modelMinNum=O(t,a({min:n[0],max:n[1]})):"dataMin"!==a&&(this._modelMinNum=O(t,a));var s=this._modelMaxRaw=e.get("max",!0);if((0,i.mf)(s)?this._modelMaxNum=O(t,s({min:n[0],max:n[1]})):"dataMax"!==s&&(this._modelMaxNum=O(t,s)),r)this._axisDataLen=e.getCategories().length;else{var l=e.get("boundaryGap"),u=(0,i.kJ)(l)?l:[l||0,l||0];"boolean"==typeof u[0]||"boolean"==typeof u[1]?this._boundaryGapInner=[0,0]:this._boundaryGapInner=[(0,C.GM)(u[0],1),(0,C.GM)(u[1],1)]}},t.prototype.calculate=function(){var t=this._isOrdinal,e=this._dataMin,n=this._dataMax,r=this._axisDataLen,o=this._boundaryGapInner,a=t?null:n-e||Math.abs(e),s="dataMin"===this._modelMinRaw?e:this._modelMinNum,l="dataMax"===this._modelMaxRaw?n:this._modelMaxNum,u=null!=s,h=null!=l;null==s&&(s=t?r?0:NaN:e-o[0]*a),null==l&&(l=t?r?r-1:NaN:n+o[1]*a),null!=s&&isFinite(s)||(s=NaN),null!=l&&isFinite(l)||(l=NaN);var c=(0,i.Bu)(s)||(0,i.Bu)(l)||t&&!r;this._needCrossZero&&(s>0&&l>0&&!u&&(s=0),s<0&&l<0&&!h&&(l=0));var p=this._determinedMin,d=this._determinedMax;return null!=p&&(s=p,u=!0),null!=d&&(l=d,h=!0),{min:s,max:l,minFixed:u,maxFixed:h,isBlank:c}},t.prototype.modifyDataMinMax=function(t,e){this[L[t]]=e},t.prototype.setDeterminedMinMax=function(t,e){this[P[t]]=e},t.prototype.freeze=function(){this.frozen=!0},t}(),P={min:"_determinedMin",max:"_determinedMax"},L={min:"_dataMin",max:"_dataMax"};function O(t,e){return null==e?null:(0,i.Bu)(e)?NaN:t.parse(e)}function R(t,e){var n,r,o=t.type,a=(n=t.getExtent(),(r=t.rawExtentInfo)||(r=new A(t,e,n),t.rawExtentInfo=r),r).calculate();t.setBlank(a.isBlank);var s=a.min,l=a.max,u=e.ecModel;if(u&&"time"===o){var c=(0,h.Ge)("bar",u),p=!1;if(i.S6(c,function(t){p=p||t.getBaseAxis()===e.axis}),p){var d=function(t,e,n,r){var o=n.axis.getExtent(),a=Math.abs(o[1]-o[0]),s=(0,h.G_)(r,n.axis);if(void 0===s)return{min:t,max:e};var l=1/0;i.S6(s,function(t){l=Math.min(t.offset,l)});var u=-1/0;i.S6(s,function(t){u=Math.max(t.offset+t.width,u)});var c=(l=Math.abs(l))+(u=Math.abs(u)),p=e-t,d=p/(1-(l+u)/a)-p;return e+=u/c*d,{min:t-=l/c*d,max:e}}(s,l,e,(0,h.My)(c));s=d.min,l=d.max}}return{extent:[s,l],fixMin:a.minFixed,fixMax:a.maxFixed}}function Z(t,e){var n=R(t,e),i=n.extent,r=e.get("splitNumber");t instanceof T&&(t.base=e.get("logBase"));var o=t.type,a=e.get("interval"),s="interval"===o||"time"===o;t.setExtent(i[0],i[1]),t.calcNiceExtent({splitNumber:r,fixMin:n.fixMin,fixMax:n.fixMax,minInterval:s?e.get("minInterval"):null,maxInterval:s?e.get("maxInterval"):null}),null!=a&&t.setInterval&&t.setInterval(a)}function N(t,e){if(e=e||t.get("type"))switch(e){case"category":return new l({ordinalMeta:t.getOrdinalMeta?t.getOrdinalMeta():t.getCategories(),extent:[1/0,-1/0]});case"time":return new g({locale:t.ecModel.getLocaleModel(),useUTC:t.ecModel.get("useUTC")});default:return new(o.Z.getClass(e)||u.Z)}}function z(t){var e=t.scale.getExtent(),n=e[0],i=e[1];return!(n>0&&i>0||n<0&&i<0)}function E(t){var e=t.getLabelModel().get("formatter"),n="category"===t.type?t.scale.getExtent()[0]:null;return"time"===t.scale.type?function(n,i){return t.scale.getFormattedLabel(n,i,e)}:i.HD(e)?function(n){var i=t.scale.getLabel(n);return e.replace("{value}",null!=i?i:"")}:i.mf(e)?function(i,r){return null!=n&&(r=i.value-n),e(B(t,i),r,null!=i.level?{level:i.level}:null)}:function(e){return t.scale.getLabel(e)}}function B(t,e){return"category"===t.type?t.scale.getLabel(e):e.value}function F(t){var e,n,i,r=t.model,o=t.scale;if(!(!r.get(["axisLabel","show"])||o.isBlank())){var a=o.getExtent();n=o instanceof l?o.count():(e=o.getTicks()).length;var s=t.getLabelModel(),u=E(t),h=1;n>40&&(h=Math.ceil(n/40));for(var p=0;p<n;p+=h){var d=u(e?e[p]:{value:a[0]+p},p),f=function(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 c.Z(t.x,t.y,o,a)}(s.getTextRect(d),s.get("rotate")||0);i?i.union(f):i=f}return i}}function H(t){var e=t.get("interval");return null==e?"auto":e}function W(t){return"category"===t.type&&0===H(t.getLabelModel())}function V(t,e){var n={};return i.S6(t.mapDimensionsAll(e),function(e){n[(0,D.IR)(t,e)]=!0}),i.XP(n)}},60891:function(t,e,n){n.d(e,{Mk:()=>s,Yh:()=>a,bK:()=>o});var i=n(96585),r=n(46451);function o(t,e,n){n=n||{};var r=t.coordinateSystem,o=e.axis,a={},s=o.getAxesOnZeroOf()[0],l=o.position,u=s?"onZero":l,h=o.dim,c=r.getRect(),p=[c.x,c.x+c.width,c.y,c.y+c.height],d={left:0,right:1,top:0,bottom:1,onZero:2},f=e.get("offset")||0,g="x"===h?[p[2]-f,p[3]+f]:[p[0]-f,p[1]+f];if(s){var y=s.toGlobalCoord(s.dataToCoord(0));g[d.onZero]=Math.max(Math.min(y,g[1]),g[0])}a.position=["y"===h?g[d[u]]:p[0],"x"===h?g[d[u]]:p[3]],a.rotation=Math.PI/2*("x"!==h),a.labelDirection=a.tickDirection=a.nameDirection=({top:-1,bottom:1,left:-1,right:1})[l],a.labelOffset=s?g[d[l]]-g[d.onZero]:0,e.get(["axisTick","inside"])&&(a.tickDirection=-a.tickDirection),i.Jv(n.labelInside,e.get(["axisLabel","inside"]))&&(a.labelDirection=-a.labelDirection);var v=e.get(["axisLabel","rotate"]);return a.labelRotate="top"===u?-v:v,a.z2=1,a}function a(t){return"cartesian2d"===t.get("coordinateSystem")}function s(t){var e={xAxisModel:null,yAxisModel:null};return i.S6(e,function(n,i){var o=i.replace(/Model$/,""),a=t.getReferringComponents(o,r.C6).models[0];e[i]=a}),e}},44733:function(t,e,n){n.d(e,{Z:()=>o});var i=n(96585),r={};let o=function(){function t(){this._coordinateSystems=[]}return t.prototype.create=function(t,e){var n=[];i.S6(r,function(i,r){var o=i.create(t,e);n=n.concat(o||[])}),this._coordinateSystems=n},t.prototype.update=function(t,e){i.S6(this._coordinateSystems,function(n){n.update&&n.update(t,e)})},t.prototype.getCoordinateSystems=function(){return this._coordinateSystems.slice()},t.register=function(t,e){r[t]=e},t.get=function(t){return r[t]},t}()},82994:function(t,e,n){n.d(e,{zl:()=>eH,qR:()=>eV,je:()=>eq,ds:()=>eN,Pu:()=>ez,Hr:()=>eu,OB:()=>eK,yn:()=>eY,sq:()=>eE,S1:()=>eZ,Og:()=>eG,YK:()=>eF,RS:()=>eW,Br:()=>eB});var i,r,o,a,s,l,u,h,c,p,d,f,g,y,v,m,_,x,S,w,b,M,T=n(12012),k=n(44262),I=n(96585),D=n(76226),C=n(22137),A=n(46606),P=n(46451),L=n(84456),O=n(68943),R="";"undefined"!=typeof navigator&&(R=navigator.platform||"");var Z="rgba(0, 0, 0, 0.2)";let N={darkMode:"auto",colorBy:"series",color:["#5470c6","#91cc75","#fac858","#ee6666","#73c0de","#3ba272","#fc8452","#9a60b4","#ea7ccc"],gradientColor:["#f6efa6","#d88273","#bf444c"],aria:{decal:{decals:[{color:Z,dashArrayX:[1,0],dashArrayY:[2,5],symbolSize:1,rotation:Math.PI/6},{color:Z,symbol:"circle",dashArrayX:[[8,8],[0,8,8,0]],dashArrayY:[6,0],symbolSize:.8},{color:Z,dashArrayX:[1,0],dashArrayY:[4,3],rotation:-Math.PI/4},{color:Z,dashArrayX:[[6,6],[0,6,6,0]],dashArrayY:[6,0]},{color:Z,dashArrayX:[[1,0],[1,6]],dashArrayY:[1,0,6,0],rotation:Math.PI/4},{color:Z,symbol:"triangle",dashArrayX:[[9,9],[0,9,9,0]],dashArrayY:[7,2],symbolSize:.75}]}},textStyle:{fontFamily:R.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};var z=n(490),E=(0,I.kW)(),B=n(14937),F="\0_ec_inner",H=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,T.ZT)(e,t),e.prototype.init=function(t,e,n,i,r,o){i=i||{},this.option=null,this._theme=new L.Z(i),this._locale=new L.Z(r),this._optionManager=o},e.prototype.setOption=function(t,e,n){var i=G(e);this._optionManager.setOption(t,n,i),this._resetOption(null,i)},e.prototype.resetOption=function(t,e){return this._resetOption(t,G(e))},e.prototype._resetOption=function(t,e){var n=!1,i=this._optionManager;if(!t||"recreate"===t){var r=i.mountOption("recreate"===t);this.option&&"recreate"!==t?(this.restoreData(),this._mergeOption(r,e)):o(this,r),n=!0}if(("timeline"===t||"media"===t)&&this.restoreData(),!t||"recreate"===t||"timeline"===t){var a=i.getTimelineOption(this);a&&(n=!0,this._mergeOption(a,e))}if(!t||"recreate"===t||"media"===t){var s=i.getMediaOption(this);s.length&&(0,I.S6)(s,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,r=this._componentsMap,o=this._componentsCount,a=[],s=(0,I.kW)(),l=e&&e.replaceMergeMainTypeMap;(0,z.md)(this),(0,I.S6)(t,function(t,e){null!=t&&(O.Z.hasClass(e)?e&&(a.push(e),s.set(e,!0)):n[e]=null==n[e]?(0,I.d9)(t):(0,I.TS)(n[e],t,!0))}),l&&l.each(function(t,e){O.Z.hasClass(e)&&!s.get(e)&&(a.push(e),s.set(e,!0))}),O.Z.topologicalTravel(a,O.Z.getAllClassMainTypes(),function(e){var a,s=function(t,e,n){var i=E.get(e);if(!i)return n;var r=i(t);return r?n.concat(r):n}(this,e,P.kF(t[e])),u=r.get(e),h=u?l&&l.get(e)?"replaceMerge":"normalMerge":"replaceAll",c=P.ab(u,s,h);P.O0(c,e,O.Z),n[e]=null,r.set(e,null),o.set(e,0);var p=[],d=[],f=0;(0,I.S6)(c,function(t,n){var i=t.existing,r=t.newOption;if(r){var o="series"===e,s=O.Z.getClass(e,t.keyInfo.subType,!o);if(!s)return;if("tooltip"===e){if(a)return;a=!0}if(i&&i.constructor===s)i.name=t.keyInfo.name,i.mergeOption(r,this),i.optionUpdated(r,!1);else{var l=(0,I.l7)({componentIndex:n},t.keyInfo);i=new s(r,this,this,l),(0,I.l7)(i,l),t.brandNew&&(i.__requireNewView=!0),i.init(r,this,this),i.optionUpdated(null,!0)}}else i&&(i.mergeOption({},this),i.optionUpdated({},!1));i?(p.push(i.option),d.push(i),f++):(p.push(void 0),d.push(void 0))},this),n[e]=p,r.set(e,d),o.set(e,f),"series"===e&&i(this)},this),this._seriesIndices||i(this)},e.prototype.getOption=function(){var t=(0,I.d9)(this.option);return(0,I.S6)(t,function(e,n){if(O.Z.hasClass(n)){for(var i=P.kF(e),r=i.length,o=!1,a=r-1;a>=0;a--)i[a]&&!P.lY(i[a])?o=!0:(i[a]=null,!o&&r--);i.length=r,t[n]=i}}),delete t[F],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<n.length;r++)if(n[r])return n[r]}}},e.prototype.queryComponents=function(t){var e,n=t.mainType;if(!n)return[];var i=t.index,r=t.id,o=t.name,a=this._componentsMap.get(n);return a&&a.length?(null!=i?(e=[],(0,I.S6)(P.kF(i),function(t){a[t]&&e.push(a[t])})):e=null!=r?W("id",r,a):null!=o?W("name",o,a):(0,I.hX)(a,function(t){return!!t}),V(e,t)):[]},e.prototype.findComponents=function(t){var e,n,i,r,o,a=t.query,s=t.mainType,l=(e=a,n=s+"Index",i=s+"Id",r=s+"Name",e&&(null!=e[n]||null!=e[i]||null!=e[r])?{mainType:s,index:e[n],id:e[i],name:e[r]}:null);return o=V(l?this.queryComponents(l):(0,I.hX)(this._componentsMap.get(s),function(t){return!!t}),t),t.filter?(0,I.hX)(o,t.filter):o},e.prototype.eachComponent=function(t,e,n){var i=this._componentsMap;if((0,I.mf)(t))i.each(function(n,i){for(var r=0;n&&r<n.length;r++){var o=n[r];o&&t.call(e,i,o,o.componentIndex)}});else for(var r=(0,I.HD)(t)?i.get(t):(0,I.Kn)(t)?this.findComponents(t):null,o=0;r&&o<r.length;o++){var a=r[o];a&&e.call(n,a,a.componentIndex)}},e.prototype.getSeriesByName=function(t){var e=P.U5(t,null);return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t&&null!=e&&t.name===e})},e.prototype.getSeriesByIndex=function(t){return this._componentsMap.get("series")[t]},e.prototype.getSeriesByType=function(t){return(0,I.hX)(this._componentsMap.get("series"),function(e){return!!e&&e.subType===t})},e.prototype.getSeries=function(){return(0,I.hX)(this._componentsMap.get("series"),function(t){return!!t})},e.prototype.getSeriesCount=function(){return this._componentsCount.get("series")},e.prototype.eachSeries=function(t,e){r(this),(0,I.S6)(this._seriesIndices,function(n){var i=this._componentsMap.get("series")[n];t.call(e,i,n)},this)},e.prototype.eachRawSeries=function(t,e){(0,I.S6)(this._componentsMap.get("series"),function(n){n&&t.call(e,n,n.componentIndex)})},e.prototype.eachSeriesByType=function(t,e,n){r(this),(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];r.subType===t&&e.call(n,r,i)},this)},e.prototype.eachRawSeriesByType=function(t,e,n){return(0,I.S6)(this.getSeriesByType(t),e,n)},e.prototype.isSeriesFiltered=function(t){return r(this),null==this._seriesIndicesMap.get(t.componentIndex)},e.prototype.getCurrentSeriesIndices=function(){return(this._seriesIndices||[]).slice()},e.prototype.filterSeries=function(t,e){r(this);var n=[];(0,I.S6)(this._seriesIndices,function(i){var r=this._componentsMap.get("series")[i];t.call(e,r,i)&&n.push(i)},this),this._seriesIndices=n,this._seriesIndicesMap=(0,I.kW)(n)},e.prototype.restoreData=function(t){i(this);var e=this._componentsMap,n=[];e.each(function(t,e){O.Z.hasClass(e)&&n.push(e)}),O.Z.topologicalTravel(n,O.Z.getAllClassMainTypes(),function(n){(0,I.S6)(e.get(n),function(e){e&&("series"!==n||!function(t,e){if(e){var n=e.seriesIndex,i=e.seriesId,r=e.seriesName;return null!=n&&t.componentIndex!==n||null!=i&&t.id!==i||null!=r&&t.name!==r}}(e,t))&&e.restoreData()})})},e.internalField=void(i=function(t){var e=t._seriesIndices=[];(0,I.S6)(t._componentsMap.get("series"),function(t){t&&e.push(t.componentIndex)}),t._seriesIndicesMap=(0,I.kW)(e)},r=function(t){},o=function(t,e){t.option={},t.option[F]=1,t._componentsMap=(0,I.kW)({series:[]}),t._componentsCount=(0,I.kW)();var n,i,r,o=e.aria;(0,I.Kn)(o)&&null==o.enabled&&(o.enabled=!0),n=e,i=t._theme.option,r=n.color&&!n.colorLayer,(0,I.S6)(i,function(t,e){("colorLayer"!==e||!r)&&(O.Z.hasClass(e)||("object"==typeof t?n[e]=n[e]?(0,I.TS)(n[e],t,!1):(0,I.d9)(t):null==n[e]&&(n[e]=t)))}),(0,I.TS)(e,N,!1),t._mergeOption(e,null)}),e}(L.Z);function W(t,e,n){if((0,I.kJ)(e)){var i=(0,I.kW)();return(0,I.S6)(e,function(t){null!=t&&null!=P.U5(t,null)&&i.set(t,!0)}),(0,I.hX)(n,function(e){return e&&i.get(e[t])})}var r=P.U5(e,null);return(0,I.hX)(n,function(e){return e&&null!=r&&e[t]===r})}function V(t,e){return e.hasOwnProperty("subType")?(0,I.hX)(t,function(t){return t&&t.subType===e.subType}):t}function G(t){var e=(0,I.kW)();return t&&(0,I.S6)(P.kF(t.replaceMerge),function(t){e.set(t,!0)}),{replaceMergeMainTypeMap:e}}(0,I.jB)(H,B._);var U=["getDom","getZr","getWidth","getHeight","getDevicePixelRatio","dispatchAction","isSSR","isDisposed","on","off","getDataURL","getConnectedDataURL","getOption","getId","updateLabelLayout"];let X=function(t){I.S6(U,function(e){this[e]=I.ak(t[e],t)},this)};var Y=n(44733),q=/^(min|max)?(.+)$/,K=function(){function t(t){this._timelineOptions=[],this._mediaList=[],this._currentMediaIndices=[],this._api=t}return t.prototype.setOption=function(t,e,n){t&&((0,I.S6)((0,P.kF)(t.series),function(t){t&&t.data&&(0,I.fU)(t.data)&&(0,I.s7)(t.data)}),(0,I.S6)((0,P.kF)(t.dataset),function(t){t&&t.source&&(0,I.fU)(t.source)&&(0,I.s7)(t.source)})),t=(0,I.d9)(t);var i=this._optionBackup,r=function(t,e,n){var i,r,o=[],a=t.baseOption,s=t.timeline,l=t.options,u=t.media,h=!!t.media,c=!!(l||s||a&&a.timeline);function p(t){(0,I.S6)(e,function(e){e(t,n)})}return a?(r=a).timeline||(r.timeline=s):((c||h)&&(t.options=t.media=null),r=t),h&&(0,I.kJ)(u)&&(0,I.S6)(u,function(t){t&&t.option&&(t.query?o.push(t):i||(i=t))}),p(r),(0,I.S6)(l,function(t){return p(t)}),(0,I.S6)(o,function(t){return p(t.option)}),{baseOption:r,timelineOptions:l||[],mediaDefault:i,mediaList:o}}(t,e,!i);this._newBaseOption=r.baseOption,i?(r.timelineOptions.length&&(i.timelineOptions=r.timelineOptions),r.mediaList.length&&(i.mediaList=r.mediaList),r.mediaDefault&&(i.mediaDefault=r.mediaDefault)):this._optionBackup=r},t.prototype.mountOption=function(t){var e=this._optionBackup;return this._timelineOptions=e.timelineOptions,this._mediaList=e.mediaList,this._mediaDefault=e.mediaDefault,this._currentMediaIndices=[],(0,I.d9)(t?e.baseOption:this._newBaseOption)},t.prototype.getTimelineOption=function(t){var e,n=this._timelineOptions;if(n.length){var i=t.getComponent("timeline");i&&(e=(0,I.d9)(n[i.getCurrentIndex()]))}return e},t.prototype.getMediaOption=function(t){var e,n,i=this._api.getWidth(),r=this._api.getHeight(),o=this._mediaList,a=this._mediaDefault,s=[],l=[];if(!o.length&&!a)return l;for(var u=0,h=o.length;u<h;u++)(function(t,e,n){var i={width:e,height:n,aspectratio:e/n},r=!0;return(0,I.S6)(t,function(t,e){var n=e.match(q);if(n&&n[1]&&n[2]){var o,a,s,l=n[1];o=i[n[2].toLowerCase()],a=t,("min"===(s=l)?o>=a:"max"===s?o<=a:o===a)||(r=!1)}}),r})(o[u].query,i,r)&&s.push(u);return!s.length&&a&&(s=[-1]),s.length&&(e=s,n=this._currentMediaIndices,e.join(",")!==n.join(","))&&(l=(0,I.UI)(s,function(t){return(0,I.d9)(-1===t?a.option:o[t].option)})),this._currentMediaIndices=s,l},t}(),j=I.S6,J=I.Kn,Q=["areaStyle","lineStyle","nodeStyle","linkStyle","chordStyle","label","labelLine"];function $(t){var e=t&&t.itemStyle;if(e)for(var n=0,i=Q.length;n<i;n++){var r=Q[n],o=e.normal,a=e.emphasis;o&&o[r]&&(t[r]=t[r]||{},t[r].normal?I.TS(t[r].normal,o[r]):t[r].normal=o[r],o[r]=null),a&&a[r]&&(t[r]=t[r]||{},t[r].emphasis?I.TS(t[r].emphasis,a[r]):t[r].emphasis=a[r],a[r]=null)}}function tt(t,e,n){if(t&&t[e]&&(t[e].normal||t[e].emphasis)){var i=t[e].normal,r=t[e].emphasis;i&&(n?(t[e].normal=t[e].emphasis=null,I.ce(t[e],i)):t[e]=i),r&&(t.emphasis=t.emphasis||{},t.emphasis[e]=r,r.focus&&(t.emphasis.focus=r.focus),r.blurScope&&(t.emphasis.blurScope=r.blurScope))}}function te(t){tt(t,"itemStyle"),tt(t,"lineStyle"),tt(t,"areaStyle"),tt(t,"label"),tt(t,"labelLine"),tt(t,"upperLabel"),tt(t,"edgeLabel")}function tn(t,e){var n=J(t)&&t[e],i=J(n)&&n.textStyle;if(i)for(var r=0,o=P.Td.length;r<o;r++){var a=P.Td[r];i.hasOwnProperty(a)&&(n[a]=i[a])}}function ti(t){t&&(te(t),tn(t,"label"),t.emphasis&&tn(t.emphasis,"label"))}function tr(t){return I.kJ(t)?t:t?[t]:[]}function to(t){return(I.kJ(t)?t[0]:t)||{}}function ta(t){t&&(0,I.S6)(ts,function(e){e[0]in t&&!(e[1]in t)&&(t[e[1]]=t[e[0]])})}var ts=[["x","left"],["y","top"],["x2","right"],["y2","bottom"]],tl=["grid","geo","parallel","legend","toolbox","title","visualMap","dataZoom","timeline"],tu=[["borderRadius","barBorderRadius"],["borderColor","barBorderColor"],["borderWidth","barBorderWidth"]];function th(t){var e=t&&t.itemStyle;if(e)for(var n=0;n<tu.length;n++){var i=tu[n][1],r=tu[n][0];null!=e[i]&&(e[r]=e[i])}}function tc(t){t&&"edge"===t.alignTo&&null!=t.margin&&null==t.edgeDistance&&(t.edgeDistance=t.margin)}function tp(t){t&&t.downplay&&!t.blur&&(t.blur=t.downplay)}function td(t,e){var n;j(tr(t.series),function(t){J(t)&&function(t){if(J(t)){$(t),te(t),tn(t,"label"),tn(t,"upperLabel"),tn(t,"edgeLabel"),t.emphasis&&(tn(t.emphasis,"label"),tn(t.emphasis,"upperLabel"),tn(t.emphasis,"edgeLabel"));var e=t.markPoint;e&&($(e),ti(e));var n=t.markLine;n&&($(n),ti(n));var i=t.markArea;i&&ti(i);var r=t.data;if("graph"===t.type){r=r||t.nodes;var o=t.links||t.edges;if(o&&!I.fU(o))for(var a=0;a<o.length;a++)ti(o[a]);I.S6(t.categories,function(t){te(t)})}if(r&&!I.fU(r))for(var a=0;a<r.length;a++)ti(r[a]);if((e=t.markPoint)&&e.data)for(var s=e.data,a=0;a<s.length;a++)ti(s[a]);if((n=t.markLine)&&n.data)for(var l=n.data,a=0;a<l.length;a++)I.kJ(l[a])?(ti(l[a][0]),ti(l[a][1])):ti(l[a]);"gauge"===t.type?(tn(t,"axisLabel"),tn(t,"title"),tn(t,"detail")):"treemap"===t.type?(tt(t.breadcrumb,"itemStyle"),I.S6(t.levels,function(t){te(t)})):"tree"===t.type&&te(t.leaves)}}(t)}),n=["xAxis","yAxis","radiusAxis","angleAxis","singleAxis","parallelAxis","radar"],e&&n.push("valueAxis","categoryAxis","logAxis","timeAxis"),j(n,function(e){j(tr(t[e]),function(t){t&&(tn(t,"axisLabel"),tn(t.axisPointer,"label"))})}),j(tr(t.parallel),function(t){var e=t&&t.parallelAxisDefault;tn(e,"axisLabel"),tn(e&&e.axisPointer,"label")}),j(tr(t.calendar),function(t){tt(t,"itemStyle"),tn(t,"dayLabel"),tn(t,"monthLabel"),tn(t,"yearLabel")}),j(tr(t.radar),function(t){tn(t,"name"),t.name&&null==t.axisName&&(t.axisName=t.name,delete t.name),null!=t.nameGap&&null==t.axisNameGap&&(t.axisNameGap=t.nameGap,delete t.nameGap)}),j(tr(t.geo),function(t){J(t)&&(ti(t),j(tr(t.regions),function(t){ti(t)}))}),j(tr(t.timeline),function(t){ti(t),tt(t,"label"),tt(t,"itemStyle"),tt(t,"controlStyle",!0);var e=t.data;I.kJ(e)&&I.S6(e,function(t){I.Kn(t)&&(tt(t,"label"),tt(t,"itemStyle"))})}),j(tr(t.toolbox),function(t){tt(t,"iconStyle"),j(t.feature,function(t){tt(t,"iconStyle")})}),tn(to(t.axisPointer),"label"),tn(to(t.tooltip).axisPointer,"label"),t.series=(0,P.kF)(t.series),(0,I.S6)(t.series,function(t){if((0,I.Kn)(t)){var e=t.type;if("line"===e)null!=t.clipOverflow&&(t.clip=t.clipOverflow);else if("pie"===e||"gauge"===e){null!=t.clockWise&&(t.clockwise=t.clockWise),tc(t.label);var n=t.data;if(n&&!(0,I.fU)(n))for(var i=0;i<n.length;i++)tc(n[i]);null!=t.hoverOffset&&(t.emphasis=t.emphasis||{},t.emphasis.scaleSize=null)}else if("gauge"===e){var r=function(t,e){for(var n=e.split(","),i=t,r=0;r<n.length&&null!=(i=i&&i[n[r]]);r++);return i}(t,"pointer.color");null!=r&&function(t,e,n,i){for(var r,o=e.split(","),a=t,s=0;s<o.length-1;s++)null==a[r=o[s]]&&(a[r]={}),a=a[r];null==a[o[s]]&&(a[o[s]]=n)}(t,"itemStyle.color",r)}else if("bar"===e){th(t),th(t.backgroundStyle),th(t.emphasis);var n=t.data;if(n&&!(0,I.fU)(n))for(var i=0;i<n.length;i++)"object"==typeof n[i]&&(th(n[i]),th(n[i]&&n[i].emphasis))}else if("sunburst"===e){var o=t.highlightPolicy;o&&(t.emphasis=t.emphasis||{},t.emphasis.focus||(t.emphasis.focus=o)),tp(t),function t(e,n){if(e)for(var i=0;i<e.length;i++)n(e[i]),e[i]&&t(e[i].children,n)}(t.data,tp)}else"graph"===e||"sankey"===e?t&&null!=t.focusNodeAdjacency&&(t.emphasis=t.emphasis||{},null==t.emphasis.focus&&(t.emphasis.focus="adjacency")):"map"===e&&(t.mapType&&!t.map&&(t.map=t.mapType),t.mapLocation&&(0,I.ce)(t,t.mapLocation));null!=t.hoverAnimation&&(t.emphasis=t.emphasis||{},t.emphasis&&null==t.emphasis.scale&&(t.emphasis.scale=t.hoverAnimation)),ta(t)}}),t.dataRange&&(t.visualMap=t.dataRange),(0,I.S6)(tl,function(e){var n=t[e];n&&((0,I.kJ)(n)||(n=[n]),(0,I.S6)(n,function(t){ta(t)}))})}var tf=n(81731);function tg(t){(0,I.S6)(t,function(e,n){var i=[],r=[NaN,NaN],o=[e.stackResultDimension,e.stackedOverDimension],a=e.data,s=e.isStackedByIndex,l=e.seriesModel.get("stackStrategy")||"samesign";a.modify(o,function(o,u,h){var c,p,d=a.get(e.stackedDimension,h);if(isNaN(d))return r;s?p=a.getRawIndex(h):c=a.get(e.stackedByDimension,h);for(var f=NaN,g=n-1;g>=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=(0,tf.S$)(d,v),f=v;break}}}return i[0]=d,i[1]=f,i})})}var ty=n(69331),tv=n(28440),tm=n(47389),t_=n(40361),tx=n(31386),tS=n(17524),tw=n(50654),tb=n(55413),tM=n(63344),tT=n(59524),tk=n(12772),tI=n(22154),tD=n(70259),tC=(0,P.Yf)(),tA={itemStyle:(0,tk.Z)(tI.t,!0),lineStyle:(0,tk.Z)(tD.v,!0)},tP={lineStyle:"stroke",itemStyle:"fill"};function tL(t,e){var n=t.visualStyleMapper||tA[e];return n||(console.warn("Unknown style type '"+e+"'."),tA.itemStyle)}function tO(t,e){var n=t.visualDrawType||tP[e];return n||(console.warn("Unknown style type '"+e+"'."),"fill")}var tR=new L.Z,tZ=n(19171),tN=n(26991),tz=n(52902),tE=Math.PI,tB=n(72739),tF=n(95202),tH=function(){function t(t,e,n,i){this._stageTaskMap=(0,I.kW)(),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,a=null!=o?Math.ceil(o/r):null;return{step:r,modBy:a,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=(0,I.kW)();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;(0,I.S6)(this._allHandlers,function(i){var r=t.get(i.uid)||t.set(i.uid,{});(0,I.hu)(!(i.reset&&i.overallReset),""),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))}(0,I.S6)(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=(0,I.kW)(),s=t.seriesType,l=t.getTargetSeries;function u(e){var s=e.uid,l=a.set(s,o&&o.get(s)||(0,tB.v)({plan:tX,reset:tY,count:tj}));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||(0,tB.v)({reset:tW});o.context={ecModel:n,api:i,overallReset:t.overallReset,scheduler:r};var a=o.agentStubMap,s=o.agentStubMap=(0,I.kW)(),l=t.seriesType,u=t.getTargetSeries,h=!0,c=!1;function p(t){var e=t.uid,n=s.set(e,a&&a.get(e)||(c=!0,(0,tB.v)({reset:tV,onDirty:tU})));n.context={model:t,overallProgress:h},n.agent=o,n.__block=h,r._pipe(t,n)}(0,I.hu)(!t.createOnAllSeries,""),l?n.eachRawSeriesByType(l,p):u?u(n,i).each(p):(h=!1,(0,I.S6)(n.getSeries(),p)),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(0,I.mf)(t)&&(t={overallReset:t,seriesType:function(t){a=null;try{t(tJ,tQ)}catch(t){}return a}(t)}),t.uid=(0,tF.Kr)("stageHandler"),e&&(t.visualType=e),t},t}();function tW(t){t.overallReset(t.ecModel,t.api,t.payload)}function tV(t){return t.overallProgress&&tG}function tG(){this.agent.dirty(),this.getDownstream().dirty()}function tU(){this.agent&&this.agent.dirty()}function tX(t){return t.plan?t.plan(t.model,t.ecModel,t.api,t.payload):null}function tY(t){t.useClearVisual&&t.data.clearAllVisual();var e=t.resetDefines=(0,P.kF)(t.reset(t.model,t.ecModel,t.api,t.payload));return e.length>1?(0,I.UI)(e,function(t,e){return tK(e)}):tq}var tq=tK(0);function tK(t){return function(e,n){var i=n.data,r=n.resetDefines[t];if(r&&r.dataEach)for(var o=e.start;o<e.end;o++)r.dataEach(i,o);else r&&r.progress&&r.progress(e,i)}}function tj(t){return t.data.count()}var tJ={},tQ={};function t$(t,e){for(var n in e.prototype)t[n]=I.ZT}t$(tJ,H),t$(tQ,X),tJ.eachSeriesByType=tJ.eachRawSeriesByType=function(t){a=t},tJ.eachComponent=function(t){"series"===t.mainType&&t.subType&&(a=t.subType)};var t0=["#37A2DA","#32C5E9","#67E0E3","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#E062AE","#E690D1","#e7bcf3","#9d96f5","#8378EA","#96BFFF"],t1="#B9B8CE",t2="#100C2A",t5=function(){return{axisLine:{lineStyle:{color:t1}},splitLine:{lineStyle:{color:"#484753"}},splitArea:{areaStyle:{color:["rgba(255,255,255,0.02)","rgba(255,255,255,0.05)"]}},minorSplitLine:{lineStyle:{color:"#20203B"}}}},t6=["#4992ff","#7cffb2","#fddd60","#ff6e76","#58d9f9","#05c091","#ff8a45","#8d48e3","#dd79ff"],t3={darkMode:!0,color:t6,backgroundColor:t2,axisPointer:{lineStyle:{color:"#817f91"},crossStyle:{color:"#817f91"},label:{color:"#fff"}},legend:{textStyle:{color:t1},pageTextStyle:{color:t1}},textStyle:{color:t1},title:{textStyle:{color:"#EEF1FA"},subtextStyle:{color:"#B9B8CE"}},toolbox:{iconStyle:{borderColor:t1}},dataZoom:{borderColor:"#71708A",textStyle:{color:t1},brushStyle:{color:"rgba(135,163,206,0.3)"},handleStyle:{color:"#353450",borderColor:"#C5CBE3"},moveHandleStyle:{color:"#B0B6C3",opacity:.3},fillerColor:"rgba(135,163,206,0.2)",emphasis:{handleStyle:{borderColor:"#91B7F2",color:"#4D587D"},moveHandleStyle:{color:"#636D9A",opacity:.7}},dataBackground:{lineStyle:{color:"#71708A",width:1},areaStyle:{color:"#71708A"}},selectedDataBackground:{lineStyle:{color:"#87A3CE"},areaStyle:{color:"#87A3CE"}}},visualMap:{textStyle:{color:t1}},timeline:{lineStyle:{color:t1},label:{color:t1},controlStyle:{color:t1,borderColor:t1}},calendar:{itemStyle:{color:t2},dayLabel:{color:t1},monthLabel:{color:t1},yearLabel:{color:t1}},timeAxis:t5(),logAxis:t5(),valueAxis:t5(),categoryAxis:t5(),line:{symbol:"circle"},graph:{color:t6},gauge:{title:{color:t1},axisLine:{lineStyle:{color:[[1,"rgba(207,212,219,0.2)"]]}},axisLabel:{color:t1},detail:{color:"#EEF1FA"}},candlestick:{itemStyle:{color:"#f64e56",color0:"#54ea92",borderColor:"#f64e56",borderColor0:"#54ea92"}}};t3.categoryAxis.splitLine.show=!1;var t4=n(35350),t9=function(){function t(){}return t.prototype.normalizeQuery=function(t){var e={},n={},i={};if(I.HD(t)){var r=(0,t4.u9)(t);e.mainType=r.main||null,e.subType=r.sub||null}else{var o=["Index","Name","Id"],a={name:1,dataIndex:1,dataType:1};I.S6(t,function(t,r){for(var s=!1,l=0;l<o.length;l++){var u=o[l],h=r.lastIndexOf(u);if(h>0&&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}(),t7=["symbol","symbolSize","symbolRotate","symbolOffset"],t8=t7.concat(["symbolKeepAspect"]),et=n(99833);function ee(t,e,n,i,r){var o=t+e;n.isSilent(o)||i.eachComponent({mainType:"series",subType:"pie"},function(t){for(var e=t.seriesIndex,i=t.option.selectedMap,a=r.selected,s=0;s<a.length;s++)if(a[s].seriesIndex===e){var l=t.getData(),u=(0,P.gO)(l,r.fromActionPayload);n.trigger(o,{type:o,seriesId:t.id,name:(0,I.kJ)(u)?l.getName(u[0]):l.getName(u),selected:(0,I.HD)(i)?i:(0,I.l7)({},i)})}})}var en=n(45199),ei=n(25990),er=n(89114),eo=n(33398),ea=new A.Z,es=n(82379),el=n(85857),eu={PROCESSOR:{FILTER:1e3,SERIES_FILTER:800,STATISTIC:5e3},VISUAL:{LAYOUT:1e3,PROGRESSIVE_LAYOUT:1100,GLOBAL:2e3,CHART:3e3,POST_CHART_LAYOUT:4600,COMPONENT:4e3,BRUSH:5e3,CHART_ITEM:4500,ARIA:6e3,DECAL:7e3}},eh="__flagInMainProcess",ec="__pendingUpdate",ep="__needsUpdateStatus",ed=/^[a-zA-Z0-9_]+$/,ef="__connectUpdateStatus";function eg(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return this.isDisposed()?void this.id:ev(this,t,e)}}function ey(t){return function(){for(var e=[],n=0;n<arguments.length;n++)e[n]=arguments[n];return ev(this,t,e)}}function ev(t,e,n){return n[0]=n[0]&&n[0].toLowerCase(),A.Z.prototype[e].apply(t,n)}var em=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,T.ZT)(e,t),e}(A.Z),e_=em.prototype;e_.on=ey("on"),e_.off=ey("off");var ex=function(t){function e(e,n,i){var r=t.call(this,new t9)||this;r._chartsViews=[],r._chartsMap={},r._componentsViews=[],r._componentsMap={},r._pendingActions=[],i=i||{},(0,I.HD)(n)&&(n=eC[n]),r._dom=e,i.ssr&&k.Qq(function(t){var e=(0,tb.A)(t),n=e.dataIndex;if(null!=n){var i=(0,I.kW)();return i.set("series_index",e.seriesIndex),i.set("data_index",n),e.ssrType&&i.set("ssr_type",e.ssrType),i}});var o=r._zr=k.S1(e,{renderer:i.renderer||"canvas",devicePixelRatio:i.devicePixelRatio,width:i.width,height:i.height,ssr:i.ssr,useDirtyRect:(0,I.pD)(i.useDirtyRect,!1),useCoarsePointer:(0,I.pD)(i.useCoarsePointer,"auto"),pointerSize:i.pointerSize});r._ssr=i.ssr,r._throttledZrFlush=(0,tT.P2)((0,I.ak)(o.flush,o),17),(n=(0,I.d9)(n))&&td(n,!0),r._theme=n,r._locale=(0,ei.D0)(i.locale||ei.sO),r._coordSysMgr=new Y.Z;var a=r._api=S(r);function s(t,e){return t.__prio-e.__prio}return(0,C.Z)(eD,s),(0,C.Z)(ek,s),r._scheduler=new tH(r,a,ek,eD),r._messageCenter=new em,r._initEvents(),r.resize=(0,I.ak)(r.resize,r),o.animation.on("frame",r._onframe,r),y(o,r),v(o,r),(0,I.s7)(r),r}return(0,T.ZT)(e,t),e.prototype._onframe=function(){if(!this._disposed){M(this);var t=this._scheduler;if(this[ec]){var e=this[ec].silent;this[eh]=!0;try{s(this),h.update.call(this,null,this[ec].updateParams)}catch(t){throw this[eh]=!1,this[ec]=null,t}this._zr.flush(),this[eh]=!1,this[ec]=null,f.call(this,e),g.call(this,e)}else if(t.unfinished){var n=1,i=this._model,r=this._api;t.unfinished=!1;do{var o=+new Date;t.performSeriesTasks(i),t.performDataProcessorTasks(i),p(this,i),t.performVisualTasks(i),x(this,this._model,r,"remain",{}),n-=new Date-o}while(n>0&&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[eh]){if(this._disposed)return void this.id;if((0,I.Kn)(e)&&(n=e.lazyUpdate,i=e.silent,r=e.replaceMerge,o=e.transition,e=e.notMerge),this[eh]=!0,!this._model||e){var i,r,o,a=new K(this._api),l=this._theme,u=this._model=new H;u.scheduler=this._scheduler,u.ssr=this._ssr,u.init(null,null,null,l,this._locale,a)}this._model.setOption(t,{replaceMerge:r},eI);var c={seriesTransition:o,optionChanged:!0};if(n)this[ec]={silent:i,updateParams:c},this[eh]=!1,this.getZr().wakeUp();else{try{s(this),h.update.call(this,null,c)}catch(t){throw this[ec]=null,this[eh]=!1,t}this._ssr||this._zr.flush(),this[ec]=null,this[eh]=!1,f.call(this,i),g.call(this,i)}}},e.prototype.setTheme=function(){(0,et.Sh)("ECharts#setTheme() is DEPRECATED in ECharts 3.0")},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||D.Z.hasGlobalWindow&&window.devicePixelRatio||1},e.prototype.getRenderedCanvas=function(t){return this.renderToCanvas(t)},e.prototype.renderToCanvas=function(t){return t=t||{},this._zr.painter.getRenderedCanvas({backgroundColor:t.backgroundColor||this._model.get("backgroundColor"),pixelRatio:t.pixelRatio||this.getDevicePixelRatio()})},e.prototype.renderToSVGString=function(t){return t=t||{},this._zr.painter.renderToString({useViewBox:t.useViewBox})},e.prototype.getSvgDataURL=function(){if(D.Z.svgSupported){var t=this._zr,e=t.storage.getDisplayList();return(0,I.S6)(e,function(t){t.stopAnimation(null,!0)}),t.painter.toDataURL()}},e.prototype.getDataURL=function(t){if(this._disposed)return void this.id;var e=(t=t||{}).excludeComponents,n=this._model,i=[],r=this;(0,I.S6)(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(0,I.S6)(i,function(t){t.group.ignore=!1}),o},e.prototype.getConnectedDataURL=function(t){if(this._disposed)return void this.id;var e="svg"===t.type,n=this.group,i=Math.min,r=Math.max,o=1/0;if(!eL[n])return this.getDataURL(t);var a=o,s=o,l=-o,u=-o,h=[],c=t&&t.pixelRatio||this.getDevicePixelRatio();(0,I.S6)(eP,function(o,c){if(o.group===n){var p=e?o.getZr().painter.getSvgDom().innerHTML:o.renderToCanvas((0,I.d9)(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),h.push({dom:p,left:d.left,top:d.top})}}),a*=c,s*=c,l*=c,u*=c;var p=l-a,d=u-s,f=es.qW.createCanvas(),g=k.S1(f,{renderer:e?"svg":"canvas"});if(g.resize({width:p,height:d}),!e)return t.connectedBackgroundColor&&g.add(new t_.Z({shape:{x:0,y:0,width:p,height:d},style:{fill:t.connectedBackgroundColor}})),(0,I.S6)(h,function(t){var e=new tx.ZP({style:{x:t.left*c-a,y:t.top*c-s,image:t.dom}});g.add(e)}),g.refreshImmediately(),f.toDataURL("image/"+(t&&t.type||"png"));var y="";return(0,I.S6)(h,function(t){var e=t.left-a,n=t.top-s;y+='<g transform="translate('+e+","+n+')">'+t.dom+"</g>"}),g.painter.getSvgRoot().innerHTML=y,t.connectedBackgroundColor&&g.painter.setBackgroundColor(t.connectedBackgroundColor),g.refreshImmediately(),g.painter.toDataURL()},e.prototype.convertToPixel=function(t,e){return c(this,"convertToPixel",t,e)},e.prototype.convertFromPixel=function(t,e){return c(this,"convertFromPixel",t,e)},e.prototype.containPixel=function(t,e){if(this._disposed)return void this.id;var n,i=this._model,r=P.pm(i,t);return(0,I.S6)(r,function(t,i){i.indexOf("Models")>=0&&(0,I.S6)(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))}},this)},this),!!n},e.prototype.getVisual=function(t,e){var n=this._model,i=P.pm(n,t,{defaultMainType:"series"}),r=i.seriesModel.getData(),o=i.hasOwnProperty("dataIndexInside")?i.dataIndexInside:i.hasOwnProperty("dataIndex")?r.indexOfRawIndex(i.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;(0,I.S6)(ew,function(t){var e=function(e){var n,r=i.getModel(),o=e.target;if("globalout"===t?n={}:o&&(0,er.o)(o,function(t){var e=(0,tb.A)(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=(0,I.l7)({},e.eventData),!0},!0),n){var a=n.componentType,s=n.componentIndex;("markLine"===a||"markPoint"===a||"markArea"===a)&&(a="series",s=n.seriesIndex);var l=a&&null!=s&&r.getComponent(a,s),u=l&&i["series"===l.mainType?"_chartsMap":"_componentsMap"][l.__viewId];n.event=e,n.type=t,i._$eventProcessor.eventInfo={targetEl:o,packedEvent:n,model:l,view:u},i.trigger(t,n)}};e.zrEventfulCallAtLast=!0,i._zr.on(t,e,i)}),(0,I.S6)(eT,function(t,e){i._messageCenter.on(e,function(t){this.trigger(e,t)},i)}),(0,I.S6)(["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?(ee("map","selectchanged",e,i,t),ee("pie","selectchanged",e,i,t)):"select"===t.fromAction?(ee("map","selected",e,i,t),ee("pie","selected",e,i,t)):"unselect"===t.fromAction&&(ee("map","unselected",e,i,t),ee("pie","unselected",e,i,t))})},e.prototype.isDisposed=function(){return this._disposed},e.prototype.clear=function(){if(this._disposed)return void this.id;this.setOption({series:[]},!0)},e.prototype.dispose=function(){if(this._disposed)return void this.id;this._disposed=!0,this.getDom()&&P.P$(this.getDom(),eR,"");var t=this._api,e=this._model;(0,I.S6)(this._componentsViews,function(n){n.dispose(e,t)}),(0,I.S6)(this._chartsViews,function(n){n.dispose(e,t)}),this._zr.dispose(),this._dom=this._model=this._chartsMap=this._componentsMap=this._chartsViews=this._componentsViews=this._scheduler=this._api=this._zr=this._throttledZrFlush=this._theme=this._coordSysMgr=this._messageCenter=null,delete eP[this.id]},e.prototype.resize=function(t){if(!this[eh]){if(this._disposed)return void this.id;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[ec]&&(null==i&&(i=this[ec].silent),n=!0,this[ec]=null),this[eh]=!0;try{n&&s(this),h.update.call(this,{type:"resize",animation:(0,I.l7)({duration:0},t&&t.animation)})}catch(t){throw this[eh]=!1,t}this[eh]=!1,f.call(this,i),g.call(this,i)}}},e.prototype.showLoading=function(t,e){if(this._disposed)return void this.id;if((0,I.Kn)(t)&&(e=t,t=""),t=t||"default",this.hideLoading(),eA[t]){var n=eA[t](this._api,e),i=this._zr;this._loadingFX=n,i.add(n)}},e.prototype.hideLoading=function(){if(this._disposed)return void this.id;this._loadingFX&&this._zr.remove(this._loadingFX),this._loadingFX=null},e.prototype.makeActionFromEvent=function(t){var e=(0,I.l7)({},t);return e.type=eT[t.type],e},e.prototype.dispatchAction=function(t,e){if(this._disposed)return void this.id;if(((0,I.Kn)(e)||(e={silent:!!e}),eM[t.type])&&this._model){if(this[eh])return void this._pendingActions.push(t);var n=e.silent;d.call(this,t,n);var i=e.flush;i?this._zr.flush():!1!==i&&D.Z.browser.weChat&&this._throttledZrFlush(),f.call(this,n),g.call(this,n)}},e.prototype.updateLabelLayout=function(){ea.trigger("series:layoutlabels",this._model,this._api,{updatedSeries:[]})},e.prototype.appendData=function(t){if(this._disposed)return void this.id;var e=t.seriesIndex;this.getModel().getSeriesByIndex(e).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;i<n.length;i++){var r=n[i];"emphasis"!==r&&"blur"!==r&&"select"!==r&&e.push(r)}t.selected&&t.states.select&&e.push("select"),t.hoverState===tM.wU&&t.states.emphasis?e.push("emphasis"):t.hoverState===tM.CX&&t.states.blur&&e.push("blur"),t.useStates(e)}function n(t,e){if(!t.preventAutoZ){var n=t.get("z")||0,i=t.get("zlevel")||0;e.eachRendered(function(t){return function t(e,n,i,r){var o=e.getTextContent(),a=e.getTextGuideLine();if(e.isGroup)for(var s=e.childrenRef(),l=0;l<s.length;l++)r=Math.max(t(s[l],n,i,r),r);else e.z=n,e.zlevel=i,r=Math.max(e.z2,r);if(o&&(o.z=n,o.zlevel=i,isFinite(r)&&(o.z2=r+2)),a){var u=e.textGuideLineConfig;a.z=n,a.zlevel=i,isFinite(r)&&(a.z2=r+(u&&u.showAbove?1:-1))}return r}(t,n,i,-1/0),!0})}}function i(t,e){e.eachRendered(function(t){if(!tS.eq(t)){var e=t.getTextContent(),n=t.getTextGuideLine();t.stateTransition&&(t.stateTransition=null),e&&e.stateTransition&&(e.stateTransition=null),n&&n.stateTransition&&(n.stateTransition=null),t.hasState()?(t.prevStates=t.currentStates,t.clearStates()):t.prevStates&&(t.prevStates=null)}})}function r(t,n){var i=t.getModel("stateAnimation"),r=t.isAnimationEnabled(),o=i.get("duration"),a=o>0?{duration:o,delay:i.get("delay"),easing:i.get("easing")}:null;n.eachRendered(function(t){if(t.states&&t.states.emphasis&&!tS.eq(t)){if(t instanceof tw.ZP&&(0,tM.e9)(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)}})}s=function(t){var e=t._scheduler;e.restorePipelines(t._model),e.prepareStageTasks(),l(t,!0),l(t,!1),e.plan()},l=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;l<r.length;l++)r[l].__alive=!1;function u(t){var l=t.__requireNewView;t.__requireNewView=!1;var u="_ec_"+t.id+"_"+t.type,h=!l&&o[u];if(!h){var c=(0,t4.u9)(t.type);(h=new(e?tv.Z.getClass(c.main,c.sub):tm.Z.getClass(c.sub))).init(n,s),o[u]=h,r.push(h),a.add(h.group)}t.__viewId=h.__id=u,h.__alive=!0,h.__model=t,h.group.__ecComponentInfo={mainType:t.mainType,index:t.componentIndex},e||i.prepareView(h,t,n,s)}e?n.eachComponent(function(t,e){"series"!==t&&u(e)}):n.eachSeries(u);for(var l=0;l<r.length;){var h=r[l];h.__alive?l++:(e||h.renderTask.dispose(),a.remove(h.group),h.dispose(n,s),r.splice(l,1),o[h.__id]===h&&delete o[h.__id],h.__id=h.group.__ecComponentInfo=null)}},u=function(t,e,n,i,r){var o,a=t._model;if(a.setUpdatePayload(n),!i)return void(0,I.S6)([].concat(t._componentsViews).concat(t._chartsViews),h);var s={};s[i+"Id"]=n[i+"Id"],s[i+"Index"]=n[i+"Index"],s[i+"Name"]=n[i+"Name"];var l={mainType:i,query:s};r&&(l.subType=r);var u=n.excludeSeriesId;function h(i){i&&i.__alive&&i[e]&&i[e](i.__model,a,t._api,n)}null!=u&&(o=(0,I.kW)(),(0,I.S6)(P.kF(u),function(t){var e=P.U5(t,null);null!=e&&o.set(e,!0)})),a&&a.eachComponent(l,function(e){if(!(o&&null!=o.get(e.id)))if((0,tM.xp)(n))if(e instanceof ty.Z)n.type!==tM.Ki||n.notBlur||e.get(["emphasis","disabled"])||(0,tM.UL)(e,n,t._api);else{var i=(0,tM.oJ)(e.mainType,e.componentIndex,n.name,t._api),r=i.focusSelf,a=i.dispatchers;n.type===tM.Ki&&r&&!n.notBlur&&(0,tM.zI)(e.mainType,e.componentIndex,t._api),a&&(0,I.S6)(a,function(t){n.type===tM.Ki?(0,tM.fD)(t):(0,tM.Mh)(t)})}else(0,tM.aG)(n)&&e instanceof ty.Z&&((0,tM.og)(e,n,t._api),(0,tM.ci)(e),b(t))},t),a&&a.eachComponent(l,function(e){o&&null!=o.get(e.id)||h(t["series"===i?"_chartsMap":"_componentsMap"][e.__viewId])},t)},h={prepareAndUpdate:function(t){s(this),h.update.call(this,t,{optionChanged:null!=t.newOption})},update:function(e,n){var i=this._model,r=this._api,o=this._zr,a=this._coordSysMgr,s=this._scheduler;if(i){i.setUpdatePayload(e),s.restoreData(i,e),s.performSeriesTasks(i),a.create(i,r),s.performDataProcessorTasks(i,e),p(this,i),a.update(i,r),t(i),s.performVisualTasks(i,e),m(this,i,r,e,n);var l=i.get("backgroundColor")||"transparent",u=i.get("darkMode");o.setBackgroundColor(l),null!=u&&"auto"!==u&&o.setDarkMode(u),ea.trigger("afterupdate",i,r)}},updateTransform:function(e){var n=this,i=this._model,r=this._api;if(i){i.setUpdatePayload(e);var o=[];i.eachComponent(function(t,a){if("series"!==t){var s=n.getViewOfComponentModel(a);if(s&&s.__alive)if(s.updateTransform){var l=s.updateTransform(a,i,r,e);l&&l.update&&o.push(s)}else o.push(s)}});var a=(0,I.kW)();i.eachSeries(function(t){var o=n._chartsMap[t.__viewId];if(o.updateTransform){var s=o.updateTransform(t,i,r,e);s&&s.update&&a.set(t.uid,1)}else a.set(t.uid,1)}),t(i),this._scheduler.performVisualTasks(i,e,{setDirty:!0,dirtyMap:a}),x(this,i,r,e,{},a),ea.trigger("afterupdate",i,r)}},updateView:function(e){var n=this._model;n&&(n.setUpdatePayload(e),tm.Z.markUpdateMethod(e,"updateView"),t(n),this._scheduler.performVisualTasks(n,e,{setDirty:!0}),m(this,n,this._api,e,{}),ea.trigger("afterupdate",n,this._api))},updateVisual:function(e){var n=this,i=this._model;i&&(i.setUpdatePayload(e),i.eachSeries(function(t){t.getData().clearAllVisual()}),tm.Z.markUpdateMethod(e,"updateVisual"),t(i),this._scheduler.performVisualTasks(i,e,{visualType:"visual",setDirty:!0}),i.eachComponent(function(t,r){if("series"!==t){var o=n.getViewOfComponentModel(r);o&&o.__alive&&o.updateVisual(r,i,n._api,e)}}),i.eachSeries(function(t){n._chartsMap[t.__viewId].updateVisual(t,i,n._api,e)}),ea.trigger("afterupdate",i,this._api))},updateLayout:function(t){h.update.call(this,t)}},c=function(t,e,n,i){if(t._disposed)return void t.id;for(var r,o=t._model,a=t._coordSysMgr.getCoordinateSystems(),s=P.pm(o,n),l=0;l<a.length;l++){var u=a[l];if(u[e]&&null!=(r=u[e](o,s,i)))return r}},p=function(t,e){var n=t._chartsMap,i=t._scheduler;e.eachSeries(function(t){i.updateStreamModes(t,n[t.__viewId])})},d=function(t,e){var n,i=this,r=this.getModel(),o=t.type,a=t.escapeConnect,l=eM[o],c=l.actionInfo,p=(c.update||"update").split(":"),d=p.pop(),f=null!=p[0]&&(0,t4.u9)(p[0]);this[eh]=!0;var g=[t],y=!1;t.batch&&(y=!0,g=(0,I.UI)(t.batch,function(e){return(e=(0,I.ce)((0,I.l7)({},e),t)).batch=null,e}));var v=[],m=(0,tM.aG)(t),_=(0,tM.xp)(t);if(_&&(0,tM.T5)(this._api),(0,I.S6)(g,function(e){if((n=(n=l.action(e,i._model,i._api))||(0,I.l7)({},e)).type=c.event||n.type,v.push(n),_){var r=P.zH(t),o=r.queryOptionMap;u(i,d,e,r.mainTypeSpecified?o.keys()[0]:"series"),b(i)}else m?(u(i,d,e,"series"),b(i)):f&&u(i,d,e,f.main,f.sub)}),"none"!==d&&!_&&!m&&!f)try{this[ec]?(s(this),h.update.call(this,t),this[ec]=null):h[d].call(this,t)}catch(t){throw this[eh]=!1,t}if(n=y?{type:c.event||o,escapeConnect:a,batch:v}:v[0],this[eh]=!1,!e){var x=this._messageCenter;if(x.trigger(n.type,n),m){var S={type:"selectchanged",escapeConnect:a,selected:(0,tM.C5)(r),isFromClick:t.isFromClick||!1,fromAction:t.type,fromActionPayload:t};x.trigger(S.type,S)}}},f=function(t){for(var e=this._pendingActions;e.length;){var n=e.shift();d.call(this,n,t)}},g=function(t){t||this.trigger("updated")},y=function(t,e){t.on("rendered",function(n){e.trigger("rendered",n),!t.animation.isFinished()||e[ec]||e._scheduler.unfinished||e._pendingActions.length||e.trigger("finished")})},v=function(t,e){t.on("mouseover",function(t){var n=t.target,i=(0,er.o)(n,tM.Av);i&&((0,tM.$l)(i,t,e._api),b(e))}).on("mouseout",function(t){var n=t.target,i=(0,er.o)(n,tM.Av);i&&((0,tM.xr)(i,t,e._api),b(e))}).on("click",function(t){var n=t.target,i=(0,er.o)(n,function(t){return null!=(0,tb.A)(t).dataIndex},!0);if(i){var r=i.selected?"unselect":"select",o=(0,tb.A)(i);e._api.dispatchAction({type:r,dataType:o.dataType,dataIndexInside:o.dataIndex,seriesIndex:o.seriesIndex,isFromClick:!0})}})},m=function(t,e,n,i,r){!function(t){var e=[],n=[],i=!1;if(t.eachComponent(function(t,r){var o=r.get("zlevel")||0,a=r.get("z")||0,s=r.getZLevelKey();i=i||!!s,("series"===t?n:e).push({zlevel:o,z:a,idx:r.componentIndex,type:t,key:s})}),i){var r,o,a=e.concat(n);(0,C.Z)(a,function(t,e){return t.zlevel===e.zlevel?t.z-e.z:t.zlevel-e.zlevel}),(0,I.S6)(a,function(e){var n=t.getComponent(e.type,e.idx),i=e.zlevel,a=e.key;null!=r&&(i=Math.max(r,i)),a?(i===r&&a!==o&&i++,o=a):o&&(i===r&&i++,o=""),r=i,n.setZLevel(i)})}}(e),_(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive=!1}),x(t,e,n,i,r),(0,I.S6)(t._chartsViews,function(t){t.__alive||t.remove(e,n)})},_=function(t,e,o,a,s,l){(0,I.S6)(l||t._componentsViews,function(t){var s=t.__model;i(s,t),t.render(s,e,o,a),n(s,t),r(s,t)})},x=function(t,e,o,a,s,l){var u,h,c,p,d=t._scheduler;s=(0,I.l7)(s||{},{updatedSeries:e.getSeries()}),ea.trigger("series:beforeupdate",e,o,s);var f=!1;e.eachSeries(function(e){var n,r,o,s=t._chartsMap[e.__viewId];s.__alive=!0;var u=s.renderTask;d.updatePayload(u,a),i(e,s),l&&l.get(e.uid)&&u.dirty(),u.perform(d.getPerformArgs(u))&&(f=!0),s.group.silent=!!e.get("silent"),n=e,r=s,o=n.get("blendMode")||null,r.eachRendered(function(t){t.isGroup||(t.style.blend=o)}),(0,tM.ci)(e)}),d.unfinished=f||d.unfinished,ea.trigger("series:layoutlabels",e,o,s),ea.trigger("series:transition",e,o,s),e.eachSeries(function(e){var i=t._chartsMap[e.__viewId];n(e,i),r(e,i)}),u=t,h=e,c=u._zr.storage,p=0,c.traverse(function(t){!t.isGroup&&p++}),!(p>h.get("hoverLayerThreshold"))||D.Z.node||D.Z.worker||h.eachSeries(function(t){if(!t.preventUsingHoverLayer){var e=u._chartsMap[t.__viewId];e.__alive&&e.eachRendered(function(t){t.states.emphasis&&(t.states.emphasis.hoverLayer=!0)})}}),ea.trigger("series:afterupdate",e,o,s)},b=function(t){t[ep]=!0,t.getZr().wakeUp()},M=function(t){t[ep]&&(t.getZr().storage.traverse(function(t){tS.eq(t)||e(t)}),t[ep]=!1)},S=function(t){return new(function(e){function n(){return null!==e&&e.apply(this,arguments)||this}return(0,T.ZT)(n,e),n.prototype.getCoordinateSystems=function(){return t._coordSysMgr.getCoordinateSystems()},n.prototype.getComponentByElement=function(e){for(;e;){var n=e.__ecComponentInfo;if(null!=n)return t._model.getComponent(n.mainType,n.index);e=e.parent}},n.prototype.enterEmphasis=function(e,n){(0,tM.fD)(e,n),b(t)},n.prototype.leaveEmphasis=function(e,n){(0,tM.Mh)(e,n),b(t)},n.prototype.enterBlur=function(e){(0,tM.SX)(e),b(t)},n.prototype.leaveBlur=function(e){(0,tM.VP)(e),b(t)},n.prototype.enterSelect=function(e){(0,tM.XX)(e),b(t)},n.prototype.leaveSelect=function(e){(0,tM.SJ)(e),b(t)},n.prototype.getModel=function(){return t.getModel()},n.prototype.getViewOfComponentModel=function(e){return t.getViewOfComponentModel(e)},n.prototype.getViewOfSeriesModel=function(e){return t.getViewOfSeriesModel(e)},n}(X))(t)},w=function(t){function e(t,e){for(var n=0;n<t.length;n++)t[n][ef]=e}(0,I.S6)(eT,function(n,i){t._messageCenter.on(i,function(n){if(eL[t.group]&&0!==t[ef]&&(!n||!n.escapeConnect)){var i=t.makeActionFromEvent(n),r=[];(0,I.S6)(eP,function(e){e!==t&&e.group===t.group&&r.push(e)}),e(r,0),(0,I.S6)(r,function(t){1!==t[ef]&&t.dispatchAction(i)}),e(r,2)}})})}}(),e}(A.Z),eS=ex.prototype;eS.on=eg("on"),eS.off=eg("off"),eS.one=function(t,e,n){var i=this;(0,et.Sh)("ECharts#one is deprecated."),this.on.call(this,t,function n(){for(var r=[],o=0;o<arguments.length;o++)r[o]=arguments[o];e&&e.apply&&e.apply(this,r),i.off(t,n)},n)};var ew=["click","dblclick","mouseover","mouseout","mousemove","mousedown","mouseup","globalout","contextmenu"];function eb(t){}var eM={},eT={},ek=[],eI=[],eD=[],eC={},eA={},eP={},eL={},eO=new Date-0,eR="_echarts_instance_";function eZ(t,e,n){var i=!(n&&n.ssr);if(i){var r,o=(r=t,eP[P.IL(r,eR)]);if(o)return o}var a=new ex(t,e,n);return a.id="ec_"+eO++,eP[a.id]=a,i&&P.P$(t,eR,a.id),w(a),ea.trigger("afterinit",a),a}function eN(t){0>(0,I.cq)(eI,t)&&eI.push(t)}function ez(t,e){eX(ek,t,e,2e3)}function eE(t){eF("afterinit",t)}function eB(t){eF("afterupdate",t)}function eF(t,e){ea.on(t,e)}function eH(t,e,n){(0,I.mf)(e)&&(n=e,e="");var i=(0,I.Kn)(t)?t.type:[t,t={event:e}][0];t.event=(t.event||i).toLowerCase(),eT[e=t.event]||((0,I.hu)(ed.test(i)&&ed.test(e)),eM[i]||(eM[i]={action:n,actionInfo:t}),eT[e]=i)}function eW(t,e){Y.Z.register(t,e)}function eV(t,e){eX(eD,t,e,1e3,"layout")}function eG(t,e){eX(eD,t,e,3e3,"visual")}var eU=[];function eX(t,e,n,i,r){if(((0,I.mf)(e)||(0,I.Kn)(e))&&(n=e,e=i),!((0,I.cq)(eU,n)>=0)){eU.push(n);var o=tH.wrapStageHandler(n,r);o.__prio=e,o.__raw=n,t.push(o)}}function eY(t,e){eA[t]=e}function eq(t,e,n){var i=(0,el.C)("registerMap");i&&i(t,e,n)}var eK=en.DA;eG(2e3,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=t.getModel(i),o=tL(t,i)(r),a=r.getShallow("decal");a&&(n.setVisual("decal",a),a.dirty=!0);var s=tO(t,i),l=o[s],u=(0,I.mf)(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||(0,I.mf)(o.fill)?c:o.fill,o.stroke="auto"===o.stroke||(0,I.mf)(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=(0,I.l7)({},o);r[s]=u(i),e.setItemVisual(n,"style",r)}}}}),eG(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(!(t.ignoreStyleOnData||e.isSeriesFiltered(t))){var n=t.getData(),i=t.visualStyleAccessPath||"itemStyle",r=tL(t,i),o=n.getVisual("drawType");return{dataEach:n.hasItemOption?function(t,e){var n=t.getRawDataItem(e);if(n&&n[i]){tR.option=n[i];var a=r(tR),s=t.ensureUniqueItemVisual(e,"style");(0,I.l7)(s,a),tR.option.decal&&(t.setItemVisual(e,"decal",tR.option.decal),tR.option.decal.dirty=!0),o in a&&t.setItemVisual(e,"colorFromPalette",!1)}}:null}}}}),eG(4500,{performRawSeries:!0,overallReset:function(t){var e=(0,I.kW)();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)),tC(t).scope=r}}),t.eachSeries(function(e){if(!(e.isColorBySeries()||t.isSeriesFiltered(e))){var n=e.getRawData(),i={},r=e.getData(),o=tC(e).scope,a=e.visualStyleAccessPath||"itemStyle",s=tO(e,a);r.each(function(t){i[r.getRawIndex(t)]=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)}})}})}}),eG(2e3,{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<t7.length;a++){var s=t7[a],l=t.get(s);(0,I.mf)(l)?(o=!0,r[s]=l):i[s]=l}if(i.symbol=i.symbol||t.defaultSymbol,n.setVisual((0,I.l7)({legendIcon:t.legendIcon||i.symbol,symbolKeepAspect:t.get("symbolKeepAspect")},i)),!e.isSeriesFiltered(t)){var u=(0,I.XP)(r);return{dataEach:o?function(e,n){for(var i=t.getRawValue(n),o=t.getDataParams(n),a=0;a<u.length;a++){var s=u[a];e.setItemVisual(n,s,r[s](i,o))}}:null}}}}}),eG(4500,{createOnAllSeries:!0,performRawSeries:!0,reset:function(t,e){if(t.hasSymbolVisual&&!e.isSeriesFiltered(t))return{dataEach:t.getData().hasItemOption?function(t,e){for(var n=t.getItemModel(e),i=0;i<t8.length;i++){var r=t8[i],o=n.getShallow(r,!0);null!=o&&t.setItemVisual(e,r,o)}}:null}}}),eG(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=(0,eo.I)(n,e))});var r=i.getVisual("decal");r&&(i.getVisual("style").decal=(0,eo.I)(r,e))}})}),eN(td),ez(900,function(t){var e=(0,I.kW)();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(tg)}),eA.default=function(t,e){e=e||{},I.ce(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,i=new tZ.Z,r=new t_.Z({style:{fill:e.maskColor},zlevel:e.zlevel,z:1e4});i.add(r);var o=new tN.ZP({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 t_.Z({style:{fill:"none"},textContent:o,textConfig:{position:"right",distance:10},zlevel:e.zlevel,z:10001});return i.add(a),e.showSpinner&&((n=new tz.Z({shape:{startAngle:-tE/2,endAngle:-tE/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*tE/2}).start("circularInOut"),n.animateShape(!0).when(1e3,{startAngle:3*tE/2}).delay(300).start("circularInOut"),i.add(n)),i.resize=function(){var i=o.getBoundingRect().width,s=e.showSpinner?e.spinnerRadius:0,l=(t.getWidth()-2*s-(e.showSpinner&&i?10:0)-i)/2-(e.showSpinner&&i?0:5+i/2)+(e.showSpinner?0:i/2)+(i?0:s),u=t.getHeight()/2;e.showSpinner&&n.setShape({cx:l,cy:u}),a.setShape({x:l-s,y:u-s,width:2*s,height:2*s}),r.setShape({x:0,y:0,width:t.getWidth(),height:t.getHeight()})},i.resize(),i},eH({type:tM.Ki,event:tM.Ki,update:tM.Ki},I.ZT),eH({type:tM.yx,event:tM.yx,update:tM.yx},I.ZT),eH({type:tM.Hg,event:tM.Hg,update:tM.Hg},I.ZT),eH({type:tM.JQ,event:tM.JQ,update:tM.JQ},I.ZT),eH({type:tM.iK,event:tM.iK,update:tM.iK},I.ZT),eC.light={color:t0,colorLayer:[["#37A2DA","#ffd85c","#fd7b5f"],["#37A2DA","#67E0E3","#FFDB5C","#ff9f7f","#E062AE","#9d96f5"],["#37A2DA","#32C5E9","#9FE6B8","#FFDB5C","#ff9f7f","#fb7293","#e7bcf3","#8378EA","#96BFFF"],t0]},eC.dark=t3},85857:function(t,e,n){n.d(e,{C:()=>o,M:()=>r});var i={};function r(t,e){i[t]=e}function o(t){return i[t]}},25990:function(t,e,n){n.d(e,{D0:()=>h,sO:()=>l,Li:()=>p,G8:()=>c});var i=n(84456),r=n(76226),o=n(96585),a={},s={},l=r.Z.domSupported&&(document.documentElement.lang||navigator.language||navigator.browserLanguage||"EN").toUpperCase().indexOf("ZH")>-1?"ZH":"EN";function u(t,e){s[t=t.toUpperCase()]=new i.Z(e),a[t]=e}function h(t){if(!(0,o.HD)(t))return(0,o.TS)((0,o.d9)(t),(0,o.d9)(a.EN),!1);var e=a[t.toUpperCase()]||{};return"ZH"===t||"EN"===t?(0,o.d9)(e):(0,o.TS)((0,o.d9)(e),(0,o.d9)(a.EN),!1)}function c(t){return s[t]}function p(){return s.EN}u("EN",{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:". "}}}}),u("ZH",{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:""}}}})},72739:function(t,e,n){n.d(e,{v:()=>r});var i=n(96585);function r(t){return new o(t)}var o=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,r,o,a=this._upstream,s=t&&t.skip;if(this._dirty&&a){var l=this.context;l.data=l.outputData=a.context.outputData}this.__pipeline&&(this.__pipeline.currentTask=this),this._plan&&!s&&(r=this._plan(this.context));var u=((e=this._modBy)>=1||(e=1),e),h=this._modDataCount||0,c=((n=t&&t.modBy)>=1||(n=1),n),p=t&&t.modDataCount||0;(u!==c||h!==p)&&(r="reset"),(this._dirty||"reset"===r)&&(this._dirty=!1,o=this._doReset(s)),this._modBy=c,this._modDataCount=p;var d=t&&t.step;if(a?this._dueEnd=a._outputDueEnd:this._dueEnd=this._count?this._count(this.context):1/0,this._progress){var f=this._dueIndex,g=Math.min(null!=d?this._dueIndex+d:1/0,this._dueEnd);if(!s&&(o||f<g)){var y=this._progress;if((0,i.kJ)(y))for(var v=0;v<y.length;v++)this._doProgress(y[v],f,g,c,p);else this._doProgress(y,f,g,c,p)}this._dueIndex=g;var m=null!=this._settedOutputEnd?this._settedOutputEnd:g;this._outputDueEnd=m}else this._dueIndex=this._outputDueEnd=null!=this._settedOutputEnd?this._settedOutputEnd:this._dueEnd;return this.unfinished()},t.prototype.dirty=function(){this._dirty=!0,this._onDirty&&this._onDirty(this.context)},t.prototype._doProgress=function(t,e,n,i,r){a.reset(e,n,i,r),this._callingProgress=t,this._callingProgress({start:e,end:n,count:n-e,next:a.next},this.context)},t.prototype._doReset=function(t){this._dueIndex=this._outputDueEnd=this._dueEnd=0,this._settedOutputEnd=null,!t&&this._reset&&((e=this._reset(this.context))&&e.progress&&(n=e.forceFirstProgress,e=e.progress),(0,i.kJ)(e)&&!e.length&&(e=null)),this._progress=e,this._modBy=this._modDataCount=null;var e,n,r=this._downstream;return r&&r.dirty(),n},t.prototype.unfinished=function(){return this._progress&&this._dueIndex<this._dueEnd},t.prototype.pipe=function(t){(this._downstream!==t||this._dirty)&&(this._downstream=t,t._upstream=this,t.dirty())},t.prototype.dispose=function(){this._disposed||(this._upstream&&(this._upstream._downstream=null),this._downstream&&(this._downstream._upstream=null),this._dirty=!1,this._disposed=!0)},t.prototype.getUpstream=function(){return this._upstream},t.prototype.getDownstream=function(){return this._downstream},t.prototype.setOutputEnd=function(t){this._outputDueEnd=this._settedOutputEnd=t},t}(),a=function(){var t,e,n,i,r,o={reset:function(l,u,h,c){e=l,t=u,n=h,r=Math.ceil((i=c)/n),o.next=n>1&&i>0?s:a}};return o;function a(){return e<t?e++:null}function s(){var o=e%r*n+Math.ceil(e/r),a=e>=t?null:o<i?o:e;return e++,a}}()},58185:function(t,e,n){n.d(e,{ZP:()=>y,hG:()=>h});var i,r=n(96585),o=n(15615),a=n(58136),s="undefined",l=typeof Uint32Array===s?Array:Uint32Array,u=typeof Uint16Array===s?Array:Uint16Array,h=typeof Int32Array===s?Array:Int32Array,c=typeof Float64Array===s?Array:Float64Array,p={float:c,int:h,ordinal:Array,number:Array,time:c};function d(t){return t>65535?l:u}function f(){return[1/0,-1/0]}function g(t,e,n,i,r){var o=p[n||"float"];if(r){var a=t[e],s=a&&a.length;if(s!==i){for(var l=new o(i),u=0;u<s;u++)l[u]=a[u];t[e]=l}}else t[e]=new o(i)}let y=function(){function t(){this._chunks=[],this._rawExtent=[],this._extent=[],this._count=0,this._rawCount=0,this._calcDimNameToIdx=(0,r.kW)()}return t.prototype.initData=function(t,e,n){this._provider=t,this._chunks=[],this._indices=null,this.getRawIndex=this._getRawIdxIdentity;var o=t.getSource(),s=this.defaultDimValueGetter=i[o.sourceFormat];this._dimValueGetter=n||s,this._rawExtent=[],(0,a.QY)(o),this._dimensions=(0,r.UI)(e,function(t){return{type:t.type,property:t.property}}),this._initDataFromProvider(0,t.count())},t.prototype.getProvider=function(){return this._provider},t.prototype.getSource=function(){return this._provider.getSource()},t.prototype.ensureCalculationDimension=function(t,e){var n=this._calcDimNameToIdx,i=this._dimensions,r=n.get(t);if(null!=r){if(i[r].type===e)return r}else r=i.length;return i[r]={type:e},n.set(t,r),this._chunks[r]=new p[e||"float"](this._rawCount),this._rawExtent[r]=f(),r},t.prototype.collectOrdinalMeta=function(t,e){var n=this._chunks[t],i=this._dimensions[t],r=this._rawExtent,o=i.ordinalOffset||0,a=n.length;0===o&&(r[t]=f());for(var s=r[t],l=o;l<a;l++){var u=n[l]=e.parseAndCollect(n[l]);isNaN(u)||(s[0]=Math.min(u,s[0]),s[1]=Math.max(u,s[1]))}i.ordinalMeta=e,i.ordinalOffset=a,i.type="ordinal"},t.prototype.getOrdinalMeta=function(t){return this._dimensions[t].ordinalMeta},t.prototype.getDimensionProperty=function(t){var e=this._dimensions[t];return e&&e.property},t.prototype.appendData=function(t){var e=this._provider,n=this.count();e.appendData(t);var i=e.count();return e.persistent||(i+=n),n<i&&this._initDataFromProvider(n,i,!0),[n,i]},t.prototype.appendValues=function(t,e){for(var n=this._chunks,r=this._dimensions,o=r.length,a=this._rawExtent,s=this.count(),l=s+Math.max(t.length,e||0),u=0;u<o;u++){var h=r[u];g(n,u,h.type,l,!0)}for(var c=[],p=s;p<l;p++)for(var d=p-s,f=0;f<o;f++){var h=r[f],y=i.arrayRows.call(this,t[d]||c,h.property,d,f);n[f][p]=y;var v=a[f];y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}return this._rawCount=this._count=l,{start:s,end:l}},t.prototype._initDataFromProvider=function(t,e,n){for(var i=this._provider,o=this._chunks,a=this._dimensions,s=a.length,l=this._rawExtent,u=(0,r.UI)(a,function(t){return t.property}),h=0;h<s;h++){var c=a[h];l[h]||(l[h]=f()),g(o,h,c.type,e,n)}if(i.fillStorage)i.fillStorage(t,e,o,l);else for(var p=[],d=t;d<e;d++){p=i.getItem(d,p);for(var y=0;y<s;y++){var v=o[y],m=this._dimValueGetter(p,u[y],d,y);v[d]=m;var _=l[y];m<_[0]&&(_[0]=m),m>_[1]&&(_[1]=m)}}!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<this._count))return NaN;var n=this._chunks[t];return n?n[this.getRawIndex(e)]:NaN},t.prototype.getValues=function(t,e){var n=[],i=[];if(null==e){e=t,t=[];for(var r=0;r<this._dimensions.length;r++)i.push(r)}else i=t;for(var r=0,o=i.length;r<o;r++)n.push(this.get(i[r],e));return n},t.prototype.getByRawIndex=function(t,e){if(!(e>=0&&e<this._rawCount))return NaN;var n=this._chunks[t];return n?n[e]:NaN},t.prototype.getSum=function(t){var e=this._chunks[t],n=0;if(e)for(var i=0,r=this.count();i<r;i++){var o=this.get(t,i);isNaN(o)||(n+=o)}return n},t.prototype.getMedian=function(t){var e=[];this.each([t],function(t){isNaN(t)||e.push(t)});var n=e.sort(function(t,e){return t-e}),i=this.count();return 0===i?0:i%2==1?n[(i-1)/2]:(n[i/2]+n[i/2-1])/2},t.prototype.indexOfRawIndex=function(t){if(t>=this._rawCount||t<0)return -1;if(!this._indices)return t;var e=this._indices,n=e[t];if(null!=n&&n<this._count&&n===t)return t;for(var i=0,r=this._count-1;i<=r;){var o=(i+r)/2|0;if(e[o]<t)i=o+1;else{if(!(e[o]>t))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<u;l++){var h=e-i[this.getRawIndex(l)],c=Math.abs(h);c<=n&&((c<o||c===o&&h>=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<i;r++)t[r]=e[r]}else t=new n(e.buffer,0,i)}else{var n=d(this._rawCount);t=new n(this.count());for(var r=0;r<t.length;r++)t[r]=r}return t},t.prototype.filter=function(t,e){if(!this._count)return this;for(var n=this.clone(),i=n.count(),r=new(d(n._rawCount))(i),o=[],a=t.length,s=0,l=t[0],u=n._chunks,h=0;h<i;h++){var c=void 0,p=n.getRawIndex(h);if(0===a)c=e(h);else if(1===a)c=e(u[l][p],h);else{for(var f=0;f<a;f++)o[f]=u[t[f]][p];o[f]=h,c=e.apply(null,o)}c&&(r[s++]=p)}return s<i&&(n._indices=r),n._count=s,n._extent=[],n._updateGetRawIdx(),n},t.prototype.selectRange=function(t){var e=this.clone(),n=e._count;if(!n)return this;var i=(0,r.XP)(t),o=i.length;if(!o)return this;var a=e.count(),s=new(d(e._rawCount))(a),l=0,u=i[0],h=t[u][0],c=t[u][1],p=e._chunks,f=!1;if(!e._indices){var g=0;if(1===o){for(var y=p[i[0]],v=0;v<n;v++){var m=y[v];(m>=h&&m<=c||isNaN(m))&&(s[l++]=g),g++}f=!0}else if(2===o){for(var y=p[i[0]],_=p[i[1]],x=t[i[1]][0],S=t[i[1]][1],v=0;v<n;v++){var m=y[v],w=_[v];(m>=h&&m<=c||isNaN(m))&&(w>=x&&w<=S||isNaN(w))&&(s[l++]=g),g++}f=!0}}if(!f)if(1===o)for(var v=0;v<a;v++){var b=e.getRawIndex(v),m=p[i[0]][b];(m>=h&&m<=c||isNaN(m))&&(s[l++]=b)}else for(var v=0;v<a;v++){for(var M=!0,b=e.getRawIndex(v),T=0;T<o;T++){var k=i[T],m=p[k][b];(m<t[k][0]||m>t[k][1])&&(M=!1)}M&&(s[l++]=e.getRawIndex(v))}return l<a&&(e._indices=s),e._count=l,e._extent=[],e._updateGetRawIdx(),e},t.prototype.map=function(t,e){var n=this.clone(t);return this._updateDims(n,t,e),n},t.prototype.modify=function(t,e){this._updateDims(this,t,e)},t.prototype._updateDims=function(t,e,n){for(var i=t._chunks,r=[],o=e.length,a=t.count(),s=[],l=t._rawExtent,u=0;u<e.length;u++)l[e[u]]=f();for(var h=0;h<a;h++){for(var c=t.getRawIndex(h),p=0;p<o;p++)s[p]=i[e[p]][c];s[o]=h;var d=n&&n.apply(null,s);if(null!=d){"object"!=typeof d&&(r[0]=d,d=r);for(var u=0;u<d.length;u++){var g=e[u],y=d[u],v=l[g],m=i[g];m&&(m[c]=y),y<v[0]&&(v[0]=y),y>v[1]&&(v[1]=y)}}}},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(d(this._rawCount))(Math.min((Math.ceil(s/u)+2)*2,s));c[l++]=h;for(var p=1;p<s-1;p+=u){for(var f=Math.min(p+u,s-1),g=Math.min(p+2*u,s),y=(g+f)/2,v=0,m=f;m<g;m++){var _=this.getRawIndex(m),x=a[_];isNaN(x)||(v+=x)}v/=g-f;var S=p,w=Math.min(p+u,s),b=p-1,M=a[h];n=-1,r=S;for(var T=-1,k=0,m=S;m<w;m++){var _=this.getRawIndex(m),x=a[_];if(isNaN(x)){k++,T<0&&(T=_);continue}(i=Math.abs((b-y)*(x-M)-(b-m)*(v-M)))>n&&(n=i,r=_)}k>0&&k<w-S&&(c[l++]=Math.min(T,r),r=Math.max(T,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.minmaxDownSample=function(t,e){for(var n=this.clone([t],!0),i=n._chunks,r=Math.floor(1/e),o=i[t],a=this.count(),s=new(d(this._rawCount))(2*Math.ceil(a/r)),l=0,u=0;u<a;u+=r){var h=u,c=o[this.getRawIndex(h)],p=u,f=o[this.getRawIndex(p)],g=r;u+r>a&&(g=a-u);for(var y=0;y<g;y++){var v=o[this.getRawIndex(u+y)];v<c&&(c=v,h=u+y),v>f&&(f=v,p=u+y)}var m=this.getRawIndex(h),_=this.getRawIndex(p);h<p?(s[l++]=m,s[l++]=_):(s[l++]=_,s[l++]=m)}return n._count=l,n._indices=s,n._updateGetRawIdx(),n},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]=f(),c=new(d(this._rawCount))(Math.ceil(u/s)),p=0,g=0;g<u;g+=s){s>u-g&&(a.length=s=u-g);for(var y=0;y<s;y++){var v=this.getRawIndex(g+y);a[y]=l[v]}var m=n(a),_=this.getRawIndex(Math.min(g+i(a,m)||0,u-1));l[_]=m,m<h[0]&&(h[0]=m),m>h[1]&&(h[1]=m),c[p++]=_}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();r<o;r++){var a=this.getRawIndex(r);switch(n){case 0:e(r);break;case 1:e(i[t[0]][a],r);break;case 2:e(i[t[0]][a],i[t[1]][a],r);break;default:for(var s=0,l=[];s<n;s++)l[s]=i[t[s]][a];l[s]=r,e.apply(null,l)}}},t.prototype.getDataExtent=function(t){var e,n=this._chunks[t],i=f();if(!n)return i;var r=this.count();if(!this._indices)return this._rawExtent[t].slice();if(e=this._extent[t])return e.slice();for(var o=(e=i)[0],a=e[1],s=0;s<r;s++){var l=n[this.getRawIndex(s)];l<o&&(o=l),l>a&&(a=l)}return e=[o,a],this._extent[t]=e,e},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<i.length;r++)n.push(i[r][e]);return n},t.prototype.clone=function(e,n){var i=new t,o=this._chunks,a=e&&(0,r.u4)(e,function(t,e){return t[e]=!0,t},{});if(a)for(var s=0;s<o.length;s++)i._chunks[s]=a[s]?function(t){var e=t.constructor;return e===Array?t.slice():new e(t)}(o[s]):o[s];else i._chunks=o;return this._copyCommonProps(i),n||(i._indices=this._cloneIndices()),i._updateGetRawIdx(),i},t.prototype._copyCommonProps=function(t){t._count=this._count,t._rawCount=this._rawCount,t._provider=this._provider,t._dimensions=this._dimensions,t._extent=(0,r.d9)(this._extent),t._rawExtent=(0,r.d9)(this._rawExtent)},t.prototype._cloneIndices=function(){if(this._indices){var t=this._indices.constructor,e=void 0;if(t===Array){var n=this._indices.length;e=new t(n);for(var i=0;i<n;i++)e[i]=this._indices[i]}else e=new t(this._indices);return e}return null},t.prototype._getRawIdxIdentity=function(t){return t},t.prototype._getRawIdx=function(t){return t<this._count&&t>=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(0,o.yQ)(t[i],this._dimensions[i])}i={arrayRows:t,objectRows:function(t,e,n,i){return(0,o.yQ)(t[e],this._dimensions[i])},keyedColumns:t,original:function(t,e,n,i){var r=t&&(null==t.value?t:t.value);return(0,o.yQ)(r instanceof Array?r[i]:r,this._dimensions[i])},typedArray:function(t,e,n,i){return t[i]}}}(),t}()},16436:function(t,e,n){n.d(e,{Z:()=>a});var i=n(96585),r=0;function o(t){return(0,i.Kn)(t)&&null!=t.value?t.value:t+""}let a=function(){function t(t){this.categories=t.categories||[],this._needCollect=t.needCollect,this._deduplication=t.deduplication,this.uid=++r}return t.createByAxisModel=function(e){var n=e.option,r=n.data,a=r&&(0,i.UI)(r,o);return new t({categories:a,needCollect:!a,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(!(0,i.HD)(t)&&!n)return t;if(n&&!this._deduplication)return e=this.categories.length,this.categories[e]=t,e;var r=this._getOrCreateMap();return null==(e=r.get(t))&&(n?(e=this.categories.length,this.categories[e]=t,r.set(t,e)):e=NaN),e},t.prototype._getOrCreateMap=function(){return this._map||(this._map=(0,i.kW)(this.categories))},t}()},58136:function(t,e,n){n.d(e,{Kp:()=>p,Ld:()=>l,ML:()=>c,QY:()=>g,_P:()=>u,nx:()=>h});var i=n(96585),r=n(15693),o=n(46451),a=n(490),s=function(t){this.data=t.data||(t.sourceFormat===r.hL?{}:[]),this.sourceFormat=t.sourceFormat||r.RA,this.seriesLayoutBy=t.seriesLayoutBy||r.fY,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;n<e.length;n++){var i=e[n];null==i.type&&(0,a.u7)(this,n)===a.Dq.Must&&(i.type="ordinal")}};function l(t){return t instanceof s}function u(t,e,n){n=n||p(t);var a=e.seriesLayoutBy,l=function(t,e,n,a,s){if(!t)return{dimensionsDefine:d(s),startIndex:u,dimensionsDetectedCount:l};if(e===r.XD){var l,u;"auto"===a||null==a?f(function(t){null!=t&&"-"!==t&&((0,i.HD)(t)?null==u&&(u=1):u=0)},n,t,10):u=(0,i.hj)(a)?a:+!!a,s||1!==u||(s=[],f(function(t,e){s[e]=null!=t?t+"":""},n,t,1/0)),l=s?s.length:n===r.Wc?t.length:t[0]?t[0].length:null}else if(e===r.qb)s||(s=function(t){for(var e,n=0;n<t.length&&!(e=t[n++]););if(e)return(0,i.XP)(e)}(t));else if(e===r.hL)s||(s=[],(0,i.S6)(t,function(t,e){s.push(e)}));else if(e===r.cy){var h=(0,o.C4)(t[0]);l=(0,i.kJ)(h)&&h.length||1}else r.J5;return{startIndex:u,dimensionsDefine:d(s),dimensionsDetectedCount:l}}(t,n,a,e.sourceHeader,e.dimensions);return new s({data:t,sourceFormat:n,seriesLayoutBy:a,dimensionsDefine:l.dimensionsDefine,startIndex:l.startIndex,dimensionsDetectedCount:l.dimensionsDetectedCount,metaRawOption:(0,i.d9)(e)})}function h(t){return new s({data:t,sourceFormat:(0,i.fU)(t)?r.J5:r.cy})}function c(t){return new s({data:t.data,sourceFormat:t.sourceFormat,seriesLayoutBy:t.seriesLayoutBy,dimensionsDefine:(0,i.d9)(t.dimensionsDefine),startIndex:t.startIndex,dimensionsDetectedCount:t.dimensionsDetectedCount})}function p(t){var e=r.RA;if((0,i.fU)(t))e=r.J5;else if((0,i.kJ)(t)){0===t.length&&(e=r.XD);for(var n=0,o=t.length;n<o;n++){var a=t[n];if(null!=a){if((0,i.kJ)(a)||(0,i.fU)(a)){e=r.XD;break}else if((0,i.Kn)(a)){e=r.qb;break}}}}else if((0,i.Kn)(t)){for(var s in t)if((0,i.RI)(t,s)&&(0,i.zG)(t[s])){e=r.hL;break}}return e}function d(t){if(t){var e=(0,i.kW)();return(0,i.UI)(t,function(t,n){var r={name:(t=(0,i.Kn)(t)?t:{name:t}).name,displayName:t.displayName,type:t.type};if(null==r.name)return r;r.name+="",null==r.displayName&&(r.displayName=r.name);var o=e.get(r.name);return o?r.name+="-"+o.count++:e.set(r.name,{count:1}),r})}}function f(t,e,n,i){if(e===r.Wc)for(var o=0;o<n.length&&o<i;o++)t(n[o]?n[o][0]:null,o);else for(var a=n[0]||[],o=0;o<a.length&&o<i;o++)t(a[o],o)}function g(t){var e=t.sourceFormat;return e===r.qb||e===r.hL}},56235:function(t,e,n){n.d(e,{Eo:()=>l,Jj:()=>c,Jl:()=>p,bB:()=>u,v5:()=>h});var i=n(96585),r=n(46451),o=n(58136),a=(0,r.Yf)(),s={float:"f",int:"i",ordinal:"o",number:"n",time:"t"},l=function(){function t(t){this.dimensions=t.dimensions,this._dimOmitted=t.dimensionOmitted,this.source=t.source,this._fullDimCount=t.fullDimensionCount,this._updateDimOmitted(t.dimensionOmitted)}return t.prototype.isDimensionOmitted=function(){return this._dimOmitted},t.prototype._updateDimOmitted=function(t){this._dimOmitted=t,t&&(this._dimNameMap||(this._dimNameMap=c(this.source)))},t.prototype.getSourceDimensionIndex=function(t){return(0,i.pD)(this._dimNameMap.get(t),-1)},t.prototype.getSourceDimension=function(t){var e=this.source.dimensionsDefine;if(e)return e[t]},t.prototype.makeStoreSchema=function(){for(var t=this._fullDimCount,e=(0,o.QY)(this.source),n=!p(t),i="",r=[],a=0,l=0;a<t;a++){var u=void 0,h=void 0,c=void 0,d=this.dimensions[l];if(d&&d.storeDimIndex===a)u=e?d.name:null,h=d.type,c=d.ordinalMeta,l++;else{var f=this.getSourceDimension(a);f&&(u=e?f.name:null,h=f.type)}r.push({property:u,type:h,ordinalMeta:c}),!e||null==u||d&&d.isCalculationCoord||(i+=n?u.replace(/\`/g,"`1").replace(/\$/g,"`2"):u),i+="$",i+=s[h]||"f",c&&(i+=c.uid),i+="$"}var g=this.source;return{dimensions:r,hash:[g.seriesLayoutBy,g.startIndex,i].join("$$")}},t.prototype.makeOutputDimensionNames=function(){for(var t=[],e=0,n=0;e<this._fullDimCount;e++){var i=void 0,r=this.dimensions[n];if(r&&r.storeDimIndex===e)r.isCalculationCoord||(i=r.name),n++;else{var o=this.getSourceDimension(e);o&&(i=o.name)}t.push(i)}return t},t.prototype.appendCalculationDimension=function(t){this.dimensions.push(t),t.isCalculationCoord=!0,this._fullDimCount++,this._updateDimOmitted(!0)},t}();function u(t){return t instanceof l}function h(t){for(var e=(0,i.kW)(),n=0;n<(t||[]).length;n++){var r=t[n],o=(0,i.Kn)(r)?r.name:r;null!=o&&null==e.get(o)&&e.set(o,n)}return e}function c(t){var e=a(t);return e.dimNameMap||(e.dimNameMap=h(t.dimensionsDefine))}function p(t){return t>30}},32658:function(t,e,n){n.d(e,{Pl:()=>p,_j:()=>g,a:()=>m,hk:()=>b,tB:()=>S});var i,r,o,a,s,l=n(96585),u=n(46451),h=n(58136),c=n(15693),p=function(){var t;function e(t,e){var n=(0,h.Ld)(t)?t:(0,h.nx)(t);this._source=n;var i=this._data=n.data;n.sourceFormat===c.J5&&(this._offset=0,this._dimSize=e,this._data=i),s(this,i,n)}return e.prototype.getSource=function(){return this._source},e.prototype.count=function(){return 0},e.prototype.getItem=function(t,e){},e.prototype.appendData=function(t){},e.prototype.clean=function(){},e.protoInitialize=void((t=e.prototype).pure=!1,t.persistent=!0),e.internalField=function(){s=function(t,r,o){var s=o.sourceFormat,u=o.seriesLayoutBy,h=o.startIndex,p=o.dimensionsDefine,d=a[w(s,u)];if((0,l.l7)(t,d),s===c.J5)t.getItem=e,t.count=i,t.fillStorage=n;else{var f=g(s,u);t.getItem=(0,l.ak)(f,null,r,h,p);var y=m(s,u);t.count=(0,l.ak)(y,null,r,h,p)}};var t,e=function(t,e){t-=this._offset,e=e||[];for(var n=this._data,i=this._dimSize,r=i*t,o=0;o<i;o++)e[o]=n[r+o];return e},n=function(t,e,n,i){for(var r=this._data,o=this._dimSize,a=0;a<o;a++){for(var s=i[a],l=null==s[0]?1/0:s[0],u=null==s[1]?-1/0:s[1],h=e-t,c=n[a],p=0;p<h;p++){var d=r[p*o+a];c[t+p]=d,d<l&&(l=d),d>u&&(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<t.length;e++)this._data.push(t[e])}(t={})[c.XD+"_"+c.fY]={pure:!0,appendData:r},t[c.XD+"_"+c.Wc]={pure:!0,appendData:function(){throw Error('Do not support appendData when set seriesLayoutBy: "row".')}},t[c.qb]={pure:!0,appendData:r},t[c.hL]={pure:!0,appendData:function(t){var e=this._data;(0,l.S6)(t,function(t,n){for(var i=e[n]||(e[n]=[]),r=0;r<(t||[]).length;r++)i.push(t[r])})}},t[c.cy]={appendData:r},t[c.J5]={persistent:!1,pure:!0,appendData:function(t){this._data=t},clean:function(){this._offset+=this.count(),this._data=null}},a=t}(),e}(),d=function(t,e,n,i){return t[i]},f=((i={})[c.XD+"_"+c.fY]=function(t,e,n,i){return t[i+e]},i[c.XD+"_"+c.Wc]=function(t,e,n,i,r){i+=e;for(var o=r||[],a=0;a<t.length;a++){var s=t[a];o[a]=s?s[i]:null}return o},i[c.qb]=d,i[c.hL]=function(t,e,n,i,r){for(var o=r||[],a=0;a<n.length;a++){var s=t[n[a].name];o[a]=s?s[i]:null}return o},i[c.cy]=d,i);function g(t,e){return f[w(t,e)]}var y=function(t,e,n){return t.length},v=((r={})[c.XD+"_"+c.fY]=function(t,e,n){return Math.max(0,t.length-e)},r[c.XD+"_"+c.Wc]=function(t,e,n){var i=t[0];return i?Math.max(0,i.length-e):0},r[c.qb]=y,r[c.hL]=function(t,e,n){var i=t[n[0].name];return i?i.length:0},r[c.cy]=y,r);function m(t,e){return v[w(t,e)]}var _=function(t,e,n){return t[e]},x=((o={})[c.XD]=_,o[c.qb]=function(t,e,n){return t[n]},o[c.hL]=_,o[c.cy]=function(t,e,n){var i=(0,u.C4)(t);return i instanceof Array?i[e]:i},o[c.J5]=_,o);function S(t){return x[t]}function w(t,e){return t===c.XD?t+"_"+e:t}function b(t,e,n){if(t){var i=t.getRawDataItem(e);if(null!=i){var r=t.getStore(),o=r.getSource().sourceFormat;if(null!=n){var a=t.getDimensionIndex(n),s=r.getDimensionProperty(a);return x[o](i,a,s)}var l=i;return o===c.cy&&(l=(0,u.C4)(i)),l}}}},93054:function(t,e,n){n.d(e,{BM:()=>o,IR:()=>s,M:()=>a});var i=n(96585),r=n(56235);function o(t,e,n){var o,a,s,l,u,h,c,p,d=(n=n||{}).byIndex,f=n.stackedCoordDimension;(o=e,(0,r.bB)(o.schema))?(a=(s=e.schema).dimensions,l=e.store):a=e;var g=!!(t&&t.get("stack"));if((0,i.S6)(a,function(t,e){(0,i.HD)(t)&&(a[e]=t={name:t}),g&&!t.isExtraCoord&&(d||u||!t.ordinalMeta||(u=t),h||"ordinal"===t.type||"time"===t.type||f&&f!==t.coordDim||(h=t))}),!h||d||u||(d=!0),h){c="__\0ecstackresult_"+t.id,p="__\0ecstackedover_"+t.id,u&&(u.createInvertedIndices=!0);var y=h.coordDim,v=h.type,m=0;(0,i.S6)(a,function(t){t.coordDim===y&&m++});var _={name:c,coordDim:y,coordDimIndex:m,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length},x={name:p,coordDim:p,coordDimIndex:m+1,type:v,isExtraCoord:!0,isCalculationCoord:!0,storeDimIndex:a.length+1};s?(l&&(_.storeDimIndex=l.ensureCalculationDimension(p,v),x.storeDimIndex=l.ensureCalculationDimension(c,v)),s.appendCalculationDimension(_),s.appendCalculationDimension(x)):(a.push(_),a.push(x))}return{stackedDimension:h&&h.name,stackedByDimension:u&&u.name,isStackedByIndex:d,stackedOverDimension:p,stackResultDimension:c}}function a(t,e){return!!e&&e===t.getCalculationInfo("stackedDimension")}function s(t,e){return a(t,e)?t.getCalculationInfo("stackResultDimension"):e}},15615:function(t,e,n){n.d(e,{ID:()=>c,o2:()=>l,tR:()=>d,yQ:()=>a});var i=n(81731),r=n(96585),o=n(99833);function a(t,e){var n=e&&e.type;return"ordinal"===n?t:("time"!==n||(0,r.hj)(t)||null==t||"-"===t||(t=+(0,i.sG)(t)),null==t||""===t?NaN:Number(t))}var s=(0,r.kW)({number:function(t){return parseFloat(t)},time:function(t){return+(0,i.sG)(t)},trim:function(t){return(0,r.HD)(t)?(0,r.fy)(t):t}});function l(t){return s.get(t)}var u={lt:function(t,e){return t<e},lte:function(t,e){return t<=e},gt:function(t,e){return t>e},gte:function(t,e){return t>=e}},h=function(){function t(t,e){(0,r.hj)(e)||(0,o._y)(""),this._opFn=u[t],this._rvalFloat=(0,i.FK)(e)}return t.prototype.evaluate=function(t){return(0,r.hj)(t)?this._opFn(t,this._rvalFloat):this._opFn((0,i.FK)(t),this._rvalFloat)},t}(),c=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=(0,r.hj)(t)?t:(0,i.FK)(t),o=(0,r.hj)(e)?e:(0,i.FK)(e),a=isNaN(n),s=isNaN(o);if(a&&(n=this._incomparable),s&&(o=this._incomparable),a&&s){var l=(0,r.HD)(t),u=(0,r.HD)(e);l&&(n=u?t:0),u&&(o=l?e:0)}return n<o?this._resultLT:n>o?-this._resultLT:0},t}(),p=function(){function t(t,e){this._rval=e,this._isEQ=t,this._rvalTypeof=typeof e,this._rvalFloat=(0,i.FK)(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=(0,i.FK)(t)===this._rvalFloat)}return this._isEQ?e:!e},t}();function d(t,e){return"eq"===t||"ne"===t?new p("eq"===t,e):(0,r.RI)(u,t)?new h(t,e):null}},490:function(t,e,n){n.d(e,{Dq:()=>a,JT:()=>c,Wd:()=>h,md:()=>l,pY:()=>u,u7:()=>p});var i=n(46451),r=n(96585),o=n(15693),a={Must:1,Might:2,Not:3},s=(0,i.Yf)();function l(t){s(t).datasetMap=(0,r.kW)()}function u(t,e,n){var i,o,a={},l=h(e);if(!l||!t)return a;var u=[],c=[],p=s(e.ecModel).datasetMap,d=l.uid+"_"+n.seriesLayoutBy;t=t.slice(),(0,r.S6)(t,function(e,n){var s=(0,r.Kn)(e)?e:t[n]={name:e};"ordinal"===s.type&&null==i&&(i=n,o=y(s)),a[s.name]=[]});var f=p.get(d)||p.set(d,{categoryWayDim:o,valueWayDim:0});function g(t,e,n){for(var i=0;i<n;i++)t.push(e+i)}function y(t){var e=t.dimsDef;return e?e.length:1}return(0,r.S6)(t,function(t,e){var n=t.name,r=y(t);if(null==i){var o=f.valueWayDim;g(a[n],o,r),g(c,o,r),f.valueWayDim+=r}else if(i===e)g(a[n],0,r),g(u,0,r);else{var o=f.categoryWayDim;g(a[n],o,r),g(c,o,r),f.categoryWayDim+=r}}),u.length&&(a.itemName=u),c.length&&(a.seriesName=c),a}function h(t){if(!t.get("data",!0))return(0,i.HZ)(t.ecModel,"dataset",{index:t.get("datasetIndex",!0),id:t.get("datasetId",!0)},i.C6).models[0]}function c(t){return t.get("transform",!0)||t.get("fromTransformResult",!0)?(0,i.HZ)(t.ecModel,"dataset",{index:t.get("fromDatasetIndex",!0),id:t.get("fromDatasetId",!0)},i.C6).models:[]}function p(t,e){return function(t,e,n,s,l,u){var h,c,p;if((0,r.fU)(t))return a.Not;if(s){var d=s[u];(0,r.Kn)(d)?(c=d.name,p=d.type):(0,r.HD)(d)&&(c=d)}if(null!=p)return"ordinal"===p?a.Must:a.Not;if(e===o.XD)if(n===o.Wc){for(var f=t[u],g=0;g<(f||[]).length&&g<5;g++)if(null!=(h=_(f[l+g])))return h}else for(var g=0;g<t.length&&g<5;g++){var y=t[l+g];if(y&&null!=(h=_(y[u])))return h}else if(e===o.qb){if(!c)return a.Not;for(var g=0;g<t.length&&g<5;g++){var v=t[g];if(v&&null!=(h=_(v[c])))return h}}else if(e===o.hL){if(!c)return a.Not;var f=t[c];if(!f||(0,r.fU)(f))return a.Not;for(var g=0;g<f.length&&g<5;g++)if(null!=(h=_(f[g])))return h}else if(e===o.cy)for(var g=0;g<t.length&&g<5;g++){var v=t[g],m=(0,i.C4)(v);if(!(0,r.kJ)(m))return a.Not;if(null!=(h=_(m[u])))return h}function _(t){var e=(0,r.HD)(t);return null!=t&&Number.isFinite(Number(t))&&""!==t?e?a.Might:a.Not:e&&"-"!==t?a.Must:void 0}return a.Not}(t.data,t.sourceFormat,t.seriesLayoutBy,t.dimensionsDefine,t.startIndex,e)}},62239:function(t,e,n){n.d(e,{U:()=>h,t:()=>c});var i=n(96585),r=n(58136),o=n(15693),a=n(490),s=n(45199),l=n(58185),u=n(32658),h=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,a=this._getUpstreamSourceManagers(),s=!!a.length;if(p(n)){var l=void 0,u=void 0,h=void 0;if(s){var c=a[0];c.prepareSource(),l=(h=c.getSource()).data,u=h.sourceFormat,e=[c._getVersionSign()]}else l=n.get("data",!0),u=(0,i.fU)(l)?o.J5:o.cy,e=[];var d=this._getSourceMetaRawOption()||{},f=h&&h.metaRawOption||{},g=(0,i.pD)(d.seriesLayoutBy,f.seriesLayoutBy)||null,y=(0,i.pD)(d.sourceHeader,f.sourceHeader),v=(0,i.pD)(d.dimensions,f.dimensions);t=g!==f.seriesLayoutBy||!!y!=!!f.sourceHeader||v?[(0,r._P)(l,{seriesLayoutBy:g,sourceHeader:y,dimensions:v},u)]:[]}else if(s){var m=this._applyTransform(a);t=m.sourceList,e=m.upstreamSignList}else{var _=n.get("source",!0);t=[(0,r._P)(_,this._getSourceMetaRawOption(),null)],e=[]}this._setLocalSource(t,e)},t.prototype._applyTransform=function(t){var e,n=this._sourceHost,o=n.get("transform",!0),a=n.get("fromTransformResult",!0);null!=a&&1!==t.length&&d("");var l=[],u=[];return(0,i.S6)(t,function(t){t.prepareSource();var e=t.getSource(a||0);null==a||e||d(""),l.push(e),u.push(t._getVersionSign())}),o?e=(0,s.vK)(o,l,{datasetIndex:n.componentIndex}):null!=a&&(e=[(0,r.ML)(l[0])]),{sourceList:e,upstreamSignList:u}},t.prototype._isDirty=function(){if(this._dirty)return!0;for(var t=this._getUpstreamSourceManagers(),e=0;e<t.length;e++){var n=t[e];if(n._isDirty()||this._upstreamSignList[e]!==n._getVersionSign())return!0}},t.prototype.getSource=function(t){t=t||0;var e=this._sourceList[t];if(!e){var n=this._getUpstreamSourceManagers();return n[0]&&n[0].getSource(t)}return e},t.prototype.getSharedDataStore=function(t){var e=t.makeStoreSchema();return this._innerGetDataStore(e.dimensions,t.source,e.hash)},t.prototype._innerGetDataStore=function(t,e,n){var i=this._storeList,r=i[0];r||(r=i[0]={});var o=r[n];if(!o){var a=this._getUpstreamSourceManagers()[0];p(this._sourceHost)&&a?o=a._innerGetDataStore(t,e,n):(o=new l.ZP).initData(new u.Pl(e,t.length),t),r[n]=o}return o},t.prototype._getUpstreamSourceManagers=function(){var t=this._sourceHost;if(!p(t))return(0,i.UI)((0,a.JT)(t),function(t){return t.getSourceManager()});var e=(0,a.Wd)(t);return e?[e.getSourceManager()]:[]},t.prototype._getSourceMetaRawOption=function(){var t,e,n,i=this._sourceHost;return p(i)?(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)):this._getUpstreamSourceManagers().length||(t=i.get("seriesLayoutBy",!0),e=i.get("sourceHeader",!0),n=i.get("dimensions",!0)),{seriesLayoutBy:t,sourceHeader:e,dimensions:n}},t}();function c(t){t.option.transform&&(0,i.s7)(t.option.transform)}function p(t){return"series"===t.mainType}function d(t){throw Error(t)}},45199:function(t,e,n){n.d(e,{DA:()=>y,vK:()=>v});var i=n(15693),r=n(46451),o=n(96585),a=n(32658),s=n(15615),l=n(99833),u=n(58136),h=function(){function t(){}return t.prototype.getRawData=function(){throw Error("not supported")},t.prototype.getRawDataItem=function(t){throw 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(0,s.yQ)(t,e)},t}();function c(t){return m(t.sourceFormat)||(0,l._y)(""),t.data}function p(t){var e=t.sourceFormat,n=t.data;if(m(e)||(0,l._y)(""),e===i.XD){for(var r=[],a=0,s=n.length;a<s;a++)r.push(n[a].slice());return r}if(e===i.qb){for(var r=[],a=0,s=n.length;a<s;a++)r.push((0,o.l7)({},n[a]));return r}}function d(t,e,n){if(null!=n){if((0,o.hj)(n)||!isNaN(n)&&!(0,o.RI)(e,n))return t[n];else if((0,o.RI)(e,n))return e[n]}}function f(t){return(0,o.d9)(t)}var g=(0,o.kW)();function y(t){var e=(t=(0,o.d9)(t)).type;e||(0,l._y)("");var n=e.split(":");2!==n.length&&(0,l._y)("");var i=!1;"echarts"===n[0]&&(e=n[1],i=!0),t.__isBuiltIn=i,g.set(e,t)}function v(t,e,n){var s=(0,r.kF)(t),y=s.length;y||(0,l._y)("");for(var v=0;v<y;v++)e=function(t,e,n,s){e.length||(0,l._y)(""),(0,o.Kn)(t)||(0,l._y)("");var y=t.type,v=g.get(y);v||(0,l._y)("");var _=(0,o.UI)(e,function(t){return function(t,e){var n=new h,r=t.data,s=n.sourceFormat=t.sourceFormat,u=t.startIndex;t.seriesLayoutBy!==i.fY&&(0,l._y)("");var g=[],y={},v=t.dimensionsDefine;if(v)(0,o.S6)(v,function(t,e){var n=t.name,i={index:e,name:n,displayName:t.displayName};g.push(i),null!=n&&((0,o.RI)(y,n)&&(0,l._y)(""),y[n]=i)});else for(var m=0;m<t.dimensionsDetectedCount||0;m++)g.push({index:m});var _=(0,a._j)(s,i.fY);e.__isBuiltIn&&(n.getRawDataItem=function(t){return _(r,u,g,t)},n.getRawData=(0,o.ak)(c,null,t)),n.cloneRawData=(0,o.ak)(p,null,t);var x=(0,a.a)(s,i.fY);n.count=(0,o.ak)(x,null,r,u,g);var S=(0,a.tB)(s);n.retrieveValue=function(t,e){return w(_(r,u,g,t),e)};var w=n.retrieveValueFromItem=function(t,e){if(null!=t){var n=g[e];if(n)return S(t,e,n.name)}};return n.getDimensionInfo=(0,o.ak)(d,null,g,y),n.cloneAllDimensionInfo=(0,o.ak)(f,null,g),n}(t,v)}),x=(0,r.kF)(v.transform({upstream:_[0],upstreamList:_,config:(0,o.d9)(t.config)}));return(0,o.UI)(x,function(t,n){(0,o.Kn)(t)||(0,l._y)(""),t.data||(0,l._y)(""),m((0,u.Kp)(t.data))||(0,l._y)("");var r,a=e[0];if(a&&0===n&&!t.dimensions){var s=a.startIndex;s&&(t.data=a.data.slice(0,s).concat(t.data)),r={seriesLayoutBy:i.fY,sourceHeader:s,dimensions:a.metaRawOption.dimensions}}else r={seriesLayoutBy:i.fY,sourceHeader:0,dimensions:t.dimensions};return(0,u._P)(t.data,r,null)})}(s[v],e,0,0),v!==y-1&&(e.length=Math.max(e.length,1));return e}function m(t){return t===i.XD||t===i.qb}},70392:function(t,e,n){n.d(e,{D:()=>function t(e){if((0,l.kJ)(e))return void(0,l.S6)(e,function(e){t(e)});(0,l.cq)(c,e)>=0||(c.push(e),(0,l.mf)(e)&&(e={install:e}),e.install(p))}});var i=n(82994),r=n(28440),o=n(47389),a=n(68943),s=n(69331),l=n(96585),u=n(85857),h=n(44262),c=[],p={registerPreprocessor:i.ds,registerProcessor:i.Pu,registerPostInit:i.sq,registerPostUpdate:i.Br,registerUpdateLifecycle:i.YK,registerAction:i.zl,registerCoordinateSystem:i.RS,registerLayout:i.qR,registerVisual:i.Og,registerTransform:i.OB,registerLoading:i.yn,registerMap:i.je,registerImpl:u.M,PRIORITY:i.Hr,ComponentModel:a.Z,ComponentView:r.Z,SeriesModel:s.Z,ChartView:o.Z,registerComponentModel:function(t){a.Z.registerClass(t)},registerComponentView:function(t){r.Z.registerClass(t)},registerSeriesModel:function(t){s.Z.registerClass(t)},registerChartView:function(t){o.Z.registerClass(t)},registerSubTypeDefaulter:function(t,e){a.Z.registerSubTypeDefaulter(t,e)},registerPainter:function(t,e){(0,h.wm)(t,e)}}},77704:function(t,e,n){n.d(e,{Lr:()=>c,k3:()=>h,ni:()=>u,pe:()=>_,qA:()=>m,qT:()=>v});var i=n(26991),r=n(96585),o=n(63344),a=n(46451),s={};function l(t,e,n){var i,a=t.labelFetcher,s=t.labelDataIndex,l=t.labelDimIndex,u=e.normal;a&&(i=a.getFormattedLabel(s,"normal",null,l,u&&u.get("formatter"),null!=n?{interpolatedValue:n}:null)),null==i&&(i=(0,r.mf)(t.defaultText)?t.defaultText(s,t,n):t.defaultText);for(var h={normal:i},c=0;c<o.L1.length;c++){var p=o.L1[c],d=e[p];h[p]=(0,r.pD)(a?a.getFormattedLabel(s,p,null,l,d&&d.get("formatter")):null,i)}return h}function u(t,e,n,a){n=n||s;for(var u=t instanceof i.ZP,h=!1,d=0;d<o.qc.length;d++){var f=e[o.qc[d]];if(f&&f.getShallow("show")){h=!0;break}}var g=u?t:t.getTextContent();if(h){!u&&(g||(g=new i.ZP,t.setTextContent(g)),t.stateProxy&&(g.stateProxy=t.stateProxy));var y=l(n,e),v=e.normal,_=!!v.getShallow("show"),x=c(v,a&&a.normal,n,!1,!u);x.text=y.normal,u||t.setTextConfig(p(v,n,!1));for(var d=0;d<o.L1.length;d++){var S=o.L1[d],f=e[S];if(f){var w=g.ensureState(S),b=!!(0,r.pD)(f.getShallow("show"),_);b!==_&&(w.ignore=!b),w.style=c(f,a&&a[S],n,!0,!u),w.style.text=y[S],u||(t.ensureState(S).textConfig=p(f,n,!0))}}g.silent=!!v.getShallow("silent"),null!=g.style.x&&(x.x=g.style.x),null!=g.style.y&&(x.y=g.style.y),g.ignore=!_,g.useStyle(x),g.dirty(),n.enableTextSetter&&(m(g).setLabelText=function(t){var i=l(n,e,t);!function(t,e){for(var n=0;n<o.L1.length;n++){var i=o.L1[n],r=e[i],a=t.ensureState(i);a.style=a.style||{},a.style.text=r}var s=t.currentStates.slice();t.clearStates(!0),t.setStyle({text:e.normal}),t.useStates(s,!0)}(g,i)})}else g&&(g.ignore=!0);t.dirty()}function h(t,e){e=e||"label";for(var n={normal:t.getModel(e)},i=0;i<o.L1.length;i++){var r=o.L1[i];n[r]=t.getModel([r,e])}return n}function c(t,e,n,i,o){var a={};return function(t,e,n,i,o){n=n||s;var a,l=e.ecModel,u=l&&l.option.textStyle,h=function(t){for(var e;t&&t!==t.ecModel;){var n=(t.option||s).rich;if(n){e=e||{};for(var i=(0,r.XP)(n),o=0;o<i.length;o++)e[i[o]]=1}t=t.parentModel}return e}(e);if(h){for(var c in a={},h)if(h.hasOwnProperty(c)){var p=e.getModel(["rich",c]);y(a[c]={},p,u,n,i,o,!1,!0)}}a&&(t.rich=a);var d=e.get("overflow");d&&(t.overflow=d);var f=e.get("minMargin");null!=f&&(t.margin=f),y(t,e,u,n,i,o,!0,!1)}(a,t,n,i,o),e&&(0,r.l7)(a,e),a}function p(t,e,n){e=e||{};var i,o={},a=t.getShallow("rotate"),s=(0,r.pD)(t.getShallow("distance"),n?null:5),l=t.getShallow("offset");return"outside"===(i=t.getShallow("position")||(n?null:"inside"))&&(i=e.defaultOutsidePosition||"top"),null!=i&&(o.position=i),null!=l&&(o.offset=l),null!=a&&(o.rotation=a*=Math.PI/180),null!=s&&(o.distance=s),o.outsideFill="inherit"===t.get("color")?e.inheritColor||null:"auto",o}var d=["fontStyle","fontWeight","fontSize","fontFamily","textShadowColor","textShadowBlur","textShadowOffsetX","textShadowOffsetY"],f=["align","lineHeight","width","height","tag","verticalAlign","ellipsis"],g=["padding","borderWidth","borderRadius","borderDashOffset","backgroundColor","borderColor","shadowColor","shadowBlur","shadowOffsetX","shadowOffsetY"];function y(t,e,n,i,o,a,l,u){n=!o&&n||s;var h=i&&i.inheritColor,c=e.getShallow("color"),p=e.getShallow("textBorderColor"),y=(0,r.pD)(e.getShallow("opacity"),n.opacity);("inherit"===c||"auto"===c)&&(c=h||null),("inherit"===p||"auto"===p)&&(p=h||null),a||(c=c||n.color,p=p||n.textBorderColor),null!=c&&(t.fill=c),null!=p&&(t.stroke=p);var v=(0,r.pD)(e.getShallow("textBorderWidth"),n.textBorderWidth);null!=v&&(t.lineWidth=v);var m=(0,r.pD)(e.getShallow("textBorderType"),n.textBorderType);null!=m&&(t.lineDash=m);var _=(0,r.pD)(e.getShallow("textBorderDashOffset"),n.textBorderDashOffset);null!=_&&(t.lineDashOffset=_),o||null!=y||u||(y=i&&i.defaultOpacity),null!=y&&(t.opacity=y),o||a||null!=t.fill||!i.inheritColor||(t.fill=i.inheritColor);for(var x=0;x<d.length;x++){var S=d[x],w=(0,r.pD)(e.getShallow(S),n[S]);null!=w&&(t[S]=w)}for(var x=0;x<f.length;x++){var S=f[x],w=e.getShallow(S);null!=w&&(t[S]=w)}if(null==t.verticalAlign){var b=e.getShallow("baseline");null!=b&&(t.verticalAlign=b)}if(!l||!i.disableBox){for(var x=0;x<g.length;x++){var S=g[x],w=e.getShallow(S);null!=w&&(t[S]=w)}var M=e.getShallow("borderType");null!=M&&(t.borderDash=M),("auto"===t.backgroundColor||"inherit"===t.backgroundColor)&&h&&(t.backgroundColor=h),("auto"===t.borderColor||"inherit"===t.borderColor)&&h&&(t.borderColor=h)}}function v(t,e){var n=e&&e.getModel("textStyle");return(0,r.fy)([t.fontStyle||n&&n.getShallow("fontStyle")||"",t.fontWeight||n&&n.getShallow("fontWeight")||"",(t.fontSize||n&&n.getShallow("fontSize")||12)+"px",t.fontFamily||n&&n.getShallow("fontFamily")||"sans-serif"].join(" "))}var m=(0,a.Yf)();function _(t,e,n,i){if(t){var r=m(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)}}},12105:function(t,e,n){n.d(e,{Bk:()=>f,G_:()=>p,Ge:()=>h,My:()=>c,bK:()=>d});var i=n(96585),r=n(81731),o=n(93054),a=n(94431),s=n(27129);function l(t){return t.get("stack")||"__ec_stack_"+t.seriesIndex}function u(t){return t.dim+t.index}function h(t,e){var n=[];return e.eachSeriesByType(t,function(t){g(t)&&n.push(t)}),n}function c(t){var e,n,o,a=function(t){var e={};(0,i.S6)(t,function(t){var n=t.coordinateSystem.getBaseAxis();if("time"===n.type||"value"===n.type)for(var i=t.getData(),r=n.dim+"_"+n.index,o=i.getDimensionIndex(i.mapDimension(n.dim)),a=i.getStore(),s=0,l=a.count();s<l;++s){var u=a.get(o,s);e[r]?e[r].push(u):e[r]=[u]}});var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r];if(o){o.sort(function(t,e){return t-e});for(var a=null,s=1;s<o.length;++s){var l=o[s]-o[s-1];l>0&&(a=null===a?l:Math.min(a,l))}n[r]=a}}return n}(t),s=[];return(0,i.S6)(t,function(t){var e,n=t.coordinateSystem.getBaseAxis(),i=n.getExtent();if("category"===n.type)e=n.getBandWidth();else if("value"===n.type||"time"===n.type){var o=a[n.dim+"_"+n.index],h=Math.abs(i[1]-i[0]),c=n.scale.getExtent(),p=Math.abs(c[1]-c[0]);e=o?h/p*o:h}else{var d=t.getData();e=Math.abs(i[1]-i[0])/d.count()}var f=(0,r.GM)(t.get("barWidth"),e),g=(0,r.GM)(t.get("barMaxWidth"),e),v=(0,r.GM)(t.get("barMinWidth")||(y(t)?.5:1),e),m=t.get("barGap"),_=t.get("barCategoryGap");s.push({bandWidth:e,barWidth:f,barMaxWidth:g,barMinWidth:v,barGap:m,barCategoryGap:_,axisKey:u(n),stackId:l(t)})}),e=s,n={},(0,i.S6)(e,function(t,e){var i=t.axisKey,r=t.bandWidth,o=n[i]||{bandWidth:r,remainedWidth:r,autoWidthCount:0,categoryGap:null,gap:"20%",stacks:{}},a=o.stacks;n[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)}),o={},(0,i.S6)(n,function(t,e){o[e]={};var n,a=t.stacks,s=t.bandWidth,l=t.categoryGap;null==l&&(l=Math.max(35-4*(0,i.XP)(a).length,15)+"%");var u=(0,r.GM)(l,s),h=(0,r.GM)(t.gap,1),c=t.remainedWidth,p=t.autoWidthCount,d=(c-u)/(p+(p-1)*h);d=Math.max(d,0),(0,i.S6)(a,function(t){var e=t.maxWidth,n=t.minWidth;if(t.width){var i=t.width;e&&(i=Math.min(i,e)),n&&(i=Math.max(i,n)),t.width=i,c-=i+h*i,p--}else{var i=d;e&&e<i&&(i=Math.min(e,c)),n&&n>i&&(i=n),i!==d&&(t.width=i,c-=i+h*i,p--)}}),d=Math.max(d=(c-u)/(p+(p-1)*h),0);var f=0;(0,i.S6)(a,function(t,e){t.width||(t.width=d),n=t,f+=t.width*(1+h)}),n&&(f-=n.width*h);var g=-f/2;(0,i.S6)(a,function(t,n){o[e][n]=o[e][n]||{bandWidth:s,offset:g,width:t.width},g+=t.width*(1+h)})}),o}function p(t,e,n){if(t&&e){var i=t[u(e)];return null!=i&&null!=n?i[l(n)]:i}}function d(t,e){var n=h(t,e),r=c(n);(0,i.S6)(n,function(t){var e=t.getData(),n=t.coordinateSystem.getBaseAxis(),i=l(t),o=r[u(n)][i],a=o.offset,s=o.width;e.setLayout({bandWidth:o.bandWidth,offset:a,size:s})})}function f(t){return{seriesType:t,plan:(0,a.Z)(),reset:function(t){if(g(t)){var e,n,i,r=t.getData(),a=t.coordinateSystem,l=a.getBaseAxis(),u=a.getOtherAxis(l),h=r.getDimensionIndex(r.mapDimension(u.dim)),c=r.getDimensionIndex(r.mapDimension(l.dim)),p=t.get("showBackground",!0),d=r.mapDimension(u.dim),f=r.getCalculationInfo("stackResultDimension"),v=(0,o.M)(r,d)&&!!r.getCalculationInfo("stackedOnSeries"),m=u.isHorizontal(),_=(e=0,(i=(n=u).model.get("startValue"))||(i=0),n.toGlobalCoord(n.dataToCoord("log"===n.type?i>0?i:1:i))),x=y(t),S=t.get("barMinHeight")||0,w=f&&r.getDimensionIndex(f),b=r.getLayout("size"),M=r.getLayout("offset");return{progress:function(t,e){for(var n,i=t.count,r=x&&(0,s.o)(3*i),o=x&&p&&(0,s.o)(3*i),l=x&&(0,s.o)(i),u=a.master.getRect(),d=m?u.width:u.height,f=e.getStore(),g=0;null!=(n=t.next());){var y=f.get(v?w:h,n),T=f.get(c,n),k=_,I=void 0;v&&(I=y-f.get(h,n));var D=void 0,C=void 0,A=void 0,P=void 0;if(m){var L=a.dataToPoint([y,T]);if(v){var O=a.dataToPoint([I,T]);k=O[0]}D=k,C=L[1]+M,A=L[0]-k,P=b,Math.abs(A)<S&&(A=(A<0?-1:1)*S)}else{var L=a.dataToPoint([T,y]);if(v){var O=a.dataToPoint([T,I]);k=O[1]}D=L[0]+M,C=k,A=b,Math.abs(P=L[1]-k)<S&&(P=(P<=0?-1:1)*S)}x?(r[g]=D,r[g+1]=C,r[g+2]=m?A:P,o&&(o[g]=m?u.x:D,o[g+1]=m?C:u.y,o[g+2]=d),l[n]=n):e.setItemLayout(n,{x:D,y:C,width:A,height:P}),g+=3}x&&e.setLayout({largePoints:r,largeDataIndices:l,largeBackgroundPoints:o,valueAxisHorizontal:m})}}}}}}function g(t){return t.coordinateSystem&&"cartesian2d"===t.coordinateSystem.type}function y(t){return t.pipelineContext&&t.pipelineContext.large}},68943:function(t,e,n){n.d(e,{Z:()=>p});var i=n(12012),r=n(96585),o=n(84456),a=n(95202),s=n(35350),l=n(46451),u=n(37624),h=(0,l.Yf)(),c=function(t){var e;function n(e,n,i){var r=t.call(this,e,n,i)||this;return r.uid=a.Kr("ec_cpt_model"),r}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.mergeDefaultAndTheme(t,n)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=u.YD(this),i=n?u.tE(t):{},o=e.getTheme();r.TS(t,o.get(this.mainType)),r.TS(t,this.getDefaultOption()),n&&u.dt(t,i,n)},n.prototype.mergeOption=function(t,e){r.TS(this.option,t,!0);var n=u.YD(this);n&&u.dt(this.option,t,n)},n.prototype.optionUpdated=function(t,e){},n.prototype.getDefaultOption=function(){var t=this.constructor;if(!(0,s.PT)(t))return t.defaultOption;var e=h(this);if(!e.defaultOption){for(var n=[],i=t;i;){var o=i.prototype.defaultOption;o&&n.push(o),i=i.superClass}for(var a={},l=n.length-1;l>=0;l--)a=r.TS(a,n[l],!0);e.defaultOption=a}return e.defaultOption},n.prototype.getReferringComponents=function(t,e){return(0,l.HZ)(this.ecModel,t,{index:this.get(t+"Index",!0),id:this.get(t+"Id",!0)},e)},n.prototype.getBoxLayoutParams=function(){return{left:this.get("left"),top:this.get("top"),right:this.get("right"),bottom:this.get("bottom"),width:this.get("width"),height:this.get("height")}},n.prototype.getZLevelKey=function(){return""},n.prototype.setZLevel=function(t){this.option.zlevel=t},n.protoInitialize=void((e=n.prototype).type="component",e.id="",e.name="",e.mainType="",e.subType="",e.componentIndex=0),n}(o.Z);(0,s.pw)(c,o.Z),(0,s.au)(c),a.cj(c),a.jS(c,function(t){var e=[];return r.S6(c.getClassesByMainType(t),function(t){e=e.concat(t.dependencies||t.prototype.dependencies||[])}),e=r.UI(e,function(t){return(0,s.u9)(t).main}),"dataset"!==t&&0>=r.cq(e,"dataset")&&e.unshift("dataset"),e});let p=c},84456:function(t,e,n){n.d(e,{Z:()=>v});var i=n(76226),r=n(35350),o=(0,n(12772).Z)([["fill","color"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["opacity"],["shadowColor"]]),a=function(){function t(){}return t.prototype.getAreaStyle=function(t,e){return o(this,t,e)},t}(),s=n(77704),l=n(26991),u=["textStyle","color"],h=["fontStyle","fontWeight","fontSize","fontFamily","padding","lineHeight","rich","width","height","overflow"],c=new l.ZP,p=function(){function t(){}return t.prototype.getTextColor=function(t){var e=this.ecModel;return this.getShallow("color")||(!t&&e?e.get(u):null)},t.prototype.getFont=function(){return(0,s.qT)({fontStyle:this.getShallow("fontStyle"),fontWeight:this.getShallow("fontWeight"),fontSize:this.getShallow("fontSize"),fontFamily:this.getShallow("fontFamily")},this.ecModel)},t.prototype.getTextRect=function(t){for(var e={text:t,verticalAlign:this.getShallow("verticalAlign")||this.getShallow("baseline")},n=0;n<h.length;n++)e[h[n]]=this.getShallow(h[n]);return c.useStyle(e),c.update(),c.getBoundingRect()},t}(),d=n(70259),f=n(22154),g=n(96585),y=function(){function t(t,e,n){this.parentModel=e,this.ecModel=n,this.option=t}return t.prototype.init=function(t,e,n){for(var i=[],r=3;r<arguments.length;r++)i[r-3]=arguments[r]},t.prototype.mergeOption=function(t,e){(0,g.TS)(this.option,t,!0)},t.prototype.get=function(t,e){return null==t?this.option:this._doGet(this.parsePath(t),!e&&this.parentModel)},t.prototype.getShallow=function(t,e){var n=this.option,i=null==n?n:n[t];if(null==i&&!e){var r=this.parentModel;r&&(i=r.getShallow(t))}return i},t.prototype.getModel=function(e,n){var i=null!=e,r=i?this.parsePath(e):null;return new t(i?this._doGet(r):this.option,n=n||this.parentModel&&this.parentModel.getModel(this.resolveParentPath(r)),this.ecModel)},t.prototype.isEmpty=function(){return null==this.option},t.prototype.restoreData=function(){},t.prototype.clone=function(){return new this.constructor((0,g.d9)(this.option))},t.prototype.parsePath=function(t){return"string"==typeof t?t.split("."):t},t.prototype.resolveParentPath=function(t){return t},t.prototype.isAnimationEnabled=function(){if(!i.Z.node&&this.option){if(null!=this.option.animation)return!!this.option.animation;else if(this.parentModel)return this.parentModel.isAnimationEnabled()}},t.prototype._doGet=function(t,e){var n=this.option;if(!t)return n;for(var i=0;i<t.length&&(!t[i]||null!=(n=n&&"object"==typeof n?n[t[i]]:null));i++);return null==n&&e&&(n=e._doGet(this.resolveParentPath(t),e.parentModel)),n},t}();(0,r.dm)(y),(0,r.Qj)(y),(0,g.jB)(y,d.K),(0,g.jB)(y,f.D),(0,g.jB)(y,a),(0,g.jB)(y,p);let v=y},69331:function(t,e,n){n.d(e,{Z:()=>k});var i=n(12012),r=n(96585),o=n(76226),a=n(46451),s=n(68943),l=n(14937),u=n(77178),h=n(37624),c=n(72739),p=n(35350),d=n(62239),f=n(13134),g=n(32658),y=a.Yf();function v(t,e){return t.getName(e)||t.getId(e)}var m=function(t){var e;function n(){var e=null!==t&&t.apply(this,arguments)||this;return e._selectedDataIndicesMap={},e}return(0,i.ZT)(n,t),n.prototype.init=function(t,e,n){this.seriesIndex=this.componentIndex,this.dataTask=(0,c.v)({count:x,reset:S}),this.dataTask.context={model:this},this.mergeDefaultAndTheme(t,n),(y(this).sourceManager=new d.U(this)).prepareSource();var i=this.getInitialData(t,n);b(i,this),this.dataTask.context.data=i,y(this).dataBeforeProcessed=i,_(this),this._initSelectedMapFromData(i)},n.prototype.mergeDefaultAndTheme=function(t,e){var n=(0,h.YD)(this),i=n?(0,h.tE)(t):{},o=this.subType;s.Z.hasClass(o)&&(o+="Series"),r.TS(t,e.getTheme().get(this.subType)),r.TS(t,this.getDefaultOption()),a.Cc(t,"label",["show"]),this.fillDataTextStyle(t.data),n&&(0,h.dt)(t,i,n)},n.prototype.mergeOption=function(t,e){t=r.TS(this.option,t,!0),this.fillDataTextStyle(t.data);var n=(0,h.YD)(this);n&&(0,h.dt)(this.option,t,n);var i=y(this).sourceManager;i.dirty(),i.prepareSource();var o=this.getInitialData(t,e);b(o,this),this.dataTask.dirty(),this.dataTask.context.data=o,y(this).dataBeforeProcessed=o,_(this),this._initSelectedMapFromData(o)},n.prototype.fillDataTextStyle=function(t){if(t&&!r.fU(t))for(var e=["show"],n=0;n<t.length;n++)t[n]&&t[n].label&&a.Cc(t[n],"label",e)},n.prototype.getInitialData=function(t,e){},n.prototype.appendData=function(t){this.getRawData().appendData(t.data)},n.prototype.getData=function(t){var e=T(this);if(!e)return y(this).data;var n=e.context.data;return null!=t&&n.getLinkedData?n.getLinkedData(t):n},n.prototype.getAllData=function(){var t=this.getData();return t&&t.getLinkedDataAll?t.getLinkedDataAll():[{data:t}]},n.prototype.setData=function(t){var e=T(this);if(e){var n=e.context;n.outputData=t,e!==this.dataTask&&(n.data=t)}y(this).data=t},n.prototype.getEncode=function(){var t=this.get("encode",!0);if(t)return r.kW(t)},n.prototype.getSourceManager=function(){return y(this).sourceManager},n.prototype.getSource=function(){return this.getSourceManager().getSource()},n.prototype.getRawData=function(){return y(this).dataBeforeProcessed},n.prototype.getColorBy=function(){return this.get("colorBy")||"series"},n.prototype.isColorBySeries=function(){return"series"===this.getColorBy()},n.prototype.getBaseAxis=function(){var t=this.coordinateSystem;return t&&t.getBaseAxis&&t.getBaseAxis()},n.prototype.formatTooltip=function(t,e,n){return function(t){var e,n,i,o,s=t.series,l=t.dataIndex,u=t.multipleSeries,h=s.getData(),c=h.mapDimensionsAll("defaultedTooltip"),p=c.length,d=s.getRawValue(l),y=(0,r.kJ)(d),v=(0,f.jT)(s,l);if(p>1||y&&!p){var m=function(t,e,n,i,o){var a=e.getData(),s=(0,r.u4)(t,function(t,e,n){var i=a.getDimensionInfo(n);return t=t||i&&!1!==i.tooltip&&null!=i.displayName},!1),l=[],u=[],h=[];function c(t,e){var n=a.getDimensionInfo(e);n&&!1!==n.otherDims.tooltip&&(s?h.push((0,f.TX)("nameValue",{markerType:"subItem",markerColor:o,name:n.displayName,value:t,valueType:n.type})):(l.push(t),u.push(n.type)))}return i.length?(0,r.S6)(i,function(t){c((0,g.hk)(a,n,t),t)}):(0,r.S6)(t,c),{inlineValues:l,inlineValueTypes:u,blocks:h}}(d,s,l,c,v);e=m.inlineValues,n=m.inlineValueTypes,i=m.blocks,o=m.inlineValues[0]}else if(p){var _=h.getDimensionInfo(c[0]);o=e=(0,g.hk)(h,l,c[0]),n=_.type}else o=e=y?d[0]:d;var x=(0,a.yu)(s),S=x&&s.name||"",w=h.getName(l),b=u?S:w;return(0,f.TX)("section",{header:S,noHeader:u||!x,sortParam:o,blocks:[(0,f.TX)("nameValue",{markerType:"item",markerColor:v,name:b,noName:!(0,r.fy)(b),value:e,valueType:n,dataIndex:l})].concat(i||[])})}({series:this,dataIndex:t,multipleSeries:e})},n.prototype.isAnimationEnabled=function(){var t=this.ecModel;if(o.Z.node&&!(t&&t.ssr))return!1;var e=this.getShallow("animation");return e&&this.getData().count()>this.getShallow("animationThreshold")&&(e=!1),!!e},n.prototype.restoreData=function(){this.dataTask.dirty()},n.prototype.getColorFromPalette=function(t,e,n){var i=this.ecModel,r=l._.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){this.option.selectedMap={},this._selectedDataIndicesMap={};return}for(var o=0;o<t.length;o++){var a=v(r,t[o]);n[a]=!1,this._selectedDataIndicesMap[a]=-1}}},n.prototype.toggleSelect=function(t,e){for(var n=[],i=0;i<t.length;i++)n[0]=t[i],this.isSelected(t[i],e)?this.unselect(n,e):this.select(n,e)},n.prototype.getSelectedDataIndices=function(){if("all"===this.option.selectedMap)return[].slice.call(this.getData().getIndices());for(var t=this._selectedDataIndicesMap,e=r.XP(t),n=[],i=0;i<e.length;i++){var o=t[e[i]];o>=0&&n.push(o)}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[v(i,t)])&&!i.getItemModel(t).get(["select","disabled"])},n.prototype.isUniversalTransitionEnabled=function(){if(this.__universalTransitionEnabled)return!0;var t=this.option.universalTransition;return!!t&&(!0===t||t&&t.enabled)},n.prototype._innerSelect=function(t,e){var n,i,o=this.option,a=o.selectedMode,s=e.length;if(a&&s){if("series"===a)o.selectedMap="all";else if("multiple"===a){r.Kn(o.selectedMap)||(o.selectedMap={});for(var l=o.selectedMap,u=0;u<s;u++){var h=e[u],c=v(t,h);l[c]=!0,this._selectedDataIndicesMap[c]=t.getRawIndex(h)}}else if("single"===a||!0===a){var p=e[s-1],c=v(t,p);(n={})[c]=!0,o.selectedMap=n,this._selectedDataIndicesMap=((i={})[c]=t.getRawIndex(p),i)}}},n.prototype._initSelectedMapFromData=function(t){if(!this.option.selectedMap){var e=[];t.hasItemOption&&t.each(function(n){var i=t.getRawDataItem(n);i&&i.selected&&e.push(n)}),e.length>0&&this._innerSelect(t,e)}},n.registerClass=function(t){return s.Z.registerClass(t)},n.protoInitialize=void((e=n.prototype).type="series.__base__",e.seriesIndex=0,e.ignoreStyleOnData=!1,e.hasSymbolVisual=!1,e.defaultSymbol="circle",e.visualStyleAccessPath="itemStyle",e.visualDrawType="fill"),n}(s.Z);function _(t){var e,n,i,o=t.name;a.yu(t)||(t.name=(n=(e=t.getRawData()).mapDimensionsAll("seriesName"),i=[],r.S6(n,function(t){var n=e.getDimensionInfo(t);n.displayName&&i.push(n.displayName)}),i.join(" ")||o))}function x(t){return t.model.getRawData().count()}function S(t){var e=t.model;return e.setData(e.getRawData().cloneShallow()),w}function w(t,e){e.outputData&&t.end>e.outputData.count()&&e.model.getRawData().cloneShallow(e.outputData)}function b(t,e){r.S6(r.WW(t.CHANGABLE_METHODS,t.DOWNSAMPLE_METHODS),function(n){t.wrapMethod(n,r.WA(M,e))})}function M(t,e){var n=T(t);return n&&n.setOutputEnd((e||this).count()),e}function T(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.jB(m,u.X),r.jB(m,l._),(0,p.pw)(m,s.Z);let k=m},77178:function(t,e,n){n.d(e,{X:()=>s,f:()=>l});var i=n(96585),r=n(32658),o=n(43718),a=/\{@(.+?)\}/g,s=function(){function t(){}return t.prototype.getDataParams=function(t,e){var n=this.getData(e),i=this.getRawValue(t,e),r=n.getRawIndex(t),o=n.getName(t),a=n.getRawDataItem(t),s=n.getItemVisual(t,"style"),l=s&&s[n.getItemVisual(t,"drawType")||"fill"],u=s&&s.stroke,h=this.mainType,c="series"===h,p=n.userOutput&&n.userOutput.get();return{componentType:h,componentSubType:this.subType,componentIndex:this.componentIndex,seriesType:c?this.subType:null,seriesIndex:this.seriesIndex,seriesId:c?this.id:null,seriesName:c?this.name:null,name:o,dataIndex:r,data:a,dataType:e,value:i,color:l,borderColor:u,dimensionNames:p?p.fullDimensions:null,encode:p?p.encode:null,$vars:["seriesName","name","value"]}},t.prototype.getFormattedLabel=function(t,e,n,s,l,u){e=e||"normal";var h=this.getData(n),c=this.getDataParams(t,n);return(u&&(c.value=u.interpolatedValue),null!=s&&i.kJ(c.value)&&(c.value=c.value[s]),l||(l=h.getItemModel(t).get("normal"===e?["label","formatter"]:[e,"label","formatter"])),i.mf(l))?(c.status=e,c.dimensionIndex=s,l(c)):i.HD(l)?(0,o.kF)(l,c).replace(a,function(e,n){var o=n.length,a=n;"["===a.charAt(0)&&"]"===a.charAt(o-1)&&(a=+a.slice(1,o-1));var s=(0,r.hk)(h,t,a);if(u&&i.kJ(u.interpolatedValue)){var l=h.getDimensionIndex(a);l>=0&&(s=u.interpolatedValue[l])}return null!=s?s+"":""}):void 0},t.prototype.getRawValue=function(t,e){return(0,r.hk)(this.getData(e),t)},t.prototype.formatTooltip=function(t,e,n){},t}();function l(t){var e,n;return i.Kn(t)?t.type&&(n=t):e=t,{text:e,frag:n}}},22154:function(t,e,n){n.d(e,{D:()=>a,t:()=>r});var i=n(12772),r=[["fill","color"],["stroke","borderColor"],["lineWidth","borderWidth"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","borderType"],["lineDashOffset","borderDashOffset"],["lineCap","borderCap"],["lineJoin","borderJoin"],["miterLimit","borderMiterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getItemStyle=function(t,e){return o(this,t,e)},t}()},70259:function(t,e,n){n.d(e,{K:()=>a,v:()=>r});var i=n(12772),r=[["lineWidth","width"],["stroke","color"],["opacity"],["shadowBlur"],["shadowOffsetX"],["shadowOffsetY"],["shadowColor"],["lineDash","type"],["lineDashOffset","dashOffset"],["lineCap","cap"],["lineJoin","join"],["miterLimit"]],o=(0,i.Z)(r),a=function(){function t(){}return t.prototype.getLineStyle=function(t){return o(this,t)},t}()},12772:function(t,e,n){n.d(e,{Z:()=>r});var i=n(96585);function r(t,e){for(var n=0;n<t.length;n++)t[n][1]||(t[n][1]=t[n][0]);return e=e||!1,function(n,r,o){for(var a={},s=0;s<t.length;s++){var l=t[s][1];if(!(r&&i.cq(r,l)>=0||o&&0>i.cq(o,l))){var u=n.getShallow(l,e);null!=u&&(a[t[s][0]]=u)}}return a}}},14937:function(t,e,n){n.d(e,{_:()=>o});var i=n(46451),r=(0,i.Yf)();(0,i.Yf)();var o=function(){function t(){}return t.prototype.getColorFromPalette=function(t,e,n){return function(t,e,n,i,r,o,a){var s=e(o=o||t),l=s.paletteIdx||0,u=s.paletteNameMap=s.paletteNameMap||{};if(u.hasOwnProperty(r))return u[r];var h=null!=a&&i?function(t,e){for(var n=t.length,i=0;i<n;i++)if(t[i].length>e)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}}(this,r,(0,i.kF)(this.get("color",!0)),this.get("colorLayer",!0),t,e,n)},t.prototype.clearColorPalette=function(){var t,e;t=this,(e=r)(t).paletteIdx=0,e(t).paletteNameMap={}},t}()},24488:function(t,e,n){n.d(e,{Z:()=>a});var i=n(96585),r={average:function(t){for(var e=0,n=0,i=0;i<t.length;i++)!isNaN(t[i])&&(e+=t[i],n++);return 0===n?NaN:e/n},sum:function(t){for(var e=0,n=0;n<t.length;n++)e+=t[n]||0;return e},max:function(t){for(var e=-1/0,n=0;n<t.length;n++)t[n]>e&&(e=t[n]);return isFinite(e)?e:NaN},min:function(t){for(var e=1/0,n=0;n<t.length;n++)t[n]<e&&(e=t[n]);return isFinite(e)?e:NaN},nearest:function(t){return t[0]}},o=function(t){return Math.round(t.length/2)};function a(t){return{seriesType:t,reset:function(t,e,n){var a=t.getData(),s=t.get("sampling"),l=t.coordinateSystem,u=a.count();if(u>10&&"cartesian2d"===l.type&&s){var h=l.getBaseAxis(),c=l.getOtherAxis(h),p=h.getExtent(),d=n.getDevicePixelRatio(),f=Math.round(u/(Math.abs(p[1]-p[0])*(d||1)));if(isFinite(f)&&f>1){"lttb"===s?t.setData(a.lttbDownSample(a.mapDimension(c.dim),1/f)):"minmax"===s&&t.setData(a.minmaxDownSample(a.mapDimension(c.dim),1/f));var g=void 0;(0,i.HD)(s)?g=r[s]:(0,i.mf)(s)&&(g=s),g&&t.setData(a.downSample(a.mapDimension(c.dim),1/f,g,o))}}}}}},62635:function(t,e,n){n.d(e,{N:()=>v});var i=n(8473),r=n(96585),o=n(12012),a=n(46606),s=n(31516),l=n(40552),u=n(44964),h=n(59177),c=n(82379);function p(t,e,n){var i=c.qW.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 d=function(t){function e(e,n,o){var a,s=t.call(this)||this;s.motionBlur=!1,s.lastFrameAlpha=.7,s.dpr=1,s.virtual=!1,s.config={},s.incremental=!1,s.zlevel=0,s.maxRepaintRectCount=5,s.__dirty=!0,s.__firstTimePaint=!0,s.__used=!1,s.__drawIndex=0,s.__startIndex=0,s.__endIndex=0,s.__prevStartIndex=null,s.__prevEndIndex=null,o=o||i.KL,"string"==typeof e?a=p(e,n,o):r.Kn(e)&&(e=(a=e).id),s.id=e,s.dom=a;var l=a.style;return l&&(r.$j(a),a.onselectstart=function(){return!1},l.padding="0",l.margin="0",l.borderWidth="0"),s.painter=n,s.dpr=o,s}return(0,o.ZT)(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=p("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 u.Z(0,0,0,0);function c(t){if(!(!t.isFinite()||t.isZero()))if(0===o.length){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}else{for(var n=!1,i=1/0,r=0,h=0;h<o.length;++h){var c=o[h];if(c.intersect(t)){var p=new u.Z(0,0,0,0);p.copy(c),p.union(t),o[h]=p,n=!0;break}if(s){l.copy(t),l.union(c);var d=t.width*t.height,f=c.width*c.height,g=l.width*l.height-d-f;g<i&&(i=g,r=h)}}if(s&&(o[r].union(t),n=!0),!n){var e=new u.Z(0,0,0,0);e.copy(t),o.push(e)}s||(s=o.length>=a)}}for(var p=this.__startIndex;p<this.__endIndex;++p){var d=t[p];if(d){var f=d.shouldBePainted(n,i,!0,!0),g=d.__isRendered&&(d.__dirty&h.YV||!f)?d.getPrevPaintRect():null;g&&c(g);var y=f&&(d.__dirty&h.YV||!d.__isRendered)?d.getPaintRect():null;y&&c(y)}}for(var p=this.__prevStartIndex;p<this.__prevEndIndex;++p){var d=e[p],f=d&&d.shouldBePainted(n,i,!0,!0);if(d&&(!f||!d.__zr)&&d.__isRendered){var g=d.getPrevPaintRect();g&&c(g)}}do{r=!1;for(var p=0;p<o.length;){if(o[p].isZero()){o.splice(p,1);continue}for(var v=p+1;v<o.length;)o[p].intersect(o[v])?(r=!0,o[p].union(o[v]),o.splice(v,1)):v++;p++}}while(r);return this._paintRects=o,o},e.prototype.debugGetPaintRects=function(){return(this._paintRects||[]).slice()},e.prototype.resize=function(t,e){var n=this.dpr,i=this.dom,r=i.style,o=this.domBack;r&&(r.width=t+"px",r.height=e+"px"),i.width=t*n,i.height=e*n,o&&(o.width=t*n,o.height=e*n,1!==n&&this.ctxBack.scale(n,n))},e.prototype.clear=function(t,e,n){var i=this.dom,o=this.ctx,a=i.width,u=i.height;e=e||this.clearColor;var h=this.motionBlur&&!t,c=this.lastFrameAlpha,p=this.dpr,d=this;h&&(this.domBack||this.createBackBuffer(),this.ctxBack.globalCompositeOperation="copy",this.ctxBack.drawImage(i,0,0,a/p,u/p));var f=this.domBack;function g(t,n,i,a){if(o.clearRect(t,n,i,a),e&&"transparent"!==e){var u=void 0;r.Qq(e)?(u=(e.global||e.__width===i&&e.__height===a)&&e.__canvasGradient||(0,s.ZF)(o,e,{x:0,y:0,width:i,height:a}),e.__canvasGradient=u,e.__width=i,e.__height=a):r.dL(e)&&(e.scaleX=e.scaleX||p,e.scaleY=e.scaleY||p,u=(0,l.RZ)(o,e,{dirty:function(){d.setUnpainted(),d.painter.refresh()}})),o.save(),o.fillStyle=u||e,o.fillRect(t,n,i,a),o.restore()}h&&(o.save(),o.globalAlpha=c,o.drawImage(f,t,n,i,a),o.restore())}!n||h?g(0,0,a,u):n.length&&r.S6(n,function(t){g(t.x*p,t.y*p,t.width*p,t.height*p)})},e}(a.Z),f=n(98279),g=n(76226),y=function(){function t(t,e,n,o){this.type="canvas",this._zlevelList=[],this._prevDisplayList=[],this._layers={},this._layerConfig={},this._needsManuallyCompositing=!1,this.type="canvas";var a=!t.nodeName||"CANVAS"===t.nodeName.toUpperCase();this._opts=n=r.l7({},n||{}),this.dpr=n.devicePixelRatio||i.KL,this._singleCanvas=a,this.root=t,t.style&&(r.$j(t),t.innerHTML=""),this.storage=e;var l=this._zlevelList;this._prevDisplayList=[];var u=this._layers;if(a){var h=t.width,c=t.height;null!=n.width&&(h=n.width),null!=n.height&&(c=n.height),this.dpr=n.devicePixelRatio||1,t.width=h*this.dpr,t.height=c*this.dpr,this._width=h,this._height=c;var p=new d(t,this,this.dpr);p.__builtin__=!0,p.initContext(),u[314159]=p,p.zlevel=314159,l.push(314159),this._domRoot=t}else{this._width=(0,s.ap)(t,0,n),this._height=(0,s.ap)(t,1,n);var f,g,y,v=this._domRoot=(f=this._width,g=this._height,(y=document.createElement("div")).style.cssText=["position:relative","width:"+f+"px","height:"+g+"px","padding:0","margin:0","border-width:0"].join(";")+";",y);t.appendChild(v)}}return t.prototype.getType=function(){return"canvas"},t.prototype.isSingleCanvas=function(){return this._singleCanvas},t.prototype.getViewportRoot=function(){return this._domRoot},t.prototype.getViewportRootOffset=function(){var t=this.getViewportRoot();if(t)return{offsetLeft:t.offsetLeft||0,offsetTop:t.offsetTop||0}},t.prototype.refresh=function(t){var e=this.storage.getDisplayList(!0),n=this._prevDisplayList,i=this._zlevelList;this._redrawId=Math.random(),this._paintList(e,n,t,this._redrawId);for(var r=0;r<i.length;r++){var o=i[r],a=this._layers[o];if(!a.__builtin__&&a.refresh){var s=0===r?this._backgroundColor:null;a.refresh(s)}}return this._opts.useDirtyRect&&(this._prevDisplayList=e.slice()),this},t.prototype.refreshHover=function(){this._paintHoverList(this.storage.getDisplayList(!1))},t.prototype._paintHoverList=function(t){var e,n=t.length,i=this._hoverlayer;if(i&&i.clear(),n){for(var r={inHover:!0,viewWidth:this._width,viewHeight:this._height},o=0;o<n;o++){var a=t[o];a.__inHover&&(i||(i=this._hoverlayer=this.getLayer(1e5)),e||(e=i.ctx).save(),(0,l.Dm)(e,a,r,o===n-1))}e&&e.restore()}},t.prototype.getHoverLayer=function(){return this.getLayer(1e5)},t.prototype.paintOne=function(t,e){(0,l.RV)(t,e)},t.prototype._paintList=function(t,e,n,i){if(this._redrawId===i){n=n||!1,this._updateLayerStatus(t);var r=this._doPaintList(t,e,n),o=r.finished,a=r.needsRefreshHover;if(this._needsManuallyCompositing&&this._compositeManually(),a&&this._paintHoverList(t),o)this.eachLayer(function(t){t.afterBrush&&t.afterBrush()});else{var s=this;(0,f.Z)(function(){s._paintList(t,e,n,i)})}}},t.prototype._compositeManually=function(){var t=this.getLayer(314159).ctx,e=this._domRoot.width,n=this._domRoot.height;t.clearRect(0,0,e,n),this.eachBuiltinLayer(function(i){i.virtual&&t.drawImage(i.dom,0,0,e,n)})},t.prototype._doPaintList=function(t,e,n){for(var i=this,o=[],a=this._opts.useDirtyRect,s=0;s<this._zlevelList.length;s++){var l=this._zlevelList[s],u=this._layers[l];u.__builtin__&&u!==this._hoverlayer&&(u.__dirty||n)&&o.push(u)}for(var h=!0,c=!1,p=this,d=0;d<o.length;d++)!function(r){var s,l=o[r],u=l.ctx,d=a&&l.createRepaintRects(t,e,p._width,p._height),f=n?l.__startIndex:l.__drawIndex,g=!n&&l.incremental&&Date.now,y=g&&Date.now(),v=l.zlevel===p._zlevelList[0]?p._backgroundColor:null;if(l.__startIndex===l.__endIndex)l.clear(!1,v,d);else if(f===l.__startIndex){var m=t[f];m.incremental&&m.notClear&&!n||l.clear(!1,v,d)}-1===f&&(console.error("For some unknown reason. drawIndex is -1"),f=l.__startIndex);var _=function(e){var n={inHover:!1,allClipped:!1,prevEl:null,viewWidth:i._width,viewHeight:i._height};for(s=f;s<l.__endIndex;s++){var r=t[s];if(r.__inHover&&(c=!0),i._doPaintEl(r,l,a,e,n,s===l.__endIndex-1),g&&Date.now()-y>15)break}n.prevElClipPaths&&u.restore()};if(d)if(0===d.length)s=l.__endIndex;else for(var x=p.dpr,S=0;S<d.length;++S){var w=d[S];u.save(),u.beginPath(),u.rect(w.x*x,w.y*x,w.width*x,w.height*x),u.clip(),_(w),u.restore()}else u.save(),_(),u.restore();l.__drawIndex=s,l.__drawIndex<l.__endIndex&&(h=!1)}(d);return g.Z.wxa&&r.S6(this._layers,function(t){t&&t.ctx&&t.ctx.draw&&t.ctx.draw()}),{finished:h,needsRefreshHover:c}},t.prototype._doPaintEl=function(t,e,n,i,r,o){var a=e.ctx;if(n){var s=t.getPaintRect();(!i||s&&s.intersect(i))&&((0,l.Dm)(a,t,r,o),t.setPrevPaintRect(s))}else(0,l.Dm)(a,t,r,o)},t.prototype.getLayer=function(t,e){this._singleCanvas&&!this._needsManuallyCompositing&&(t=314159);var n=this._layers[t];return n||((n=new d("zr_"+t,this,this.dpr)).zlevel=t,n.__builtin__=!0,this._layerConfig[t]?r.TS(n,this._layerConfig[t],!0):this._layerConfig[t-.01]&&r.TS(n,this._layerConfig[t-.01],!0),e&&(n.virtual=e),this.insertLayer(t,n),n.initContext()),n},t.prototype.insertLayer=function(t,e){var n=this._layers,i=this._zlevelList,r=i.length,o=this._domRoot,a=null,s=-1;if(!n[t]){if(e&&(e.__builtin__||"function"==typeof e.resize&&"function"==typeof e.refresh&&1)){if(r>0&&t>i[0]){for(s=0;s<r-1&&(!(i[s]<t)||!(i[s+1]>t));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;i<n.length;i++){var r=n[i];t.call(e,this._layers[r],r)}},t.prototype.eachBuiltinLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__&&t.call(e,o,r)}},t.prototype.eachOtherLayer=function(t,e){for(var n=this._zlevelList,i=0;i<n.length;i++){var r=n[i],o=this._layers[r];o.__builtin__||t.call(e,o,r)}},t.prototype.getLayers=function(){return this._layers},t.prototype._updateLayerStatus=function(t){function e(t){s&&(s.__endIndex!==t&&(s.__dirty=!0),s.__endIndex=t)}if(this.eachBuiltinLayer(function(t,e){t.__dirty=t.__used=!1}),this._singleCanvas)for(var n,i,o=1;o<t.length;o++){var a=t[o];if(a.zlevel!==t[o-1].zlevel||a.incremental){this._needsManuallyCompositing=!0;break}}var s=null,l=0;for(i=0;i<t.length;i++){var a=t[i],u=a.zlevel,c=void 0;n!==u&&(n=u,l=0),a.incremental?((c=this.getLayer(u+.001,this._needsManuallyCompositing)).incremental=!0,l=1):c=this.getLayer(u+.01*(l>0),this._needsManuallyCompositing),c.__builtin__||r.H("ZLevel "+u+" has been used by unkown layer "+c.id),c!==s&&(c.__used=!0,c.__startIndex!==i&&(c.__dirty=!0),c.__startIndex=i,c.incremental?c.__drawIndex=-1:c.__drawIndex=i,e(i),s=c),a.__dirty&h.YV&&!a.__inHover&&(c.__dirty=!0,c.incremental&&c.__drawIndex<0&&(c.__drawIndex=i))}e(i),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.S6(this._layers,function(t){t.setUnpainted()})},t.prototype.configLayer=function(t,e){if(e){var n=this._layerConfig;n[t]?r.TS(n[t],e,!0):n[t]=e;for(var i=0;i<this._zlevelList.length;i++){var o=this._zlevelList[i];if(o===t||o===t+.01){var a=this._layers[o];r.TS(a,n[t],!0)}}}},t.prototype.delLayer=function(t){var e=this._layers,n=this._zlevelList,i=e[t];i&&(i.dom.parentNode.removeChild(i.dom),delete e[t],n.splice(r.cq(n,t),1))},t.prototype.resize=function(t,e){if(this._domRoot.style){var n=this._domRoot;n.style.display="none";var i=this._opts,r=this.root;if(null!=t&&(i.width=t),null!=e&&(i.height=e),t=(0,s.ap)(r,0,i),e=(0,s.ap)(r,1,i),n.style.display="",this._width!==t||e!==this._height){for(var o in n.style.width=t+"px",n.style.height=e+"px",this._layers)this._layers.hasOwnProperty(o)&&this._layers[o].resize(t,e);this.refresh(!0)}this._width=t,this._height=e}else{if(null==t||null==e)return;this._width=t,this._height=e,this.getLayer(314159).resize(t,e)}return this},t.prototype.clearLayer=function(t){var e=this._layers[t];e&&e.clear()},t.prototype.dispose=function(){this.root.innerHTML="",this.root=this.storage=this._domRoot=this._layers=null},t.prototype.getRenderedCanvas=function(t){if(t=t||{},this._singleCanvas&&!this._compositeManually)return this._layers[314159].dom;var e=new d("image",this,t.pixelRatio||this.dpr);e.initContext(),e.clear(!1,t.backgroundColor||this._backgroundColor);var n=e.ctx;if(t.pixelRatio<=this.dpr){this.refresh();var i=e.dom.width,r=e.dom.height;this.eachLayer(function(t){t.__builtin__?n.drawImage(t.dom,0,0,i,r):t.renderToCanvas&&(n.save(),t.renderToCanvas(n),n.restore())})}else for(var o={inHover:!1,viewWidth:this._width,viewHeight:this._height},a=this.storage.getDisplayList(!0),s=0,u=a.length;s<u;s++){var h=a[s];(0,l.Dm)(n,h,o,s===u-1)}return e.dom},t.prototype.getWidth=function(){return this._width},t.prototype.getHeight=function(){return this._height},t}();function v(t){t.registerPainter("canvas",y)}},36700:function(t,e,n){n.d(e,{Z:()=>h});var i=n(12012),r=n(81731),o=n(43718),a=n(47765),s=n(72034),l=r.NM,u=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(0,i.ZT)(e,t),e.prototype.parse=function(t){return t},e.prototype.contain=function(t){return s.XS(t,this._extent)},e.prototype.normalize=function(t){return s.Fv(t,this._extent)},e.prototype.scale=function(t){return s.bA(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[0]&&(e[0]=t[0]),t[1]>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=s.lb(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]<i[0]&&(t?o.push({value:l(i[0]-e,r)}):o.push({value:n[0]}));for(var a=i[0];a<=i[1]&&(o.push({value:a}),(a=l(a+e,r))!==o[o.length-1].value);)if(o.length>1e4)return[];var s=o.length?o[o.length-1].value:i[1];return n[1]>s&&(t?o.push({value:l(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;r<e.length;r++){for(var o=e[r],a=e[r-1],s=0,u=[],h=(o.value-a.value)/t;s<t-1;){var c=l(a.value+(s+1)*h);c>i[0]&&c<i[1]&&u.push(c),s++}n.push(u)}return n},e.prototype.getLabel=function(t,e){if(null==t)return"";var n=e&&e.precision;null==n?n=r.p8(t.value)||0:"auto"===n&&(n=this._intervalPrecision);var i=l(t.value,n,!0);return o.OD(i)},e.prototype.calcNiceTicks=function(t,e,n){t=t||5;var i=this._extent,r=i[1]-i[0];if(isFinite(r)){r<0&&(r=-r,i.reverse());var o=s.Qf(i,t,e,n);this._intervalPrecision=o.intervalPrecision,this._interval=o.interval,this._niceExtent=o.niceTickExtent}},e.prototype.calcNiceExtent=function(t){var e=this._extent;if(e[0]===e[1])if(0!==e[0]){var n=Math.abs(e[0]);t.fixMax||(e[1]+=n/2),e[0]-=n/2}else e[1]=1;isFinite(e[1]-e[0])||(e[0]=0,e[1]=1),this.calcNiceTicks(t.splitNumber,t.minInterval,t.maxInterval);var i=this._interval;t.fixMin||(e[0]=l(Math.floor(e[0]/i)*i)),t.fixMax||(e[1]=l(Math.ceil(e[1]/i)*i))},e.prototype.setNiceExtent=function(t,e){this._niceExtent=[t,e]},e.type="interval",e}(a.Z);a.Z.registerClass(u);let h=u},47765:function(t,e,n){n.d(e,{Z:()=>o});var i=n(35350),r=function(){function t(t){this._setting=t||{},this._extent=[1/0,-1/0]}return t.prototype.getSetting=function(t){return this._setting[t]},t.prototype.unionExtent=function(t){var e=this._extent;t[0]<e[0]&&(e[0]=t[0]),t[1]>e[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}();i.au(r);let o=r},72034:function(t,e,n){n.d(e,{Fv:()=>h,Qf:()=>o,XS:()=>u,bA:()=>c,lM:()=>r,lb:()=>s,r1:()=>a});var i=n(81731);function r(t){return"interval"===t.type||"log"===t.type}function o(t,e,n,r){var o,a,u={},h=t[1]-t[0],c=u.interval=(0,i.kx)(h/e,!0);null!=n&&c<n&&(c=u.interval=n),null!=r&&c>r&&(c=u.interval=r);var p=u.intervalPrecision=s(c);return o=u.niceTickExtent=[(0,i.NM)(Math.ceil(t[0]/c)*c,p),(0,i.NM)(Math.floor(t[1]/c)*c,p)],a=t,isFinite(o[0])||(o[0]=a[0]),isFinite(o[1])||(o[1]=a[1]),l(o,0,a),l(o,1,a),o[0]>o[1]&&(o[0]=o[1]),u}function a(t){var e=Math.pow(10,(0,i.xW)(t)),n=t/e;return n?2===n?n=3:3===n?n=5:n*=2:n=1,(0,i.NM)(n*e)}function s(t){return(0,i.p8)(t)+2}function l(t,e,n){t[e]=Math.max(Math.min(t[e],n[1]),n[0])}function u(t,e){return t>=e[0]&&t<=e[1]}function h(t,e){return e[1]===e[0]?.5:(t-e[0])/(e[1]-e[0])}function c(t,e){return t*(e[1]-e[0])+e[0]}},35350:function(t,e,n){n.d(e,{PT:()=>l,Qj:()=>p,au:()=>g,dm:()=>u,pw:()=>h,u9:()=>s});var i=n(12012),r=n(96585),o="___EC__COMPONENT__CONTAINER___",a="___EC__EXTENDED_CLASS___";function s(t){var e={main:"",sub:""};if(t){var n=t.split(".");e.main=n[0]||"",e.sub=n[1]||""}return e}function l(t){return!!(t&&t[a])}function u(t,e){t.$constructor=t,t.extend=function(t){var e,n,o=this;return(e=o,r.mf(e)&&/^class\s/.test(Function.prototype.toString.call(e)))?n=function(t){function e(){return t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e}(o):(n=function(){(t.$constructor||o).apply(this,arguments)},r.XW(n,this)),r.l7(n.prototype,t),n[a]=!0,n.extend=this.extend,n.superCall=d,n.superApply=f,n.superClass=o,n}}function h(t,e){t.extend=e.extend}var c=Math.round(10*Math.random());function p(t){var e=["__\0is_clz",c++].join("_");t.prototype[e]=!0,t.isInstance=function(t){return!!(t&&t[e])}}function d(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return this.superClass.prototype[e].apply(t,n)}function f(t,e,n){return this.superClass.prototype[e].apply(t,n)}function g(t){var e={};t.registerClass=function(t){var n=t.type||t.prototype.type;if(n){r.hu(/^[a-zA-Z0-9_]+([.][a-zA-Z0-9_]+)?$/.test(n),'componentType "'+n+'" illegal'),t.prototype.type=n;var i,a,l=s(n);l.sub?l.sub!==o&&(((a=e[(i=l).main])&&a[o]||((a=e[i.main]={})[o]=!0),a)[l.sub]=t):e[l.main]=t}return t},t.getClass=function(t,n,i){var r=e[t];if(r&&r[o]&&(r=n?r[n]:null),i&&!r)throw Error(n?"Component "+t+"."+(n||"")+" is used but not imported.":t+".type should be specified.");return r},t.getClassesByMainType=function(t){var n=s(t),i=[],a=e[n.main];return a&&a[o]?r.S6(a,function(t,e){e!==o&&i.push(t)}):i.push(a),i},t.hasClass=function(t){return!!e[s(t).main]},t.getAllClassMainTypes=function(){var t=[];return r.S6(e,function(e,n){t.push(n)}),t},t.hasSubTypes=function(t){var n=e[s(t).main];return n&&n[o]}}},95202:function(t,e,n){n.d(e,{Kr:()=>a,ZL:()=>u,cj:()=>s,jS:()=>l});var i=n(96585),r=n(35350),o=Math.round(10*Math.random());function a(t){return[t||"",o++].join("_")}function s(t){var e={};t.registerSubTypeDefaulter=function(t,n){e[(0,r.u9)(t).main]=n},t.determineSubType=function(n,i){var o=i.type;if(!o){var a=(0,r.u9)(n).main;t.hasSubTypes(n)&&e[a]&&(o=e[a](i))}return o}}function l(t,e){t.topologicalTravel=function(t,r,o,a){if(t.length){var s,l,u,h=(s=r,l={},u=[],i.S6(s,function(t){var r,o,a,h=n(l,t),c=(r=h.originalDeps=e(t),o=s,a=[],i.S6(r,function(t){i.cq(o,t)>=0&&a.push(t)}),a);h.entryCount=c.length,0===h.entryCount&&u.push(t),i.S6(c,function(e){0>i.cq(h.predecessor,e)&&h.predecessor.push(e);var r=n(l,e);0>i.cq(r.successor,e)&&r.successor.push(t)})}),{graph:l,noEntryList:u}),c=h.graph,p=h.noEntryList,d={};for(i.S6(t,function(t){d[t]=!0});p.length;){var f=p.pop(),g=c[f],y=!!d[f];y&&(o.call(a,f,g.originalDeps.slice()),delete d[f]),i.S6(g.successor,y?m:v)}i.S6(d,function(){throw Error("")})}function v(t){c[t].entryCount--,0===c[t].entryCount&&p.push(t)}function m(t){d[t]=!0,v(t)}};function n(t,e){return t[e]||(t[e]={predecessor:[],successor:[]}),t[e]}}function u(t,e){return i.TS(i.TS({},t,!0),e,!0)}},33398:function(t,e,n){n.d(e,{I:()=>g});var i=Math.round(9*Math.random()),r="function"==typeof Object.defineProperty,o=function(){function t(){this._id="__ec_inner_"+i++}return t.prototype.get=function(t){return this._guard(t)[this._id]},t.prototype.set=function(t,e){var n=this._guard(t);return r?Object.defineProperty(n,this._id,{value:e,enumerable:!1,configurable:!0}):n[this._id]=e,this},t.prototype.delete=function(t){return!!this.has(t)&&(delete this._guard(t)[this._id],!0)},t.prototype.has=function(t){return!!this._guard(t)[this._id]},t.prototype._guard=function(t){if(t!==Object(t))throw TypeError("Value of WeakMap is not a non-null object.");return t},t}(),a=n(45671),s=n(96585),l=n(81731),u=n(44421),h=n(40552),c=n(82379),p=new o,d=new a.ZP(100),f=["symbol","symbolSize","symbolKeepAspect","color","backgroundColor","dashArrayX","dashArrayY","maxTileWidth","maxTileHeight"];function g(t,e){if("none"===t)return null;var n=e.getDevicePixelRatio(),i=e.getZr(),r="svg"===i.painter.type;t.dirty&&p.delete(t);var o=p.get(t);if(o)return o;var a=(0,s.ce)(t,{symbol:"rect",symbolSize:1,symbolKeepAspect:!0,color:"rgba(0, 0, 0, 0.2)",backgroundColor:null,dashArrayX:5,dashArrayY:5,rotation:0,maxTileWidth:512,maxTileHeight:512});"none"===a.backgroundColor&&(a.backgroundColor=null);var g={repeat:"repeat"};return function(t){for(var e,o,p,g=[n],v=!0,m=0;m<f.length;++m){var _=a[f[m]];if(null!=_&&!(0,s.kJ)(_)&&!(0,s.HD)(_)&&!(0,s.hj)(_)&&"boolean"!=typeof _){v=!1;break}g.push(_)}if(v){o=g.join(",")+(r?"-svg":"");var x=d.get(o);x&&(r?t.svgElement=x:t.image=x)}var S=function t(e){if(!e||0===e.length)return[[0,0]];if((0,s.hj)(e)){var n=Math.ceil(e);return[[n,n]]}for(var i=!0,r=0;r<e.length;++r)if(!(0,s.hj)(e[r])){i=!1;break}if(i)return t([e]);for(var o=[],r=0;r<e.length;++r)if((0,s.hj)(e[r])){var n=Math.ceil(e[r]);o.push([n,n])}else{var n=(0,s.UI)(e[r],function(t){return Math.ceil(t)});n.length%2==1?o.push(n.concat(n)):o.push(n)}return o}(a.dashArrayX),w=function(t){if(!t||"object"==typeof t&&0===t.length)return[0,0];if((0,s.hj)(t)){var e=Math.ceil(t);return[e,e]}var n=(0,s.UI)(t,function(t){return Math.ceil(t)});return t.length%2?n.concat(n):n}(a.dashArrayY),b=function t(e){if(!e||0===e.length)return[["rect"]];if((0,s.HD)(e))return[[e]];for(var n=!0,i=0;i<e.length;++i)if(!(0,s.HD)(e[i])){n=!1;break}if(n)return t([e]);for(var r=[],i=0;i<e.length;++i)(0,s.HD)(e[i])?r.push([e[i]]):r.push(e[i]);return r}(a.symbol),M=(e=S,(0,s.UI)(e,function(t){return y(t)})),T=y(w),k=!r&&c.qW.createCanvas(),I=r&&{tag:"g",attrs:{},key:"dcl",children:[]},D=function(){for(var t=1,e=0,n=M.length;e<n;++e)t=(0,l.nl)(t,M[e]);for(var i=1,e=0,n=b.length;e<n;++e)i=(0,l.nl)(i,b[e].length);t*=i;var r=T*M.length*b.length;return{width:Math.max(1,Math.min(t,a.maxTileWidth)),height:Math.max(1,Math.min(r,a.maxTileHeight))}}();k&&(k.width=D.width*n,k.height=D.height*n,p=k.getContext("2d")),function(){p&&(p.clearRect(0,0,k.width,k.height),a.backgroundColor&&(p.fillStyle=a.backgroundColor,p.fillRect(0,0,k.width,k.height)));for(var t=0,e=0;e<w.length;++e)t+=w[e];if(!(t<=0))for(var o=-T,s=0,l=0,c=0;o<D.height;){if(s%2==0){for(var d=l/2%b.length,f=0,g=0,y=0;f<2*D.width;){for(var v=0,e=0;e<S[c].length;++e)v+=S[c][e];if(v<=0)break;if(g%2==0){var m=(1-a.symbolSize)*.5,_=f+S[c][g]*m,x=o+w[s]*m,M=S[c][g]*a.symbolSize,C=w[s]*a.symbolSize,A=y/2%b[d].length;!function(t,e,o,s,l){var c=r?1:n,d=(0,u.th)(l,t*c,e*c,o*c,s*c,a.color,a.symbolKeepAspect);if(r){var f=i.painter.renderOneToVNode(d);f&&I.children.push(f)}else(0,h.RV)(p,d)}(_,x,M,C,b[d][A])}f+=S[c][g],++y,++g===S[c].length&&(g=0)}++c===S.length&&(c=0)}o+=w[s],++l,++s===w.length&&(s=0)}}(),v&&d.put(o,k||I),t.image=k,t.svgElement=I,t.svgWidth=D.width,t.svgHeight=D.height}(g),g.rotation=a.rotation,g.scaleX=g.scaleY=r?1:1/n,p.set(t,g),t.dirty=!1,g}function y(t){for(var e=0,n=0;n<t.length;++n)e+=t[n];return t.length%2==1?2*e:e}},89114:function(t,e,n){n.d(e,{o:()=>i});function i(t,e,n){for(var i;t&&(!e(t)||(i=t,!n));)t=t.__hostTarget||t.parent;return i}},43718:function(t,e,n){n.d(e,{A0:()=>f,Lz:()=>g,MI:()=>y,MY:()=>u,OD:()=>s,kF:()=>d,uX:()=>h,zW:()=>l});var i=n(96585),r=n(75225),o=n(81731),a=n(41070);function s(t){if(!(0,o.kE)(t))return i.HD(t)?t:"-";var e=(t+"").split(".");return e[0].replace(/(\d{1,3})(?=(?:\d{3})+(?!\d))/g,"$1,")+(e.length>1?"."+e[1]:"")}function l(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 u=i.MY;function h(t,e,n){function r(t){return t&&i.fy(t)?t:"-"}function l(t){return!!(null!=t&&!isNaN(t)&&isFinite(t))}var u="time"===e,h=t instanceof Date;if(u||h){var c=u?(0,o.sG)(t):t;if(!isNaN(+c))return(0,a.WU)(c,"{yyyy}-{MM}-{dd} {HH}:{mm}:{ss}",n);if(h)return"-"}if("ordinal"===e)return i.cd(t)?r(t):i.hj(t)&&l(t)?t+"":"-";var p=(0,o.FK)(t);return l(p)?s(p):i.cd(t)?r(t):"boolean"==typeof t?t+"":"-"}var c=["a","b","c","d","e","f","g"],p=function(t,e){return"{"+t+(null==e?"":e)+"}"};function d(t,e,n){i.kJ(e)||(e=[e]);var o=e.length;if(!o)return"";for(var a=e[0].$vars||[],s=0;s<a.length;s++){var l=c[s];t=t.replace(p(l),p(l,0))}for(var u=0;u<o;u++)for(var h=0;h<a.length;h++){var d=e[u][a[h]];t=t.replace(p(c[h],u),n?(0,r.F1)(d):d)}return t}function f(t,e){var n=i.HD(t)?{color:t,extraCssText:e}:t||{},o=n.color,a=n.type;e=n.extraCssText;var s=n.renderMode||"html";return o?"html"===s?"subItem"===a?'<span style="display:inline-block;vertical-align:middle;margin-right:8px;margin-left:3px;border-radius:4px;width:4px;height:4px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':'<span style="display:inline-block;margin-right:4px;border-radius:10px;width:10px;height:10px;background-color:'+(0,r.F1)(o)+";"+(e||"")+'"></span>':{renderMode:s,content:"{"+(n.markerId||"markerX")+"|} ",style:"subItem"===a?{width:4,height:4,borderRadius:2,backgroundColor:o}:{width:10,height:10,borderRadius:5,backgroundColor:o}}:""}function g(t,e){return e=e||"transparent",i.HD(t)?t:i.Kn(t)&&t.colorStops&&(t.colorStops[0]||{}).color||e}function y(t,e){if("_blank"===e||"blank"===e){var n=window.open();n.opener=null,n.location.href=t}else window.open(t,e)}},19044:function(t,e,n){n.r(e),n.d(e,{Polyline:()=>G,lineLineIntersect:()=>tN,resizePath:()=>tM,setTooltipConfig:()=>tz,subPixelOptimizeLine:()=>tT,extendPath:()=>tv,Text:()=>C.ZP,Rect:()=>U.Z,Ellipse:()=>O,linePolygonIntersect:()=>tZ,isElementRemoved:()=>tc.eq,Polygon:()=>H,Ring:()=>z,RadialGradient:()=>tn,Sector:()=>R.C,getShapeClass:()=>t_,registerShape:()=>tm,makePath:()=>tx,subPixelOptimizeRect:()=>tk,transformDirection:()=>tA,Group:()=>D.Z,mergePath:()=>tb,Line:()=>X.Z,removeElementWithFadeOut:()=>tc.XD,removeElement:()=>tc.bX,subPixelOptimize:()=>tI,updateProps:()=>tc.D,makeImage:()=>tS,Path:()=>r.ZP,createIcon:()=>tR,Arc:()=>$.Z,Image:()=>I.ZP,initProps:()=>tc.KZ,traverseElements:()=>tB,extendShape:()=>tg,groupTransition:()=>tP,OrientedBoundingRect:()=>tr.Z,applyTransform:()=>tC,getTransform:()=>tD,clipPointsByRect:()=>tL,LinearGradient:()=>te.Z,IncrementalDisplayable:()=>tl,Circle:()=>A.Z,BezierCurve:()=>Q,CompoundPath:()=>tt,clipRectByRect:()=>tO,Point:()=>to.Z,BoundingRect:()=>ti.Z});var i=n(12012),r=n(50654),o=n(36209),a=n(63261),s=o.Z.CMD,l=[[],[],[]],u=Math.sqrt,h=Math.atan2,c=n(96585),p=Math.sqrt,d=Math.sin,f=Math.cos,g=Math.PI;function y(t){return Math.sqrt(t[0]*t[0]+t[1]*t[1])}function v(t,e){return(t[0]*e[0]+t[1]*e[1])/(y(t)*y(e))}function m(t,e){return(t[0]*e[1]<t[1]*e[0]?-1:1)*Math.acos(v(t,e))}function _(t,e,n,i,r,o,a,s,l,u,h){var c=g/180*l,y=f(c)*(t-n)/2+d(c)*(e-i)/2,_=-1*d(c)*(t-n)/2+f(c)*(e-i)/2,x=y*y/(a*a)+_*_/(s*s);x>1&&(a*=p(x),s*=p(x));var S=(r===o?-1:1)*p((a*a*(s*s)-a*a*(_*_)-s*s*(y*y))/(a*a*(_*_)+s*s*(y*y)))||0,w=S*a*_/s,b=-(S*s)*y/a,M=(t+n)/2+f(c)*w-d(c)*b,T=(e+i)/2+d(c)*w+f(c)*b,k=m([1,0],[(y-w)/a,(_-b)/s]),I=[(y-w)/a,(_-b)/s],D=[(-1*y-w)/a,(-1*_-b)/s],C=m(I,D);if(-1>=v(I,D)&&(C=g),v(I,D)>=1&&(C=0),C<0){var A=Math.round(C/g*1e6)/1e6;C=2*g+A%2*g}h.addData(u,M,T,a,s,k,C,c,o)}var x=/([mlvhzcqtsa])([^mlvhzcqtsa]*)/ig,S=/-?([0-9]*\.)?[0-9]+([eE]-?[0-9]+)?/g,w=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.applyTransform=function(t){},e}(r.ZP);function b(t){return null!=t.setData}function M(t,e){var n=function(t){var e,n=new o.Z;if(!t)return n;var i=0,r=0,a=0,s=0,l=o.Z.CMD,u=t.match(x);if(!u)return n;for(var h=0;h<u.length;h++){for(var c=u[h],p=c.charAt(0),d=void 0,f=c.match(S)||[],g=f.length,y=0;y<g;y++)f[y]=parseFloat(f[y]);for(var v=0;v<g;){var m=void 0,w=void 0,b=void 0,M=void 0,T=void 0,k=void 0,I=void 0,D=i,C=r,A=void 0,P=void 0;switch(p){case"l":i+=f[v++],r+=f[v++],d=l.L,n.addData(d,i,r);break;case"L":i=f[v++],r=f[v++],d=l.L,n.addData(d,i,r);break;case"m":i+=f[v++],r+=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="l";break;case"M":i=f[v++],r=f[v++],d=l.M,n.addData(d,i,r),a=i,s=r,p="L";break;case"h":i+=f[v++],d=l.L,n.addData(d,i,r);break;case"H":i=f[v++],d=l.L,n.addData(d,i,r);break;case"v":r+=f[v++],d=l.L,n.addData(d,i,r);break;case"V":r=f[v++],d=l.L,n.addData(d,i,r);break;case"C":d=l.C,n.addData(d,f[v++],f[v++],f[v++],f[v++],f[v++],f[v++]),i=f[v-2],r=f[v-1];break;case"c":d=l.C,n.addData(d,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r,f[v++]+i,f[v++]+r),i+=f[v-2],r+=f[v-1];break;case"S":m=i,w=r,A=n.len(),P=n.data,e===l.C&&(m+=i-P[A-4],w+=r-P[A-3]),d=l.C,D=f[v++],C=f[v++],i=f[v++],r=f[v++],n.addData(d,m,w,D,C,i,r);break;case"s":m=i,w=r,A=n.len(),P=n.data,e===l.C&&(m+=i-P[A-4],w+=r-P[A-3]),d=l.C,D=i+f[v++],C=r+f[v++],i+=f[v++],r+=f[v++],n.addData(d,m,w,D,C,i,r);break;case"Q":D=f[v++],C=f[v++],i=f[v++],r=f[v++],d=l.Q,n.addData(d,D,C,i,r);break;case"q":D=f[v++]+i,C=f[v++]+r,i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,D,C,i,r);break;case"T":m=i,w=r,A=n.len(),P=n.data,e===l.Q&&(m+=i-P[A-4],w+=r-P[A-3]),i=f[v++],r=f[v++],d=l.Q,n.addData(d,m,w,i,r);break;case"t":m=i,w=r,A=n.len(),P=n.data,e===l.Q&&(m+=i-P[A-4],w+=r-P[A-3]),i+=f[v++],r+=f[v++],d=l.Q,n.addData(d,m,w,i,r);break;case"A":b=f[v++],M=f[v++],T=f[v++],k=f[v++],I=f[v++],D=i,C=r,i=f[v++],_(D,C,i,r=f[v++],k,I,b,M,T,d=l.A,n);break;case"a":b=f[v++],M=f[v++],T=f[v++],k=f[v++],I=f[v++],D=i,C=r,i+=f[v++],_(D,C,i,r+=f[v++],k,I,b,M,T,d=l.A,n)}}("z"===p||"Z"===p)&&(d=l.Z,n.addData(d),i=a,r=s),e=d}return n.toStatic(),n}(t),i=(0,c.l7)({},e);return i.buildPath=function(t){if(b(t)){t.setData(n.data);var e=t.getContext();e&&t.rebuildPath(e,1)}else{var e=t;n.rebuildPath(e,1)}},i.applyTransform=function(t){!function(t,e){if(e){var n,i,r,o,c,p,d=t.data,f=t.len(),g=s.M,y=s.C,v=s.L,m=s.R,_=s.A,x=s.Q;for(r=0,o=0;r<f;){switch(n=d[r++],o=r,i=0,n){case g:case v:i=1;break;case y:i=3;break;case x:i=2;break;case _:var S=e[4],w=e[5],b=u(e[0]*e[0]+e[1]*e[1]),M=u(e[2]*e[2]+e[3]*e[3]),T=h(-e[1]/M,e[0]/b);d[r]*=b,d[r++]+=S,d[r]*=M,d[r++]+=w,d[r++]*=b,d[r++]*=M,d[r++]+=T,d[r++]+=T,r+=2,o=r;break;case m:p[0]=d[r++],p[1]=d[r++],(0,a.Ne)(p,p,e),d[o++]=p[0],d[o++]=p[1],p[0]+=d[r++],p[1]+=d[r++],(0,a.Ne)(p,p,e),d[o++]=p[0],d[o++]=p[1]}for(c=0;c<i;c++){var k=l[c];k[0]=d[r++],k[1]=d[r++],(0,a.Ne)(k,k,e),d[o++]=k[0],d[o++]=k[1]}}t.increaseVersion()}}(n,t),this.dirtyShape()},i}var T=n(85215),k=n(15365),I=n(31386),D=n(19171),C=n(26991),A=n(26768),P=function(){this.cx=0,this.cy=0,this.rx=0,this.ry=0},L=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new P},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=e.rx,o=e.ry,a=.5522848*r,s=.5522848*o;t.moveTo(n-r,i),t.bezierCurveTo(n-r,i-s,n-a,i-o,n,i-o),t.bezierCurveTo(n+a,i-o,n+r,i-s,n+r,i),t.bezierCurveTo(n+r,i+s,n+a,i+o,n,i+o),t.bezierCurveTo(n-a,i+o,n-r,i+s,n-r,i),t.closePath()},e}(r.ZP);L.prototype.type="ellipse";let O=L;var R=n(98289),Z=function(){this.cx=0,this.cy=0,this.r=0,this.r0=0},N=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new Z},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}(r.ZP);N.prototype.type="ring";let z=N;function E(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,s,l,u=[],h=[],c=[],p=[];if(i){s=[1/0,1/0],l=[-1/0,-1/0];for(var d=0,f=t.length;d<f;d++)(0,a.VV)(s,s,t[d]),(0,a.Fp)(l,l,t[d]);(0,a.VV)(s,s,i[0]),(0,a.Fp)(l,l,i[1])}for(var d=0,f=t.length;d<f;d++){var g=t[d];if(n)r=t[d?d-1:f-1],o=t[(d+1)%f];else if(0===d||d===f-1){u.push((0,a.d9)(t[d]));continue}else r=t[d-1],o=t[d+1];(0,a.lu)(h,o,r),(0,a.bA)(h,h,e);var y=(0,a.TE)(g,r),v=(0,a.TE)(g,o),m=y+v;0!==m&&(y/=m,v/=m),(0,a.bA)(c,h,-y),(0,a.bA)(p,h,v);var _=(0,a.IH)([],g,c),x=(0,a.IH)([],g,p);i&&((0,a.Fp)(_,_,s),(0,a.VV)(_,_,l),(0,a.Fp)(x,x,s),(0,a.VV)(x,x,l)),u.push(_),u.push(x)}return n&&u.push(u.shift()),u}(r,i,n,e.smoothConstraint);t.moveTo(r[0][0],r[0][1]);for(var s=r.length,l=0;l<(n?s:s-1);l++){var u=o[2*l],h=o[2*l+1],c=r[(l+1)%s];t.bezierCurveTo(u[0],u[1],h[0],h[1],c[0],c[1])}}else{t.moveTo(r[0][0],r[0][1]);for(var l=1,p=r.length;l<p;l++)t.lineTo(r[l][0],r[l][1])}n&&t.closePath()}}var B=function(){this.points=null,this.smooth=0,this.smoothConstraint=null},F=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new B},e.prototype.buildPath=function(t,e){E(t,e,!0)},e}(r.ZP);F.prototype.type="polygon";let H=F;var W=function(){this.points=null,this.percent=1,this.smooth=0,this.smoothConstraint=null},V=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new W},e.prototype.buildPath=function(t,e){E(t,e,!1)},e}(r.ZP);V.prototype.type="polyline";let G=V;var U=n(40361),X=n(16504),Y=n(97566),q=[],K=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.cpx1=0,this.cpy1=0,this.percent=1};function j(t,e,n){var i=t.cpx2,r=t.cpy2;return null!=i||null!=r?[(n?Y.X_:Y.af)(t.x1,t.cpx1,t.cpx2,t.x2,e),(n?Y.X_:Y.af)(t.y1,t.cpy1,t.cpy2,t.y2,e)]:[(n?Y.AZ:Y.Zm)(t.x1,t.cpx1,t.x2,e),(n?Y.AZ:Y.Zm)(t.y1,t.cpy1,t.y2,e)]}var J=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new K},e.prototype.buildPath=function(t,e){var n=e.x1,i=e.y1,r=e.x2,o=e.y2,a=e.cpx1,s=e.cpy1,l=e.cpx2,u=e.cpy2,h=e.percent;0!==h&&(t.moveTo(n,i),null==l||null==u?(h<1&&((0,Y.Lx)(n,a,r,h,q),a=q[1],r=q[2],(0,Y.Lx)(i,s,o,h,q),s=q[1],o=q[2]),t.quadraticCurveTo(a,s,r,o)):(h<1&&((0,Y.Vz)(n,a,l,r,h,q),a=q[1],l=q[2],r=q[3],(0,Y.Vz)(i,s,u,o,h,q),s=q[1],u=q[2],o=q[3]),t.bezierCurveTo(a,s,l,u,r,o)))},e.prototype.pointAt=function(t){return j(this.shape,t,!1)},e.prototype.tangentAt=function(t){var e=j(this.shape,t,!0);return a.Fv(e,e)},e}(r.ZP);J.prototype.type="bezier-curve";let Q=J;var $=n(52902);let tt=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.type="compound",e}return(0,i.ZT)(e,t),e.prototype._updatePathDirty=function(){for(var t=this.shape.paths,e=this.shapeChanged(),n=0;n<t.length;n++)e=e||t[n].shapeChanged();e&&this.dirtyShape()},e.prototype.beforeBrush=function(){this._updatePathDirty();for(var t=this.shape.paths||[],e=this.getGlobalScale(),n=0;n<t.length;n++)t[n].path||t[n].createPathProxy(),t[n].path.setScale(e[0],e[1],t[n].segmentIgnoreThreshold)},e.prototype.buildPath=function(t,e){for(var n=e.paths||[],i=0;i<n.length;i++)n[i].buildPath(t,n[i].shape,!0)},e.prototype.afterBrush=function(){for(var t=this.shape.paths||[],e=0;e<t.length;e++)t[e].pathUpdated()},e.prototype.getBoundingRect=function(){return this._updatePathDirty.call(this),r.ZP.prototype.getBoundingRect.call(this)},e}(r.ZP);var te=n(71756);let tn=function(t){function e(e,n,i,r,o){var a=t.call(this,r)||this;return a.x=null==e?.5:e,a.y=null==n?.5:n,a.r=null==i?.5:i,a.type="radial",a.global=o||!1,a}return(0,i.ZT)(e,t),e}(n(75872).Z);var ti=n(44964),tr=n(70431),to=n(12430),ta=n(90635),ts=[];let tl=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.notClear=!0,e.incremental=!0,e._displayables=[],e._temporaryDisplayables=[],e._cursor=0,e}return(0,i.ZT)(e,t),e.prototype.traverse=function(t,e){t.call(e,this)},e.prototype.useStyle=function(){this.style={}},e.prototype.getCursor=function(){return this._cursor},e.prototype.innerAfterBrush=function(){this._cursor=this._displayables.length},e.prototype.clearDisplaybles=function(){this._displayables=[],this._temporaryDisplayables=[],this._cursor=0,this.markRedraw(),this.notClear=!1},e.prototype.clearTemporalDisplayables=function(){this._temporaryDisplayables=[]},e.prototype.addDisplayable=function(t,e){e?this._temporaryDisplayables.push(t):this._displayables.push(t),this.markRedraw()},e.prototype.addDisplayables=function(t,e){e=e||!1;for(var n=0;n<t.length;n++)this.addDisplayable(t[n],e)},e.prototype.getDisplayables=function(){return this._displayables},e.prototype.getTemporalDisplayables=function(){return this._temporaryDisplayables},e.prototype.eachPendingDisplayable=function(t){for(var e=this._cursor;e<this._displayables.length;e++)t&&t(this._displayables[e]);for(var e=0;e<this._temporaryDisplayables.length;e++)t&&t(this._temporaryDisplayables[e])},e.prototype.update=function(){this.updateTransform();for(var t=this._cursor;t<this._displayables.length;t++){var e=this._displayables[t];e.parent=this,e.update(),e.parent=null}for(var t=0;t<this._temporaryDisplayables.length;t++){var e=this._temporaryDisplayables[t];e.parent=this,e.update(),e.parent=null}},e.prototype.getBoundingRect=function(){if(!this._rect){for(var t=new ti.Z(1/0,1/0,-1/0,-1/0),e=0;e<this._displayables.length;e++){var n=this._displayables[e],i=n.getBoundingRect().clone();n.needLocalTransform()&&i.applyTransform(n.getLocalTransform(ts)),t.union(i)}this._rect=t}return this._rect},e.prototype.contain=function(t,e){var n=this.transformCoordToLocal(t,e);if(this.getBoundingRect().contain(n[0],n[1])){for(var i=0;i<this._displayables.length;i++)if(this._displayables[i].contain(t,e))return!0}return!1},e}(ta.ZP);var tu=n(37763),th=n(55413),tc=n(17524),tp=Math.max,td=Math.min,tf={};function tg(t){return r.ZP.extend(t)}var ty=function(t,e){var n=M(t,e),r=w;function o(t){var e=r.call(this,t)||this;return e.applyTransform=n.applyTransform,e.buildPath=n.buildPath,e}return(0,i.ZT)(o,r),o};function tv(t,e){return ty(t,e)}function tm(t,e){tf[t]=e}function t_(t){if(tf.hasOwnProperty(t))return tf[t]}function tx(t,e,n,i){var r=new w(M(t,e));return n&&("center"===i&&(n=tw(n,r.getBoundingRect())),tM(r,n)),r}function tS(t,e,n){var i=new I.ZP({style:{image:t,x:e.x,y:e.y,width:e.width,height:e.height},onload:function(t){if("center"===n){var r={width:t.width,height:t.height};i.setStyle(tw(e,r))}}});return i}function tw(t,e){var n,i=e.width/e.height,r=t.height*i;return n=r<=t.width?t.height:(r=t.width)/i,{x:t.x+t.width/2-r/2,y:t.y+t.height/2-n/2,width:r,height:n}}var tb=function(t,e){for(var n=[],i=t.length,o=0;o<i;o++){var a=t[o];n.push(a.getUpdatedPathProxy(!0))}var s=new r.ZP(e);return s.createPathProxy(),s.buildPath=function(t){if(b(t)){t.appendPath(n);var e=t.getContext();e&&t.rebuildPath(e,1)}},s};function tM(t,e){if(t.applyTransform){var n=t.getBoundingRect().calculateTransform(e);t.applyTransform(n)}}function tT(t,e){return tu._3(t,t,{lineWidth:e}),t}function tk(t){return tu.Pw(t.shape,t.shape,t.style),t}var tI=tu.vu;function tD(t,e){for(var n=T.yR([]);t&&t!==e;)T.dC(n,t.getLocalTransform(),n),t=t.parent;return n}function tC(t,e,n){return e&&!(0,c.zG)(e)&&(e=k.ZP.getLocalTransform(e)),n&&(e=T.U_([],e)),a.Ne([],t,e)}function tA(t,e,n){var i=0===e[4]||0===e[5]||0===e[0]?1:Math.abs(2*e[4]/e[0]),r=0===e[4]||0===e[5]||0===e[2]?1:Math.abs(2*e[4]/e[2]),o=["left"===t?-i:"right"===t?i:0,"top"===t?-r:"bottom"===t?r:0];return Math.abs((o=tC(o,e,n))[0])>Math.abs(o[1])?o[0]>0?"right":"left":o[1]>0?"bottom":"top"}function tP(t,e,n){if(t&&e){var i,r=(i={},t.traverse(function(t){!t.isGroup&&t.anid&&(i[t.anid]=t)}),i);e.traverse(function(t){if(!t.isGroup&&t.anid){var e=r[t.anid];if(e){var i=o(t);t.attr(o(e)),(0,tc.D)(t,i,n,(0,th.A)(t).dataIndex)}}})}function o(t){var e={x:t.x,y:t.y,rotation:t.rotation};return null!=t.shape&&(e.shape=(0,c.l7)({},t.shape)),e}}function tL(t,e){return(0,c.UI)(t,function(t){var n=t[0];n=td(n=tp(n,e.x),e.x+e.width);var i=t[1];return[n,i=td(i=tp(i,e.y),e.y+e.height)]})}function tO(t,e){var n=tp(t.x,e.x),i=td(t.x+t.width,e.x+e.width),r=tp(t.y,e.y),o=td(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 tR(t,e,n){var i=(0,c.l7)({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),(0,c.ce)(r,n),new I.ZP(i)):tx(t.replace("path://",""),i,n,"center")}function tZ(t,e,n,i,r){for(var o=0,a=r[r.length-1];o<r.length;o++){var s=r[o];if(tN(t,e,n,i,s[0],s[1],a[0],a[1]))return!0;a=s}}function tN(t,e,n,i,r,o,a,s){var l,u=n-t,h=i-e,c=a-r,p=s-o,d=c*h-u*p;if((l=d)<=1e-6&&l>=-1e-6)return!1;var f=t-r,g=e-o,y=(f*h-u*g)/d;if(y<0||y>1)return!1;var v=(f*p-c*g)/d;return!(v<0)&&!(v>1)}function tz(t){var e=t.itemTooltipOption,n=t.componentModel,i=t.itemName,r=(0,c.HD)(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&&(0,c.S6)((0,c.XP)(l),function(t){(0,c.RI)(s,t)||(s[t]=l[t],s.$vars.push(t))});var u=(0,th.A)(t.el);u.componentMainType=o,u.componentIndex=a,u.tooltipConfig={name:i,option:(0,c.ce)({content:i,encodeHTMLContent:!0,formatterParams:s},r)}}function tE(t,e){var n;t.isGroup&&(n=e(t)),n||t.traverse(e)}function tB(t,e){if(t)if((0,c.kJ)(t))for(var n=0;n<t.length;n++)tE(t[n],e);else tE(t,e)}tf.circle=A.Z,tf.ellipse=O,tf.sector=R.C,tf.ring=z,tf.polygon=H,tf.polyline=G,tf.rect=U.Z,tf.line=X.Z,tf.bezierCurve=Q,tf.arc=$.Z},55413:function(t,e,n){n.d(e,{A:()=>i,Q:()=>r});var i=(0,n(46451).Yf)(),r=function(t,e,n,r){if(r){var o=i(r);o.dataIndex=n,o.dataType=e,o.seriesIndex=t,o.ssrType="chart","group"===r.type&&r.traverse(function(r){var o=i(r);o.seriesIndex=t,o.dataIndex=n,o.dataType=e,o.ssrType="chart"})}}},37624:function(t,e,n){n.d(e,{BZ:()=>c,ME:()=>p,YD:()=>d,dt:()=>f,tE:()=>g});var i=n(96585),r=n(44964),o=n(81731),a=n(43718),s=i.S6,l=["left","right","top","bottom","width","height"],u=[["width","left","right"],["height","top","bottom"]];function h(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 c=h;function p(t,e,n){n=a.MY(n||0);var i=e.width,s=e.height,l=(0,o.GM)(t.left,i),u=(0,o.GM)(t.top,s),h=(0,o.GM)(t.right,i),c=(0,o.GM)(t.bottom,s),p=(0,o.GM)(t.width,i),d=(0,o.GM)(t.height,s),f=n[2]+n[0],g=n[1]+n[3],y=t.aspect;switch(isNaN(p)&&(p=i-h-g-l),isNaN(d)&&(d=s-c-f-u),null!=y&&(isNaN(p)&&isNaN(d)&&(y>i/s?p=.8*i:d=.8*s),isNaN(p)&&(p=y*d),isNaN(d)&&(d=p/y)),isNaN(l)&&(l=i-h-p-g),isNaN(u)&&(u=s-c-d-f),t.left||t.right){case"center":l=i/2-p/2-n[3];break;case"right":l=i-p-g}switch(t.top||t.bottom){case"middle":case"center":u=s/2-d/2-n[0];break;case"bottom":u=s-d-f}l=l||0,u=u||0,isNaN(p)&&(p=i-g-l-(h||0)),isNaN(d)&&(d=s-f-u-(c||0));var v=new r.Z(l+n[3],u+n[0],p,d);return v.margin=n,v}function d(t){var e=t.layoutMode||t.constructor.layoutMode;return i.Kn(e)?e:e?{type:e}:null}function f(t,e,n){var r=n&&n.ignoreSize;i.kJ(r)||(r=[r,r]);var o=l(u[0],0),a=l(u[1],1);function l(n,i){var o={},a=0,l={},u=0;if(s(n,function(e){l[e]=t[e]}),s(n,function(t){h(e,t)&&(o[t]=l[t]=e[t]),c(o,t)&&a++,c(l,t)&&u++}),r[i])return c(e,n[1])?l[n[2]]=null:c(e,n[2])&&(l[n[1]]=null),l;if(2===u||!a)return l;if(a>=2)return o;for(var p=0;p<n.length;p++){var d=n[p];if(!h(o,d)&&h(t,d)){o[d]=t[d];break}}return o}function h(t,e){return t.hasOwnProperty(e)}function c(t,e){return null!=t[e]&&"auto"!==t[e]}function p(t,e,n){s(t,function(t){e[t]=n[t]})}p(u[0],t,o),p(u[1],t,a)}function g(t){var e,n;return e={},(n=t)&&e&&s(l,function(t){n.hasOwnProperty(t)&&(e[t]=n[t])}),e}i.WA(h,"vertical"),i.WA(h,"horizontal")},99833:function(t,e,n){function i(t){}function r(t){throw Error(t)}n.d(e,{Sh:()=>i,_y:()=>r})},46451:function(t,e,n){n.d(e,{C4:()=>h,C6:()=>M,Cc:()=>l,Co:()=>c,HZ:()=>T,IL:()=>I,O0:()=>m,P$:()=>k,Td:()=>u,U5:()=>g,U9:()=>D,Yf:()=>x,ab:()=>p,gO:()=>_,kF:()=>s,lY:()=>v,pk:()=>C,pm:()=>w,yu:()=>y,zH:()=>b});var i=n(96585),r=n(76226),o=n(81731),a="series\0";function s(t){return t instanceof Array?t:null==t?[]:[t]}function l(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<r;i++){var o=n[i];!t.emphasis[e].hasOwnProperty(o)&&t[e].hasOwnProperty(o)&&(t.emphasis[e][o]=t[e][o])}}}var u=["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"];function h(t){return!(0,i.Kn)(t)||(0,i.kJ)(t)||t instanceof Date?t:t.value}function c(t){return(0,i.Kn)(t)&&!(t instanceof Array)}function p(t,e,n){var r,o,s,l,u,h,c,p,g,y,m,_,x,S="normalMerge"===n,w="replaceMerge"===n,b="replaceAll"===n;t=t||[],e=(e||[]).slice();var M=(0,i.kW)();(0,i.S6)(e,function(t,n){if(!(0,i.Kn)(t)){e[n]=null;return}});var T=function(t,e,n){var i=[];if("replaceAll"===n)return i;for(var r=0;r<t.length;r++){var o=t[r];o&&null!=o.id&&e.set(o.id,r),i.push({existing:"replaceMerge"===n||v(o)?null:o,newOption:null,keyInfo:null,brandNew:null})}return i}(t,M,n);return(S||w)&&(r=T,o=t,s=M,l=e,(0,i.S6)(l,function(t,e){if(t&&null!=t.id){var n=f(t.id),a=s.get(n);if(null!=a){var u=r[a];(0,i.hu)(!u.newOption,'Duplicated option on id "'+n+'".'),u.newOption=t,u.existing=o[a],l[e]=null}}})),S&&(u=T,h=e,(0,i.S6)(h,function(t,e){if(t&&null!=t.name)for(var n=0;n<u.length;n++){var i=u[n].existing;if(!u[n].newOption&&i&&(null==i.id||null==t.id)&&!v(t)&&!v(i)&&d("name",i,t)){u[n].newOption=t,h[e]=null;return}}})),S||w?(c=T,p=e,g=w,(0,i.S6)(p,function(t){if(t){for(var e,n=0;(e=c[n])&&(e.newOption||v(e.existing)||e.existing&&null!=t.id&&!d("id",t,e.existing));)n++;e?(e.newOption=t,e.brandNew=g):c.push({newOption:t,brandNew:g,existing:null,keyInfo:null}),n++}})):b&&(y=T,m=e,(0,i.S6)(m,function(t){y.push({newOption:t,brandNew:!0,existing:null,keyInfo:null})})),_=T,x=(0,i.kW)(),(0,i.S6)(_,function(t){var e=t.existing;e&&x.set(e.id,t)}),(0,i.S6)(_,function(t){var e=t.newOption;(0,i.hu)(!e||null==e.id||!x.get(e.id)||x.get(e.id)===t,"id duplicates: "+(e&&e.id)),e&&null!=e.id&&x.set(e.id,t),t.keyInfo||(t.keyInfo={})}),(0,i.S6)(_,function(t,e){var n=t.existing,r=t.newOption,o=t.keyInfo;if((0,i.Kn)(r)){if(o.name=null!=r.name?f(r.name):n?n.name:a+e,n)o.id=f(n.id);else if(null!=r.id)o.id=f(r.id);else{var s=0;do o.id="\0"+o.name+"\0"+s++;while(x.get(o.id))}x.set(o.id,t)}}),T}function d(t,e,n){var i=g(e[t],null),r=g(n[t],null);return null!=i&&null!=r&&i===r}function f(t){return g(t,"")}function g(t,e){return null==t?e:(0,i.HD)(t)?t:(0,i.hj)(t)||(0,i.cd)(t)?t+"":e}function y(t){var e=t.name;return!!(e&&e.indexOf(a))}function v(t){return t&&null!=t.id&&0===f(t.id).indexOf("\0_ec_\0")}function m(t,e,n){(0,i.S6)(t,function(t){var r,o,a,s,l=t.newOption;(0,i.Kn)(l)&&(t.keyInfo.mainType=e,t.keyInfo.subType=(r=e,o=l,a=t.existing,s=n,o.type?o.type:a?a.subType:s.determineSubType(r,o)))})}function _(t,e){return null!=e.dataIndexInside?e.dataIndexInside:null!=e.dataIndex?(0,i.kJ)(e.dataIndex)?(0,i.UI)(e.dataIndex,function(e){return t.indexOfRawIndex(e)}):t.indexOfRawIndex(e.dataIndex):null!=e.name?(0,i.kJ)(e.name)?(0,i.UI)(e.name,function(e){return t.indexOfName(e)}):t.indexOfName(e.name):void 0}function x(){var t="__ec_inner_"+S++;return function(e){return e[t]||(e[t]={})}}var S=(0,o.jj)();function w(t,e,n){var i=b(e,n),r=i.mainTypeSpecified,o=i.queryOptionMap,a=i.others,s=n?n.defaultMainType:null;return!r&&s&&o.set(s,{}),o.each(function(e,i){var r=T(t,i,e,{useDefault:s===i,enableAll:!n||null==n.enableAll||n.enableAll,enableNone:!n||null==n.enableNone||n.enableNone});a[i+"Models"]=r.models,a[i+"Model"]=r.models[0]}),a}function b(t,e){if((0,i.HD)(t)){var n,r={};r[t+"Index"]=0,n=r}else n=t;var o=(0,i.kW)(),a={},s=!1;return(0,i.S6)(n,function(t,n){if("dataIndex"===n||"dataIndexInside"===n){a[n]=t;return}var r=n.match(/^(\w+)(Index|Id|Name)$/)||[],l=r[1],u=(r[2]||"").toLowerCase();!l||!u||e&&e.includeMainTypes&&0>(0,i.cq)(e.includeMainTypes,l)||(s=s||!!l,(o.get(l)||o.set(l,{}))[u]=t)}),{mainTypeSpecified:s,queryOptionMap:o,others:a}}var M={useDefault:!0,enableAll:!1,enableNone:!1};function T(t,e,n,r){r=r||M;var o=n.index,a=n.id,s=n.name,l={models:null,specified:null!=o||null!=a||null!=s};if(!l.specified){var u=void 0;return l.models=r.useDefault&&(u=t.getComponent(e))?[u]:[],l}return"none"===o||!1===o?((0,i.hu)(r.enableNone,'`"none"` or `false` is not a valid value on index option.'),l.models=[]):("all"===o&&((0,i.hu)(r.enableAll,'`"all"` is not a valid value on index option.'),o=a=s=null),l.models=t.queryComponents({mainType:e,index:o,id:a,name:s})),l}function k(t,e,n){t.setAttribute?t.setAttribute(e,n):t[e]=n}function I(t,e){return t.getAttribute?t.getAttribute(e):t[e]}function D(t){return"auto"===t?r.Z.domSupported?"html":"richText":t||"html"}function C(t,e,n,r,a){var s=null==e||"auto"===e;if(null==r)return r;if((0,i.hj)(r)){var l,u=(r-(l=n||0))*a+l;return(0,o.NM)(u,s?Math.max((0,o.p8)(n||0),(0,o.p8)(r)):e)}if((0,i.HD)(r))return a<1?n:r;for(var h=[],c=Math.max(n?n.length:0,r.length),p=0;p<c;++p){var d=t.getDimensionInfo(p);if(d&&"ordinal"===d.type)h[p]=(a<1&&n?n:r)[p];else{var f=n&&n[p]?n[p]:0,g=r[p],u=(g-f)*a+f;h[p]=(0,o.NM)(u,s?Math.max((0,o.p8)(f),(0,o.p8)(g)):e)}}return h}},81731:function(t,e,n){n.d(e,{FK:()=>v,GM:()=>o,M9:()=>l,NM:()=>a,NU:()=>r,S$:()=>u,Xd:()=>f,jj:()=>_,kE:()=>m,kx:()=>y,mW:()=>c,nl:()=>x,p8:()=>s,sG:()=>d,wW:()=>h,xW:()=>g});var i=n(96585);function r(t,e,n,i){var r=e[0],o=e[1],a=n[0],s=n[1],l=o-r,u=s-a;if(0===l)return 0===u?a:(a+s)/2;if(i){if(l>0){if(t<=r)return a;else if(t>=o)return s}else if(t>=r)return a;else if(t<=o)return s}else{if(t===r)return a;if(t===o)return s}return(t-r)/l*u+a}function o(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 i.HD(t)?t.replace(/^\s+|\s+$/g,"").match(/%$/)?parseFloat(t)/100*e:parseFloat(t):null==t?NaN:+t}function a(t,e,n){return null==e&&(e=10),e=Math.min(Math.max(0,e),20),t=(+t).toFixed(e),n?t:+t}function s(t){if(isNaN(t*=1))return 0;if(t>1e-14){for(var e,n,i,r,o,a=1,s=0;s<15;s++,a*=10)if(Math.round(t*a)/a===t)return s}return i=(n=(e=t.toString().toLowerCase()).indexOf("e"))>0?+e.slice(n+1):0,r=n>0?n:e.length,Math.max(0,((o=e.indexOf("."))<0?0:r-1-o)-i)}function l(t,e){var n=Math.log,i=Math.LN10,r=Math.min(Math.max(-Math.floor(n(t[1]-t[0])/i)+Math.round(n(Math.abs(e[1]-e[0]))/i),0),20);return isFinite(r)?r:20}function u(t,e){var n=Math.max(s(t),s(e)),i=t+e;return n>20?i:a(i,n)}function h(t){var e=2*Math.PI;return(t%e+e)%e}function c(t){return t>-1e-4&&t<1e-4}var p=/^(?:(\d{4})(?:[-\/](\d{1,2})(?:[-\/](\d{1,2})(?:[T ](\d{1,2})(?::(\d{1,2})(?::(\d{1,2})(?:[.,](\d+))?)?)?(Z|[\+\-]\d\d:?\d\d)?)?)?)?)?$/;function d(t){if(t instanceof Date)return t;if(i.HD(t)){var e=p.exec(t);if(!e)return new Date(NaN);if(!e[8])return new Date(+e[1],(e[2]||1)-1,+e[3]||1,+e[4]||0,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0);var n=+e[4]||0;return"Z"!==e[8].toUpperCase()&&(n-=e[8].slice(0,3)),new Date(Date.UTC(+e[1],(e[2]||1)-1,+e[3]||1,n,+(e[5]||0),+e[6]||0,e[7]?+e[7].substring(0,3):0))}return null==t?new Date(NaN):new Date(Math.round(t))}function f(t){return Math.pow(10,g(t))}function g(t){if(0===t)return 0;var e=Math.floor(Math.log(t)/Math.LN10);return t/Math.pow(10,e)>=10&&e++,e}function y(t,e){var n,i=g(t),r=Math.pow(10,i),o=t/r;return t=(e?o<1.5?1:o<2.5?2:o<4?3:o<7?5:10:o<1?1:o<2?2:o<3?3:o<5?5:10)*r,i>=-20?+t.toFixed(i<0?-i:0):t}function v(t){var e=parseFloat(t);return e==t&&(0!==e||!i.HD(t)||0>=t.indexOf("x"))?e:NaN}function m(t){return!isNaN(v(t))}function _(){return Math.round(9*Math.random())}function x(t,e){return null==t?e:null==e?t:t*e/function t(e,n){return 0===n?e:t(n,e%n)}(t,e)}},63344:function(t,e,n){n.d(e,{$l:()=>Y,Av:()=>tr,C5:()=>J,CX:()=>p,Gl:()=>A,Hg:()=>m,JQ:()=>_,Ki:()=>y,L1:()=>f,Mh:()=>N,RW:()=>to,SJ:()=>F,SX:()=>z,T5:()=>W,UL:()=>U,VP:()=>E,WO:()=>tn,XX:()=>B,aG:()=>ta,ci:()=>j,e9:()=>tl,fD:()=>Z,iK:()=>x,k5:()=>$,oJ:()=>X,og:()=>K,qc:()=>g,vF:()=>Q,wU:()=>d,xp:()=>ts,xr:()=>q,yx:()=>v,zI:()=>G});var i=n(96585),r=n(55413),o=n(67375),a=n(46451),s=n(50654),l=1,u={},h=(0,a.Yf)(),c=(0,a.Yf)(),p=1,d=2,f=["emphasis","blur","select"],g=["normal","emphasis","blur","select"],y="highlight",v="downplay",m="select",_="unselect",x="toggleSelect";function S(t){return null!=t&&"none"!==t}function w(t,e,n){t.onHoverStateChange&&(t.hoverState||0)!==n&&t.onHoverStateChange(e),t.hoverState=n}function b(t){w(t,"emphasis",d)}function M(t){t.hoverState===d&&w(t,"normal",0)}function T(t){w(t,"blur",p)}function k(t){t.hoverState===p&&w(t,"normal",0)}function I(t){t.selected=!0}function D(t){t.selected=!1}function C(t,e,n){e(t,n),t.isGroup&&t.traverse(function(t){e(t,n)})}function A(t,e){switch(e){case"emphasis":t.hoverState=d;break;case"normal":t.hoverState=0;break;case"blur":t.hoverState=p;break;case"select":t.selected=!0}}function P(t,e){var n,r,a,l,u,c=this.states[t];if(this.style){if("emphasis"===t)return function(t,e,n,r){var a=n&&(0,i.cq)(n,"select")>=0,l=!1;if(t instanceof s.ZP){var u=h(t),c=a&&u.selectFill||u.normalFill,p=a&&u.selectStroke||u.normalStroke;if(S(c)||S(p)){var d=(r=r||{}).style||{};"inherit"===d.fill?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=c):!S(d.fill)&&S(c)?(l=!0,r=(0,i.l7)({},r),(d=(0,i.l7)({},d)).fill=(0,o.fD)(c)):!S(d.stroke)&&S(p)&&(l||(r=(0,i.l7)({},r),d=(0,i.l7)({},d)),d.stroke=(0,o.fD)(p)),r.style=d}}if(r&&null==r.z2){l||(r=(0,i.l7)({},r));var f=t.z2EmphasisLift;r.z2=t.z2+(null!=f?f:10)}return r}(this,0,e,c);else if("blur"===t)return n=c,r=(0,i.cq)(this.currentStates,t)>=0,a=this.style.opacity,l=r?null:function(t,e,n,i){for(var r=t.style,o={},a=0;a<e.length;a++){var s=e[a],l=r[s];o[s]=null==l?i&&i[s]:l}for(var a=0;a<t.animators.length;a++){var u=t.animators[a];u.__fromStateTransition&&0>u.__fromStateTransition.indexOf(n)&&"style"===u.targetName&&u.saveTo(o,e)}return o}(this,["opacity"],t,{opacity:1}),null==(u=(n=n||{}).style||{}).opacity&&(n=(0,i.l7)({},n),u=(0,i.l7)({opacity:r?a:.1*l.opacity},u),n.style=u),n;else if("select"===t){var p=c;if(p&&null==p.z2){p=(0,i.l7)({},p);var d=this.z2SelectLift;p.z2=this.z2+(null!=d?d:9)}return p}}return c}function L(t){t.stateProxy=P;var e=t.getTextContent(),n=t.getTextGuideLine();e&&(e.stateProxy=P),n&&(n.stateProxy=P)}function O(t,e){H(t,e)||t.__highByOuter||C(t,b)}function R(t,e){H(t,e)||t.__highByOuter||C(t,M)}function Z(t,e){t.__highByOuter|=1<<(e||0),C(t,b)}function N(t,e){(t.__highByOuter&=~(1<<(e||0)))||C(t,M)}function z(t){C(t,T)}function E(t){C(t,k)}function B(t){C(t,I)}function F(t){C(t,D)}function H(t,e){return t.__highDownSilentOnTouch&&e.zrByTouch}function W(t){var e=t.getModel(),n=[],r=[];e.eachComponent(function(e,i){var o=c(i),a="series"===e,s=a?t.getViewOfSeriesModel(i):t.getViewOfComponentModel(i);a||r.push(s),o.isBlured&&(s.group.traverse(function(t){k(t)}),a&&n.push(i)),o.isBlured=!1}),(0,i.S6)(r,function(t){t&&t.toggleBlurSeries&&t.toggleBlurSeries(n,!1,e)})}function V(t,e,n,r){var o=r.getModel();function a(t,e){for(var n=0;n<e.length;n++){var i=t.getItemGraphicEl(e[n]);i&&E(i)}}if((n=n||"coordinateSystem",null!=t)&&e&&"none"!==e){var s=o.getSeriesByIndex(t),l=s.coordinateSystem;l&&l.master&&(l=l.master);var u=[];o.eachSeries(function(t){var o=s===t,h=t.coordinateSystem;h&&h.master&&(h=h.master);var p=h&&l?h===l:o;if(!("series"===n&&!o||"coordinateSystem"===n&&!p||"series"===e&&o)){if(r.getViewOfSeriesModel(t).group.traverse(function(t){t.__highByOuter&&o&&"self"===e||T(t)}),(0,i.zG)(e))a(t.getData(),e);else if((0,i.Kn)(e))for(var d=(0,i.XP)(e),f=0;f<d.length;f++)a(t.getData(d[f]),e[d[f]]);u.push(t),c(t).isBlured=!0}}),o.eachComponent(function(t,e){if("series"!==t){var n=r.getViewOfComponentModel(e);n&&n.toggleBlurSeries&&n.toggleBlurSeries(u,!0,o)}})}}function G(t,e,n){if(null!=t&&null!=e){var i=n.getModel().getComponent(t,e);if(i){c(i).isBlured=!0;var r=n.getViewOfComponentModel(i);r&&r.focusBlurEnabled&&r.group.traverse(function(t){T(t)})}}}function U(t,e,n){var o=t.seriesIndex,s=t.getData(e.dataType);if(s){var l=(0,a.gO)(s,e);l=((0,i.kJ)(l)?l[0]:l)||0;var u=s.getItemGraphicEl(l);if(!u)for(var h=s.count(),c=0;!u&&c<h;)u=s.getItemGraphicEl(c++);if(u){var p=(0,r.A)(u);V(o,p.focus,p.blurScope,n)}else{var d=t.get(["emphasis","focus"]),f=t.get(["emphasis","blurScope"]);null!=d&&V(o,d,f,n)}}}function X(t,e,n,i){var o,a={focusSelf:!1,dispatchers:null};if(null==t||"series"===t||null==e||null==n)return a;var s=i.getModel().getComponent(t,e);if(!s)return a;var l=i.getViewOfComponentModel(s);if(!l||!l.findHighDownDispatchers)return a;for(var u=l.findHighDownDispatchers(n),h=0;h<u.length;h++)if("self"===(0,r.A)(u[h]).focus){o=!0;break}return{focusSelf:o,dispatchers:u}}function Y(t,e,n){var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n),s=a.dispatchers,l=a.focusSelf;s?(l&&G(o.componentMainType,o.componentIndex,n),(0,i.S6)(s,function(t){return O(t,e)})):(V(o.seriesIndex,o.focus,o.blurScope,n),"self"===o.focus&&G(o.componentMainType,o.componentIndex,n),O(t,e))}function q(t,e,n){W(n);var o=(0,r.A)(t),a=X(o.componentMainType,o.componentIndex,o.componentHighDownName,n).dispatchers;a?(0,i.S6)(a,function(t){return R(t,e)}):R(t,e)}function K(t,e,n){if(ta(e)){var r=e.dataType,o=t.getData(r),s=(0,a.gO)(o,e);(0,i.kJ)(s)||(s=[s]),t[e.type===x?"toggleSelect":e.type===m?"select":"unselect"](s,r)}}function j(t){var e=t.getAllData();(0,i.S6)(e,function(e){var n=e.data,i=e.type;n.eachItemGraphicEl(function(e,n){t.isSelected(n,i)?B(e):F(e)})})}function J(t){var e=[];return t.eachSeries(function(t){var n=t.getAllData();(0,i.S6)(n,function(n){n.data;var i=n.type,r=t.getSelectedDataIndices();if(r.length>0){var o={dataIndex:r,seriesIndex:t.seriesIndex};null!=i&&(o.dataType=i),e.push(o)}})}),e}function Q(t,e,n){var i,o,a,s;ti(t,!0),C(t,L),i=t,o=e,a=n,s=(0,r.A)(i),null!=o?(s.focus=o,s.blurScope=a):s.focus&&(s.focus=null)}function $(t,e,n,i){i?ti(t,!1):Q(t,e,n)}var tt=["emphasis","blur","select"],te={itemStyle:"getItemStyle",lineStyle:"getLineStyle",areaStyle:"getAreaStyle"};function tn(t,e,n,i){n=n||"itemStyle";for(var r=0;r<tt.length;r++){var o=tt[r],a=e.getModel([o,n]);t.ensureState(o).style=i?i(a):a[te[n]]()}}function ti(t,e){var n=!1===e;t.highDownSilentOnTouch&&(t.__highDownSilentOnTouch=t.highDownSilentOnTouch),(!n||t.__highDownDispatcher)&&(t.__highByOuter=t.__highByOuter||0,t.__highDownDispatcher=!n)}function tr(t){return!!(t&&t.__highDownDispatcher)}function to(t){var e=u[t];return null==e&&l<=32&&(e=u[t]=l++),e}function ta(t){var e=t.type;return e===m||e===_||e===x}function ts(t){var e=t.type;return e===y||e===v}function tl(t){var e=h(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}},44421:function(t,e,n){n.d(e,{Cq:()=>b,th:()=>S,zp:()=>w});var i=n(96585),r=n(50654),o=n(16504),a=n(40361),s=n(26768),l=n(19044),u=n(44964),h=n(45258),c=n(81731),p=r.ZP.extend({type:"triangle",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i+o),t.lineTo(n-r,i+o),t.closePath()}}),d=r.ZP.extend({type:"diamond",shape:{cx:0,cy:0,width:0,height:0},buildPath:function(t,e){var n=e.cx,i=e.cy,r=e.width/2,o=e.height/2;t.moveTo(n,i-o),t.lineTo(n+r,i),t.lineTo(n,i+o),t.lineTo(n-r,i),t.closePath()}}),f=r.ZP.extend({type:"pin",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.x,i=e.y,r=e.width/5*3,o=Math.max(r,e.height),a=r/2,s=a*a/(o-a),l=i-o+a+s,u=Math.asin(s/a),h=Math.cos(u)*a,c=Math.sin(u),p=Math.cos(u),d=.6*a,f=.7*a;t.moveTo(n-h,l+s),t.arc(n,l,a,Math.PI-u,2*Math.PI+u),t.bezierCurveTo(n+h-c*d,l+s+p*d,n,i-f,n,i),t.bezierCurveTo(n,i-f,n-h+c*d,l+s+p*d,n-h,l+s),t.closePath()}}),g=r.ZP.extend({type:"arrow",shape:{x:0,y:0,width:0,height:0},buildPath:function(t,e){var n=e.height,i=e.width,r=e.x,o=e.y,a=i/3*2;t.moveTo(r,o),t.lineTo(r+a,o+n),t.lineTo(r,o+n/4*3),t.lineTo(r-a,o+n),t.lineTo(r,o),t.closePath()}}),y={line:o.Z,rect:a.Z,roundRect:a.Z,square:a.Z,circle:s.Z,diamond:d,pin:f,arrow:g,triangle:p},v={line:function(t,e,n,i,r){r.x1=t,r.y1=e+i/2,r.x2=t+n,r.y2=e+i/2},rect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i},roundRect:function(t,e,n,i,r){r.x=t,r.y=e,r.width=n,r.height=i,r.r=Math.min(n,i)/4},square:function(t,e,n,i,r){var o=Math.min(n,i);r.x=t,r.y=e,r.width=o,r.height=o},circle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.r=Math.min(n,i)/2},diamond:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i},pin:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},arrow:function(t,e,n,i,r){r.x=t+n/2,r.y=e+i/2,r.width=n,r.height=i},triangle:function(t,e,n,i,r){r.cx=t+n/2,r.cy=e+i/2,r.width=n,r.height=i}},m={};(0,i.S6)(y,function(t,e){m[e]=new t});var _=r.ZP.extend({type:"symbol",shape:{symbolType:"",x:0,y:0,width:0,height:0},calculateTextPosition:function(t,e,n){var i=(0,h.wI)(t,e,n),r=this.shape;return r&&"pin"===r.symbolType&&"inside"===e.position&&(i.y=n.y+.4*n.height),i},buildPath:function(t,e,n){var i=e.symbolType;if("none"!==i){var r=m[i];r||(r=m[i="rect"]),v[i](e.x,e.y,e.width,e.height,r.shape),r.buildPath(t,r.shape,n)}}});function x(t,e){if("image"!==this.type){var n=this.style;this.__isEmptyBrush?(n.stroke=t,n.fill=e||"#fff",n.lineWidth=2):"line"===this.shape.symbolType?n.stroke=t:n.fill=t,this.markRedraw()}}function S(t,e,n,i,r,o,a){var s,h=0===t.indexOf("empty");return h&&(t=t.substr(5,1).toLowerCase()+t.substr(6)),(s=0===t.indexOf("image://")?l.makeImage(t.slice(8),new u.Z(e,n,i,r),a?"center":"cover"):0===t.indexOf("path://")?l.makePath(t.slice(7),{},new u.Z(e,n,i,r),a?"center":"cover"):new _({shape:{symbolType:t,x:e,y:n,width:i,height:r}})).__isEmptyBrush=h,s.setColor=x,o&&s.setColor(o),s}function w(t){return(0,i.kJ)(t)||(t=[+t,+t]),[t[0]||0,t[1]||0]}function b(t,e){if(null!=t)return(0,i.kJ)(t)||(t=[t,t]),[(0,c.GM)(t[0],e[0])||0,(0,c.GM)((0,i.pD)(t[1],t[0]),e[1])||0]}},59524:function(t,e,n){n.d(e,{P2:()=>a,T9:()=>s,ZH:()=>l});var i="\0__throttleOriginMethod",r="\0__throttleRate",o="\0__throttleType";function a(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<arguments.length;p++)t[p]=arguments[p];i=new Date().getTime(),o=this,a=t;var d=s||e,f=s||n;s=null,r=i-(f?l:u)-d,clearTimeout(h),f?h=setTimeout(c,d):r>=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 s(t,e,n,s){var l=t[e];if(l){var u=l[i]||l,h=l[o];if(l[r]!==n||h!==s){if(null==n||!s)return t[e]=u;(l=t[e]=a(u,n,"debounce"===s))[i]=u,l[o]=s,l[r]=n}return l}}function l(t,e){var n=t[e];n&&n[i]&&(n.clear&&n.clear(),t[e]=n[i])}},41070:function(t,e,n){n.d(e,{$K:()=>_,CW:()=>k,En:()=>Z,FW:()=>y,MV:()=>A,P5:()=>c,RZ:()=>P,Tj:()=>m,V8:()=>f,WT:()=>s,WU:()=>S,Wp:()=>D,cb:()=>E,dV:()=>u,eN:()=>N,f5:()=>R,fn:()=>C,k7:()=>w,q5:()=>M,rM:()=>z,s2:()=>h,sx:()=>T,vh:()=>O,xC:()=>x,xL:()=>L,xz:()=>I,yR:()=>l});var i=n(96585),r=n(81731),o=n(25990),a=n(84456),s=1e3,l=6e4,u=36e5,h=864e5,c=31536e6,p={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}"},d="{yyyy}-{MM}-{dd}",f={year:"{yyyy}",month:"{yyyy}-{MM}",day:d,hour:d+" "+p.hour,minute:d+" "+p.minute,second:d+" "+p.second,millisecond:p.none},g=["year","month","day","hour","minute","second","millisecond"],y=["year","half-year","quarter","month","week","half-week","day","half-day","quarter-day","hour","minute","second","millisecond"];function v(t,e){return t+="","0000".substr(0,e-t.length)+t}function m(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 _(t){return t===m(t)}function x(t){switch(t){case"year":case"month":return"day";case"millisecond":return"millisecond";default:return"second"}}function S(t,e,n,i){var s=r.sG(t),l=s[T(n)](),u=s[k(n)]()+1,h=Math.floor((u-1)/3)+1,c=s[I(n)](),p=s["get"+(n?"UTC":"")+"Day"](),d=s[D(n)](),f=(d-1)%12+1,g=s[C(n)](),y=s[A(n)](),m=s[P(n)](),_=d>=12?"pm":"am",x=_.toUpperCase(),S=(i instanceof a.Z?i:(0,o.G8)(i||o.sO)||(0,o.Li)()).getModel("time"),w=S.get("month"),b=S.get("monthAbbr"),M=S.get("dayOfWeek"),L=S.get("dayOfWeekAbbr");return(e||"").replace(/{a}/g,_+"").replace(/{A}/g,x+"").replace(/{yyyy}/g,l+"").replace(/{yy}/g,v(l%100+"",2)).replace(/{Q}/g,h+"").replace(/{MMMM}/g,w[u-1]).replace(/{MMM}/g,b[u-1]).replace(/{MM}/g,v(u,2)).replace(/{M}/g,u+"").replace(/{dd}/g,v(c,2)).replace(/{d}/g,c+"").replace(/{eeee}/g,M[p]).replace(/{ee}/g,L[p]).replace(/{e}/g,p+"").replace(/{HH}/g,v(d,2)).replace(/{H}/g,d+"").replace(/{hh}/g,v(f+"",2)).replace(/{h}/g,f+"").replace(/{mm}/g,v(g,2)).replace(/{m}/g,g+"").replace(/{ss}/g,v(y,2)).replace(/{s}/g,y+"").replace(/{SSS}/g,v(m,3)).replace(/{S}/g,m+"")}function w(t,e,n,r,o){var a=null;if(i.HD(n))a=n;else if(i.mf(n))a=n(t.value,e,{level:t.level});else{var s=i.l7({},p);if(t.level>0)for(var l=0;l<g.length;++l)s[g[l]]="{primary|"+s[g[l]]+"}";var u=n?!1===n.inherit?n:i.ce(n,s):s,h=b(t.value,o);if(u[h])a=u[h];else if(u.inherit){for(var c=y.indexOf(h),l=c-1;l>=0;--l)if(u[h]){a=u[h];break}a=a||s.none}if(i.kJ(a)){var d=null==t.level?0:t.level>=0?t.level:a.length+t.level;d=Math.min(d,a.length-1),a=a[d]}}return S(new Date(t.value),a,o,r)}function b(t,e){var n=r.sG(t),i=n[k(e)]()+1,o=n[I(e)](),a=n[D(e)](),s=n[C(e)](),l=n[A(e)](),u=0===n[P(e)](),h=u&&0===l,c=h&&0===s,p=c&&0===a,d=p&&1===o;if(d&&1===i)return"year";if(d)return"month";if(p)return"day";if(c)return"hour";if(h)return"minute";else if(u)return"second";else return"millisecond"}function M(t,e,n){var o=i.hj(t)?r.sG(t):t;switch(e=e||b(t,n)){case"year":return o[T(n)]();case"half-year":return+(o[k(n)]()>=6);case"quarter":return Math.floor((o[k(n)]()+1)/4);case"month":return o[k(n)]();case"day":return o[I(n)]();case"half-day":return o[D(n)]()/24;case"hour":return o[D(n)]();case"minute":return o[C(n)]();case"second":return o[A(n)]();case"millisecond":return o[P(n)]()}}function T(t){return t?"getUTCFullYear":"getFullYear"}function k(t){return t?"getUTCMonth":"getMonth"}function I(t){return t?"getUTCDate":"getDate"}function D(t){return t?"getUTCHours":"getHours"}function C(t){return t?"getUTCMinutes":"getMinutes"}function A(t){return t?"getUTCSeconds":"getSeconds"}function P(t){return t?"getUTCMilliseconds":"getMilliseconds"}function L(t){return t?"setUTCFullYear":"setFullYear"}function O(t){return t?"setUTCMonth":"setMonth"}function R(t){return t?"setUTCDate":"setDate"}function Z(t){return t?"setUTCHours":"setHours"}function N(t){return t?"setUTCMinutes":"setMinutes"}function z(t){return t?"setUTCSeconds":"setSeconds"}function E(t){return t?"setUTCMilliseconds":"setMilliseconds"}},15693:function(t,e,n){n.d(e,{J5:()=>l,RA:()=>u,Wc:()=>c,XD:()=>o,cy:()=>r,f7:()=>i,fY:()=>h,hL:()=>s,qb:()=>a});var i=(0,n(96585).kW)(["tooltip","label","itemName","itemId","itemGroupId","itemChildGroupId","seriesName"]),r="original",o="arrayRows",a="objectRows",s="keyedColumns",l="typedArray",u="unknown",h="column",c="row"},27129:function(t,e,n){n.d(e,{o:()=>a});var i=n(96585),r="undefined"!=typeof Float32Array,o=r?Float32Array:Array;function a(t){return(0,i.kJ)(t)?r?new Float32Array(t):t:new o(t)}},47389:function(t,e,n){n.d(e,{Z:()=>x});var i=n(96585),r=n(19171),o=n(95202),a=n(35350),s=n(46451),l=n(63344),u=n(72739),h=n(94431),c=n(19044),p=s.Yf(),d=(0,h.Z)(),f=function(){function t(){this.group=new r.Z,this.uid=o.Kr("viewChart"),this.renderTask=(0,u.v)({plan:v,reset:m}),this.renderTask.context={view:this}}return t.prototype.init=function(t,e){},t.prototype.render=function(t,e,n,i){},t.prototype.highlight=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(r,i,"emphasis")},t.prototype.downplay=function(t,e,n,i){var r=t.getData(i&&i.dataType);r&&y(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){(0,c.traverseElements)(this.group,t)},t.markUpdateMethod=function(t,e){p(t).updateMethod=e},t.protoInitialize=void(t.prototype.type="chart"),t}();function g(t,e,n){t&&(0,l.Av)(t)&&("emphasis"===e?l.fD:l.Mh)(t,n)}function y(t,e,n){var r=s.gO(t,e),o=e&&null!=e.highlightKey?(0,l.RW)(e.highlightKey):null;null!=r?(0,i.S6)(s.kF(r),function(e){g(t.getItemGraphicEl(e),n,o)}):t.eachItemGraphicEl(function(t){g(t,n,o)})}function v(t){return d(t.model)}function m(t){var e=t.model,n=t.ecModel,i=t.api,r=t.payload,o=e.pipelineContext.progressiveRender,a=t.view,s=r&&p(r).updateMethod,l=o?"incrementalPrepareRender":s&&a[s]?s:"render";return"render"!==l&&a[l](e,n,i,r),_[l]}a.dm(f,["dispose"]),a.au(f);var _={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)}}};let x=f},28440:function(t,e,n){n.d(e,{Z:()=>s});var i=n(19171),r=n(95202),o=n(35350),a=function(){function t(){this.group=new i.Z,this.uid=r.Kr("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}();o.dm(a),o.au(a);let s=a},4020:function(t,e,n){n.d(e,{m:()=>a});var i=n(58786),r=n(9798),o=n(39741);function a(){let t=(0,i.f3)(o.Y,null);return(0,i.Fl)(()=>{if(null===t)return r.Z;let{mergedThemeRef:{value:e},mergedThemeOverridesRef:{value:n}}=t,i=(null==e?void 0:e.common)||r.Z;return(null==n?void 0:n.common)?Object.assign({},i,n.common):i})}},77227:function(t,e,n){n.d(e,{Z:()=>a});var i=n(58786),r=n(93950),o=n(55836);let a=(0,i.aZ)({name:"RadioButton",props:o.xu,setup:o.cY,render(){let{mergedClsPrefix:t}=this;return(0,i.h)("label",{class:[`${t}-radio-button`,this.mergedDisabled&&`${t}-radio-button--disabled`,this.renderSafeChecked&&`${t}-radio-button--checked`,this.focus&&[`${t}-radio-button--focus`]]},(0,i.h)("input",{ref:"inputRef",type:"radio",class:`${t}-radio-input`,value:this.value,name:this.mergedName,checked:this.renderSafeChecked,disabled:this.mergedDisabled,onChange:this.handleRadioInputChange,onFocus:this.handleRadioInputFocus,onBlur:this.handleRadioInputBlur}),(0,i.h)("div",{class:`${t}-radio-button__state-border`}),(0,r.K9)(this.$slots.default,e=>e||this.label?(0,i.h)("div",{ref:"labelRef",class:`${t}-radio__label`},e||this.label):null))}})},75742:function(t,e,n){n.d(e,{Z:()=>x});var i=n(15365),r=n(49582),o=n(44964),a=n(46606),s=n(45258),l=n(96585),u=n(8473),h=n(67375),c=n(59177),p="__zr_normal__",d=i.dN.concat(["ignore"]),f=(0,l.u4)(i.dN,function(t,e){return t[e]=!0,t},{ignore:!1}),g={},y=new o.Z(0,0,0,0),v=function(){function t(t){this.id=(0,l.M8)(),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,l=!1;r.parent=i?this:null;var u=!1;if(r.copyTransform(e),null!=n.position){n.layoutRect?y.copy(n.layoutRect):y.copy(this.getBoundingRect()),i||y.applyTransform(this.transform),this.calculateTextPosition?this.calculateTextPosition(g,n,y):(0,s.wI)(g,n,y),r.x=g.x,r.y=g.y,o=g.align,a=g.verticalAlign;var h=n.origin;if(h&&null!=n.rotation){var p=void 0,d=void 0;"center"===h?(p=.5*y.width,d=.5*y.height):(p=(0,s.GM)(h[0],y.width),d=(0,s.GM)(h[1],y.height)),u=!0,r.originX=-r.x+p+(i?0:y.x),r.originY=-r.y+d+(i?0:y.y)}}null!=n.rotation&&(r.rotation=n.rotation);var f=n.offset;f&&(r.x+=f[0],r.y+=f[1],u||(r.originX=-f[0],r.originY=-f[1]));var v=null==n.inside?"string"==typeof n.position&&n.position.indexOf("inside")>=0:n.inside,m=this._innerTextDefaultStyle||(this._innerTextDefaultStyle={}),_=void 0,x=void 0,S=void 0;v&&this.canBeInsideText()?(_=n.insideFill,x=n.insideStroke,(null==_||"auto"===_)&&(_=this.getInsideTextFill()),(null==x||"auto"===x)&&(x=this.getInsideTextStroke(_),S=!0)):(_=n.outsideFill,x=n.outsideStroke,(null==_||"auto"===_)&&(_=this.getOutsideFill()),(null==x||"auto"===x)&&(x=this.getOutsideStroke(_),S=!0)),((_=_||"#000")!==m.fill||x!==m.stroke||S!==m.autoStroke||o!==m.align||a!==m.verticalAlign)&&(l=!0,m.fill=_,m.stroke=x,m.autoStroke=S,m.align=o,m.verticalAlign=a,e.setDefaultTextStyle(m)),e.__dirty|=c.YV,l&&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()?u.GD:u.vU},t.prototype.getOutsideStroke=function(t){var e=this.__zr&&this.__zr.getBackgroundColor(),n="string"==typeof e&&(0,h.Qc)(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+255*!r*(1-i);return n[3]=1,(0,h.Pz)(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||{},(0,l.l7)(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((0,l.Kn)(t))for(var n=(0,l.XP)(t),i=0;i<n.length;i++){var r=n[i];this.attrKV(r,t[r])}return this.markRedraw(),this},t.prototype.saveCurrentToNormalState=function(t){this._innerSaveToNormal(t);for(var e=this._normalState,n=0;n<this.animators.length;n++){var i=this.animators[n],r=i.__fromStateTransition;if(!i.getLoop()&&(!r||r===p)){var o=i.targetName,a=o?e[o]:e;i.saveTo(a)}}},t.prototype._innerSaveToNormal=function(t){var e=this._normalState;e||(e=this._normalState={}),t.textConfig&&!e.textConfig&&(e.textConfig=this.textConfig),this._savePrimaryToNormal(t,e,d)},t.prototype._savePrimaryToNormal=function(t,e,n){for(var i=0;i<n.length;i++){var r=n[i];null==t[r]||r in e||(e[r]=this[r])}},t.prototype.hasState=function(){return this.currentStates.length>0},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(p,!1,t)},t.prototype.useState=function(t,e,n,i){var r,o=t===p;if(this.hasState()||!o){var a=this.currentStates,s=this.stateTransition;if(!((0,l.cq)(a,t)>=0)||!e&&1!==a.length){if(this.stateProxy&&!o&&(r=this.stateProxy(t)),r||(r=this.states&&this.states[t]),!r&&!o)return void(0,l.H)("State "+t+" not exists.");o||this.saveCurrentToNormalState(r);var u=!!(r&&r.hoverLayer||i);u&&this._toggleHoverLayerFlag(!0),this._applyStateObj(t,r,this._normalState,e,!n&&!this.__inHover&&s&&s.duration>0,s);var h=this._textContent,d=this._textGuide;return h&&h.useState(t,e,n,u),d&&d.useState(t,e,n,u),o?(this.currentStates=[],this._normalState={}):e?this.currentStates.push(t):this.currentStates=[t],this._updateAnimationTargets(),this.markRedraw(),!u&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV),r}}},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;s<o;s++)if(t[s]!==r[s]){a=!1;break}}if(!a){for(var s=0;s<o;s++){var l=t[s],u=void 0;this.stateProxy&&(u=this.stateProxy(l,t)),u||(u=this.states[l]),u&&i.push(u)}var h=i[o-1],p=!!(h&&h.hoverLayer||n);p&&this._toggleHoverLayerFlag(!0);var d=this._mergeStates(i),f=this.stateTransition;this.saveCurrentToNormalState(d),this._applyStateObj(t.join(","),d,this._normalState,!1,!e&&!this.__inHover&&f&&f.duration>0,f);var g=this._textContent,y=this._textGuide;g&&g.useStates(t,e,p),y&&y.useStates(t,e,p),this._updateAnimationTargets(),this.currentStates=t.slice(),this.markRedraw(),!p&&this.__inHover&&(this._toggleHoverLayerFlag(!1),this.__dirty&=~c.YV)}}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<this.animators.length;t++){var e=this.animators[t];e.targetName&&e.changeTarget(this[e.targetName])}},t.prototype.removeState=function(t){var e=(0,l.cq)(this.currentStates,t);if(e>=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=(0,l.cq)(i,t),o=(0,l.cq)(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<t.length;i++){var r=t[i];(0,l.l7)(n,r),r.textConfig&&(e=e||{},(0,l.l7)(e,r.textConfig))}return e&&(n.textConfig=e),n},t.prototype._applyStateObj=function(t,e,n,i,r,o){var a=!(e&&i);e&&e.textConfig?(this.textConfig=(0,l.l7)({},i?this.textConfig:n.textConfig),(0,l.l7)(this.textConfig,e.textConfig)):a&&n.textConfig&&(this.textConfig=n.textConfig);for(var s={},u=!1,h=0;h<d.length;h++){var c=d[h],p=r&&f[c];e&&null!=e[c]?p?(u=!0,s[c]=e[c]):this[c]=e[c]:a&&null!=n[c]&&(p?(u=!0,s[c]=n[c]):this[c]=n[c])}if(!r)for(var h=0;h<this.animators.length;h++){var g=this.animators[h],y=g.targetName;g.getLoop()||g.__changeFinalValue(y?(e||n)[y]:e||n)}u&&this._transitionState(t,s,o)},t.prototype._attachComponent=function(t){if((!t.__zr||t.__hostTarget)&&t!==this){var e=this.__zr;e&&t.addSelfToZr(e),t.__zr=e,t.__hostTarget=this}},t.prototype._detachComponent=function(t){t.__zr&&t.removeSelfFromZr(t.__zr),t.__zr=null,t.__hostTarget=null},t.prototype.getClipPath=function(){return this._clipPath},t.prototype.setClipPath=function(t){this._clipPath&&this._clipPath!==t&&this.removeClipPath(),this._attachComponent(t),this._clipPath=t,this.markRedraw()},t.prototype.removeClipPath=function(){var t=this._clipPath;t&&(this._detachComponent(t),this._clipPath=null,this.markRedraw())},t.prototype.getTextContent=function(){return this._textContent},t.prototype.setTextContent=function(t){var e=this._textContent;e!==t&&(e&&e!==t&&this.removeTextContent(),t.innerTransformable=new i.ZP,this._attachComponent(t),this._textContent=t,this.markRedraw())},t.prototype.setTextConfig=function(t){this.textConfig||(this.textConfig={}),(0,l.l7)(this.textConfig,t),this.markRedraw()},t.prototype.removeTextConfig=function(){this.textConfig=null,this.markRedraw()},t.prototype.removeTextContent=function(){var t=this._textContent;t&&(t.innerTransformable=null,this._detachComponent(t),this._textContent=null,this._innerTextDefaultStyle=null,this.markRedraw())},t.prototype.getTextGuideLine=function(){return this._textGuide},t.prototype.setTextGuideLine=function(t){this._textGuide&&this._textGuide!==t&&this.removeTextGuideLine(),this._attachComponent(t),this._textGuide=t,this.markRedraw()},t.prototype.removeTextGuideLine=function(){var t=this._textGuide;t&&(this._detachComponent(t),this._textGuide=null,this.markRedraw())},t.prototype.markRedraw=function(){this.__dirty|=c.YV;var t=this.__zr;t&&(this.__inHover?t.refreshHover():t.refresh()),this.__hostTarget&&this.__hostTarget.markRedraw()},t.prototype.dirty=function(){this.markRedraw()},t.prototype._toggleHoverLayerFlag=function(t){this.__inHover=t;var e=this._textContent,n=this._textGuide;e&&(e.__inHover=t),n&&(n.__inHover=t)},t.prototype.addSelfToZr=function(t){if(this.__zr!==t){this.__zr=t;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.addAnimator(e[n]);this._clipPath&&this._clipPath.addSelfToZr(t),this._textContent&&this._textContent.addSelfToZr(t),this._textGuide&&this._textGuide.addSelfToZr(t)}},t.prototype.removeSelfFromZr=function(t){if(this.__zr){this.__zr=null;var e=this.animators;if(e)for(var n=0;n<e.length;n++)t.animation.removeAnimator(e[n]);this._clipPath&&this._clipPath.removeSelfFromZr(t),this._textContent&&this._textContent.removeSelfFromZr(t),this._textGuide&&this._textGuide.removeSelfFromZr(t)}},t.prototype.animate=function(t,e,n){var i=t?this[t]:this,o=new r.Z(i,e,n);return t&&(o.targetName=t),this.addAnimator(o,t),o},t.prototype.addAnimator=function(t,e){var n=this.__zr,i=this;t.during(function(){i.updateDuringAnimation(e)}).done(function(){var e=i.animators,n=(0,l.cq)(e,t);n>=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;o<i;o++){var a=n[o];t&&t!==a.scope?r.push(a):a.stop(e)}return this.animators=r,this},t.prototype.animateTo=function(t,e,n){m(this,t,e,n)},t.prototype.animateFrom=function(t,e,n){m(this,t,e,n,!0)},t.prototype._transitionState=function(t,e,n,i){for(var r=m(this,e,n,i),o=0;o<r.length;o++)r[o].__fromStateTransition=t},t.prototype.getBoundingRect=function(){return null},t.prototype.getPaintRect=function(){return null},t.initDefaultProps=function(){var e=t.prototype;function n(t,n,i,r){Object.defineProperty(e,t,{get:function(){return this[n]||o(this,this[n]=[]),this[n]},set:function(t){this[i]=t[0],this[r]=t[1],this[n]=t,o(this,t)}});function o(t,e){Object.defineProperty(e,0,{get:function(){return t[i]},set:function(e){t[i]=e}}),Object.defineProperty(e,1,{get:function(){return t[r]},set:function(e){t[r]=e}})}}e.type="element",e.name="",e.ignore=e.silent=e.isGroup=e.draggable=e.dragging=e.ignoreClip=e.__inHover=!1,e.__dirty=c.YV,Object.defineProperty&&(n("position","_legacyPos","x","y"),n("scale","_legacyScale","scaleX","scaleY"),n("origin","_legacyOrigin","originX","originY"))}(),t}();function m(t,e,n,i,o){var a=[];!function t(e,n,i,o,a,s,u,h){for(var c=(0,l.XP)(o),p=a.duration,d=a.delay,f=a.additive,g=a.setToFinal,y=!(0,l.Kn)(s),v=e.animators,m=[],x=0;x<c.length;x++){var S=c[x],w=o[S];if(null!=w&&null!=i[S]&&(y||s[S]))if(!(0,l.Kn)(w)||(0,l.zG)(w)||(0,l.Qq)(w))m.push(S);else{if(n){h||(i[S]=w,e.updateDuringAnimation(n));continue}t(e,S,i[S],w,a,s&&s[S],u,h)}else h||(i[S]=w,e.updateDuringAnimation(n),m.push(S))}var b=m.length;if(!f&&b)for(var M=0;M<v.length;M++){var T=v[M];if(T.targetName===n&&T.stopTracks(m)){var k=(0,l.cq)(v,T);v.splice(k,1)}}if(a.force||(b=(m=(0,l.hX)(m,function(t){var e,n;return!((e=o[t])===(n=i[t])||(0,l.zG)(e)&&(0,l.zG)(n)&&function(t,e){var n=t.length;if(n!==e.length)return!1;for(var i=0;i<n;i++)if(t[i]!==e[i])return!1;return!0}(e,n))})).length),b>0||a.force&&!u.length){var I=void 0,D=void 0,C=void 0;if(h){D={},g&&(I={});for(var M=0;M<b;M++){var S=m[M];D[S]=i[S],g?I[S]=o[S]:i[S]=o[S]}}else if(g){C={};for(var M=0;M<b;M++){var S=m[M];C[S]=(0,r.V)(i[S]),function(t,e,n){if((0,l.zG)(e[n]))if((0,l.zG)(t[n])||(t[n]=[]),(0,l.fU)(e[n])){var i=e[n].length;t[n].length!==i&&(t[n]=new e[n].constructor(i),_(t[n],e[n],i))}else{var r=e[n],o=t[n],a=r.length;if((0,l.zG)(r[0]))for(var s=r[0].length,u=0;u<a;u++)o[u]?_(o[u],r[u],s):o[u]=Array.prototype.slice.call(r[u]);else _(o,r,a);o.length=r.length}else t[n]=e[n]}(i,o,S)}}var T=new r.Z(i,!1,!1,f?(0,l.hX)(v,function(t){return t.targetName===n}):null);T.targetName=n,a.scope&&(T.scope=a.scope),g&&I&&T.whenWithKeys(0,I,m),C&&T.whenWithKeys(0,C,m),T.whenWithKeys(null==p?500:p,h?D:o,m).delay(d||0),e.addAnimator(T,n),u.push(T)}}(t,"",t,e,n=n||{},i,a,o);var s=a.length,u=!1,h=n.done,c=n.aborted,p=function(){u=!0,--s<=0&&(u?h&&h():c&&c())},d=function(){--s<=0&&(u?h&&h():c&&c())};!s&&h&&h(),a.length>0&&n.during&&a[0].during(function(t,e){n.during(e)});for(var f=0;f<a.length;f++){var g=a[f];p&&g.done(p),d&&g.aborted(d),n.force&&g.duration(n.duration),g.start(n.easing)}return a}function _(t,e,n){for(var i=0;i<n;i++)t[i]=e[i]}(0,l.jB)(v,a.Z),(0,l.jB)(v,i.ZP);let x=v},49582:function(t,e,n){n.d(e,{V:()=>g,Z:()=>S});var i={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*(-Math.pow(2,-10*(t-1))+2)},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(2*Math.PI*(t-e)/.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(2*Math.PI*(t-e)/.4)+1)},elasticInOut: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),(t*=2)<1)?-.5*(n*Math.pow(2,10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)):n*Math.pow(2,-10*(t-=1))*Math.sin(2*Math.PI*(t-e)/.4)*.5+1},backIn:function(t){return t*t*(2.70158*t-1.70158)},backOut:function(t){return--t*t*(2.70158*t+1.70158)+1},backInOut:function(t){return(t*=2)<1?t*t*(3.5949095*t-2.5949095)*.5:.5*((t-=2)*t*(3.5949095*t+2.5949095)+2)},bounceIn:function(t){return 1-i.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*i.bounceIn(2*t):.5*i.bounceOut(2*t-1)+.5}},r=n(96585),o=n(97566),a=/cubic-bezier\(([0-9,\.e ]+)\)/;function s(t){var e=t&&a.exec(t);if(e){var n=e[1].split(","),i=+(0,r.fy)(n[0]),s=+(0,r.fy)(n[1]),l=+(0,r.fy)(n[2]),u=+(0,r.fy)(n[3]);if(isNaN(i+s+l+u))return;var h=[];return function(t){return t<=0?0:t>=1?1:(0,o.kD)(0,i,l,1,t,h)&&(0,o.af)(0,s,u,1,h[0])}}}var l=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||r.ZT,this.ondestroy=t.ondestroy||r.ZT,this.onrestart=t.onrestart||r.ZT,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){this._pausedTime+=e;return}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;else this._startTime=t-i%n,this._pausedTime=0,this.onrestart();return!1},t.prototype.pause=function(){this._paused=!0},t.prototype.resume=function(){this._paused=!1},t.prototype.setEasing=function(t){this.easing=t,this.easingFunc=(0,r.mf)(t)?t:i[t]||s(t)},t}(),u=n(67375),h=n(76226);h.Z.hasGlobalWindow&&(0,r.mf)(window.btoa);var c=Array.prototype.slice;function p(t,e,n,i){for(var r,o=e.length,a=0;a<o;a++)t[a]=(r=e[a],(n[a]-r)*i+r);return t}function d(t,e,n,i){for(var r=e.length,o=0;o<r;o++)t[o]=e[o]+n[o]*i;return t}function f(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s=0;s<o;s++)t[a][s]=e[a][s]+n[a][s]*i}return t}function g(t){if((0,r.zG)(t)){var e=t.length;if((0,r.zG)(t[0])){for(var n=[],i=0;i<e;i++)n.push(c.call(t[i]));return n}return c.call(t)}return t}function y(t){return t[0]=Math.floor(t[0])||0,t[1]=Math.floor(t[1])||0,t[2]=Math.floor(t[2])||0,t[3]=null==t[3]?1:t[3],"rgba("+t.join(",")+")"}function v(t){return 4===t||5===t}function m(t){return 1===t||2===t}var _=[0,0,0,0],x=function(){function t(t){this.keyframes=[],this.discrete=!1,this._invalid=!1,this._needsSort=!1,this._lastFr=0,this._lastFrP=0,this.propName=t}return t.prototype.isFinished=function(){return this._finished},t.prototype.setFinished=function(){this._finished=!0,this._additiveTrack&&this._additiveTrack.setFinished()},t.prototype.needsAnimate=function(){return this.keyframes.length>=1},t.prototype.getAdditiveTrack=function(){return this._additiveTrack},t.prototype.addKeyframe=function(t,e,n){this._needsSort=!0;var o=this.keyframes,a=o.length,l=!1,h=6,c=e;if((0,r.zG)(e)){var p=(0,r.zG)(e&&e[0])?2:1;h=p,(1!==p||(0,r.hj)(e[0]))&&(2!==p||(0,r.hj)(e[0][0]))||(l=!0)}else if((0,r.hj)(e)&&!(0,r.Bu)(e))h=0;else if((0,r.HD)(e))if(isNaN(+e)){var d=u.Qc(e);d&&(c=d,h=3)}else h=0;else if((0,r.Qq)(e)){var f=(0,r.l7)({},c);(f.colorStops=(0,r.UI)(e.colorStops,function(t){return{offset:t.offset,color:u.Qc(t.color)}}),"linear"===e.type)?h=4:"radial"===e.type&&(h=5),c=f}0===a?this.valType=h:(h!==this.valType||6===h)&&(l=!0),this.discrete=this.discrete||l;var g={time:t,value:c,rawValue:e,percent:0};return n&&(g.easing=n,g.easingFunc=(0,r.mf)(n)?n:i[n]||s(n)),o.push(g),g},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=m(i),l=v(i),u=0;u<r;u++){var h=n[u],p=h.value,g=o.value;h.percent=h.time/t,!a&&(s&&u!==r-1?function(t,e,n){if(t.push&&e.push){var i=t.length,r=e.length;if(i!==r)if(i>r)t.length=r;else for(var o=i;o<r;o++)t.push(1===n?e[o]:c.call(e[o]));for(var a=t[0]&&t[0].length,o=0;o<t.length;o++)if(1===n)isNaN(t[o])&&(t[o]=e[o]);else for(var s=0;s<a;s++)isNaN(t[o][s])&&(t[o][s]=e[o][s])}}(p,g,i):l&&function(t,e){for(var n=t.length,i=e.length,r=n>i?e:t,o=Math.min(n,i),a=r[o-1]||{color:[0,0,0,0],offset:0},s=o;s<Math.max(n,i);s++)r.push({offset:a.offset,color:a.color.slice()})}(p.colorStops,g.colorStops))}if(!a&&5!==i&&e&&this.needsAnimate()&&e.needsAnimate()&&i===e.valType&&!e._finished){this._additiveTrack=e;for(var y=n[0].value,u=0;u<r;u++)0===i?n[u].additiveValue=n[u].value-y:3===i?n[u].additiveValue=d([],n[u].value,y,-1):m(i)&&(n[u].additiveValue=1===i?d([],n[u].value,y,-1):f([],n[u].value,y,-1))}},t.prototype.step=function(t,e){if(!this._finished){this._additiveTrack&&this._additiveTrack._finished&&(this._additiveTrack=null);var n,i,o,a=null!=this._additiveTrack,s=a?"additiveValue":"value",l=this.valType,u=this.keyframes,h=u.length,c=this.propName,d=3===l,f=this._lastFr,g=Math.min;if(1===h)i=o=u[0];else{if(e<0)n=0;else if(e<this._lastFrP){for(n=g(f+1,h-1);n>=0&&!(u[n].percent<=e);n--);n=g(n,h-2)}else{for(n=f;n<h&&!(u[n].percent>e);n++);n=g(n-1,h-2)}o=u[n+1],i=u[n]}if(i&&o){this._lastFr=n,this._lastFrP=e;var x=o.percent-i.percent,S=0===x?1:g((e-i.percent)/x,1);o.easingFunc&&(S=o.easingFunc(S));var w=a?this._additiveValue:d?_:t[c];if((m(l)||d)&&!w&&(w=this._additiveValue=[]),this.discrete)t[c]=S<1?i.rawValue:o.rawValue;else if(m(l))1===l?p(w,i[s],o[s],S):function(t,e,n,i){for(var r=e.length,o=r&&e[0].length,a=0;a<r;a++){t[a]||(t[a]=[]);for(var s,l=0;l<o;l++)t[a][l]=(s=e[a][l],(n[a][l]-s)*i+s)}}(w,i[s],o[s],S);else if(v(l)){var b,M,T,k,I,D=i[s],C=o[s],A=4===l;(t[c]={type:A?"linear":"radial",x:(b=D.x,(C.x-b)*S+b),y:(M=D.y,(C.y-M)*S+M),colorStops:(0,r.UI)(D.colorStops,function(t,e){var n,i=C.colorStops[e];return{offset:(n=t.offset,(i.offset-n)*S+n),color:y(p([],t.color,i.color,S))}}),global:C.global},A)?(t[c].x2=(T=D.x2,(C.x2-T)*S+T),t[c].y2=(k=D.y2,(C.y2-k)*S+k)):t[c].r=(I=D.r,(C.r-I)*S+I)}else if(d)p(w,i[s],o[s],S),a||(t[c]=y(w));else{var P,L=(P=i[s],(o[s]-P)*S+P);a?this._additiveValue=L:t[c]=L}a&&this._addToTarget(t)}}},t.prototype._addToTarget=function(t){var e=this.valType,n=this.propName,i=this._additiveValue;0===e?t[n]=t[n]+i:3===e?(u.Qc(t[n],_),d(_,_,i,1),t[n]=y(_)):1===e?d(t[n],t[n],i,1):2===e&&f(t[n],t[n],i,1)},t}();let S=function(){function t(t,e,n,i){if(this._tracks={},this._trackKeys=[],this._maxTime=0,this._started=0,this._clip=null,this._target=t,this._loop=e,e&&i)return void(0,r.H)("Can' use additive animation on looped animation.");this._additiveAnimators=i,this._allowDiscrete=n}return t.prototype.getMaxTime=function(){return this._maxTime},t.prototype.getDelay=function(){return this._delay},t.prototype.getLoop=function(){return this._loop},t.prototype.getTarget=function(){return this._target},t.prototype.changeTarget=function(t){this._target=t},t.prototype.when=function(t,e,n){return this.whenWithKeys(t,e,(0,r.XP)(e),n)},t.prototype.whenWithKeys=function(t,e,n,i){for(var r=this._tracks,o=0;o<n.length;o++){var a=n[o],s=r[a];if(!s){s=r[a]=new x(a);var l=void 0,u=this._getAdditiveTrack(a);if(u){var h=u.keyframes,c=h[h.length-1];l=c&&c.value,3===u.valType&&l&&(l=y(l))}else l=this._target[a];if(null==l)continue;t>0&&s.addKeyframe(0,g(l),i),this._trackKeys.push(a)}s.addKeyframe(t,g(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;n<e;n++)t[n].call(this)},t.prototype._abortedCallback=function(){this._setTracksFinished();var t=this.animation,e=this._abortedCbs;if(t&&t.removeClip(this._clip),this._clip=null,e)for(var n=0;n<e.length;n++)e[n].call(this)},t.prototype._setTracksFinished=function(){for(var t=this._tracks,e=this._trackKeys,n=0;n<e.length;n++)t[e[n]].setFinished()},t.prototype._getAdditiveTrack=function(t){var e,n=this._additiveAnimators;if(n)for(var i=0;i<n.length;i++){var r=n[i].getTrack(t);r&&(e=r)}return e},t.prototype.start=function(t){if(!(this._started>0)){this._started=1;for(var e=this,n=[],i=this._maxTime||0,r=0;r<this._trackKeys.length;r++){var o=this._trackKeys[r],a=this._tracks[o],s=this._getAdditiveTrack(o),u=a.keyframes,h=u.length;if(a.prepare(i,s),a.needsAnimate())if(!this._allowDiscrete&&a.discrete){var c=u[h-1];c&&(e._target[a.propName]=c.rawValue),a.setFinished()}else n.push(a)}if(n.length||this._force){var p=new l({life:i,loop:this._loop,delay:this._delay||0,onframe:function(t){e._started=2;var i=e._additiveAnimators;if(i){for(var r=!1,o=0;o<i.length;o++)if(i[o]._clip){r=!0;break}r||(e._additiveAnimators=null)}for(var o=0;o<n.length;o++)n[o].step(e._target,t);var a=e._onframeCbs;if(a)for(var o=0;o<a.length;o++)a[o](e._target,t)},ondestroy:function(){e._doneCallback()}});this._clip=p,this.animation&&this.animation.addClip(p),t&&p.setEasing(t)}else this._doneCallback();return this}},t.prototype.stop=function(t){if(this._clip){var e=this._clip;t&&e.onframe(1),this._abortedCallback()}},t.prototype.delay=function(t){return this._delay=t,this},t.prototype.during=function(t){return t&&(this._onframeCbs||(this._onframeCbs=[]),this._onframeCbs.push(t)),this},t.prototype.done=function(t){return t&&(this._doneCbs||(this._doneCbs=[]),this._doneCbs.push(t)),this},t.prototype.aborted=function(t){return t&&(this._abortedCbs||(this._abortedCbs=[]),this._abortedCbs.push(t)),this},t.prototype.getClip=function(){return this._clip},t.prototype.getTrack=function(t){return this._tracks[t]},t.prototype.getTracks=function(){var t=this;return(0,r.UI)(this._trackKeys,function(e){return t._tracks[e]})},t.prototype.stopTracks=function(t,e){if(!t.length||!this._clip)return!0;for(var n=this._tracks,i=this._trackKeys,r=0;r<t.length;r++){var o=n[t[r]];o&&!o.isFinished()&&(e?o.step(this._target,1):1===this._started&&o.step(this._target,0),o.setFinished())}for(var a=!0,r=0;r<i.length;r++)if(!n[i[r]].isFinished()){a=!1;break}return a&&this._abortedCallback(),a},t.prototype.saveTo=function(t,e,n){if(t){e=e||this._trackKeys;for(var i=0;i<e.length;i++){var r=e[i],o=this._tracks[r];if(!(!o||o.isFinished())){var a=o.keyframes,s=a[n?0:a.length-1];s&&(t[r]=g(s.rawValue))}}}},t.prototype.__changeFinalValue=function(t,e){e=e||(0,r.XP)(t);for(var n=0;n<e.length;n++){var i=e[n],o=this._tracks[i];if(o){var a=o.keyframes;if(a.length>1){var s=a.pop();o.addKeyframe(s.time,t[i]),o.prepare(this._maxTime,o.getAdditiveTrack())}}}},t}()},98279:function(t,e,n){n.d(e,{Z:()=>i});let i=n(76226).Z.hasGlobalWindow&&(window.requestAnimationFrame&&window.requestAnimationFrame.bind(window)||window.msRequestAnimationFrame&&window.msRequestAnimationFrame.bind(window)||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame)||function(t){return setTimeout(t,16)}},40552:function(t,e,n){n.d(e,{Dm:()=>C,RZ:()=>x,RV:()=>D});var i=n(90635),r=n(36209),o=n(25259),a=n(31516),s=n(50654),l=n(31386),u=n(39183),h=n(96585);function c(t){var e,n,i=t.style,r=i.lineDash&&i.lineWidth>0&&(e=i.lineDash,n=i.lineWidth,e&&"solid"!==e&&n>0?"dashed"===e?[4*n,2*n]:"dotted"===e?[n]:(0,h.hj)(e)?[e]:(0,h.kJ)(e)?e:null:null),o=i.lineDashOffset;if(r){var a=i.strokeNoScale&&t.getLineScale?t.getLineScale():1;a&&1!==a&&(r=(0,h.UI)(r,function(t){return t/a}),o/=a)}return[r,o]}var p=n(59177),d=n(82379),f=new r.Z(!0);function g(t){var e=t.stroke;return null!=e&&"none"!==e&&t.lineWidth>0}function y(t){return"string"==typeof t&&"none"!==t}function v(t){var e=t.fill;return null!=e&&"none"!==e}function m(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 _(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 x(t,e,n){var i=(0,o.Gq)(e.image,e.__image,n);if((0,o.v5)(i)){var r=t.createPattern(i,e.repeat||"repeat");if("function"==typeof DOMMatrix&&r&&r.setTransform){var a=new DOMMatrix;a.translateSelf(e.x||0,e.y||0),a.rotateSelf(0,0,(e.rotation||0)*h.I3),a.scaleSelf(e.scaleX||1,e.scaleY||1),r.setTransform(a)}return r}}var S=["shadowBlur","shadowOffsetX","shadowOffsetY"],w=[["lineCap","butt"],["lineJoin","miter"],["miterLimit",10]];function b(t,e,n,r,o){var a=!1;if(!r&&e===(n=n||{}))return!1;if(r||e.opacity!==n.opacity){k(t,o),a=!0;var s=Math.max(Math.min(e.opacity,1),0);t.globalAlpha=isNaN(s)?i.tj.opacity:s}(r||e.blend!==n.blend)&&(a||(k(t,o),a=!0),t.globalCompositeOperation=e.blend||i.tj.blend);for(var l=0;l<S.length;l++){var u=S[l];(r||e[u]!==n[u])&&(a||(k(t,o),a=!0),t[u]=t.dpr*(e[u]||0))}return(r||e.shadowColor!==n.shadowColor)&&(a||(k(t,o),a=!0),t.shadowColor=e.shadowColor||i.tj.shadowColor),a}function M(t,e,n,i,r){var o=I(e,r.inHover),a=i?null:n&&I(n,r.inHover)||{};if(o===a)return!1;var s=b(t,o,a,i,r);if((i||o.fill!==a.fill)&&(s||(k(t,r),s=!0),y(o.fill)&&(t.fillStyle=o.fill)),(i||o.stroke!==a.stroke)&&(s||(k(t,r),s=!0),y(o.stroke)&&(t.strokeStyle=o.stroke)),(i||o.opacity!==a.opacity)&&(s||(k(t,r),s=!0),t.globalAlpha=null==o.opacity?1:o.opacity),e.hasStroke()){var l=o.lineWidth/(o.strokeNoScale&&e.getLineScale?e.getLineScale():1);t.lineWidth!==l&&(s||(k(t,r),s=!0),t.lineWidth=l)}for(var u=0;u<w.length;u++){var h=w[u],c=h[0];(i||o[c]!==a[c])&&(s||(k(t,r),s=!0),t[c]=o[c]||h[1])}return s}function T(t,e){var n=e.transform,i=t.dpr||1;n?t.setTransform(i*n[0],i*n[1],i*n[2],i*n[3],i*n[4],i*n[5]):t.setTransform(i,0,0,i,0,0)}function k(t,e){e.batchFill&&t.fill(),e.batchStroke&&t.stroke(),e.batchFill="",e.batchStroke=""}function I(t,e){return e&&t.__hoverStyle||t.style}function D(t,e){C(t,e,{inHover:!1,viewWidth:0,viewHeight:0},!0)}function C(t,e,n,i){var r,h=e.transform;if(!e.shouldBePainted(n.viewWidth,n.viewHeight,!1,!1)){e.__dirty&=~p.YV,e.__isRendered=!1;return}var y=e.__clipPaths,S=n.prevElClipPaths,w=!1,D=!1;if(!S||(0,a.cF)(y,S)){if(S&&S.length&&(k(t,n),t.restore(),D=w=!0,n.prevElClipPaths=null,n.allClipped=!1,n.prevEl=null),y&&y.length){k(t,n),t.save();for(var A=!1,P=0;P<y.length;P++){var L=y[P];A=A||L.isZeroArea(),T(t,L),t.beginPath(),L.buildPath(t,L.shape),t.clip()}n.allClipped=A,w=!0}n.prevElClipPaths=y}if(n.allClipped){e.__isRendered=!1;return}e.beforeBrush&&e.beforeBrush(),e.innerBeforeBrush();var O=n.prevEl;O||(D=w=!0);var R=e instanceof s.ZP&&e.autoBatch&&(z=v(N=e.style),E=g(N),!(N.lineDash||!(z^E)||z&&"string"!=typeof N.fill||E&&"string"!=typeof N.stroke||N.strokePercent<1||N.strokeOpacity<1||N.fillOpacity<1));!w&&(B=O.transform,h&&B?h[0]===B[0]&&h[1]===B[1]&&h[2]===B[2]&&h[3]===B[3]&&h[4]===B[4]&&h[5]===B[5]:+(!h&&!B))?R||k(t,n):(k(t,n),T(t,e));var Z=I(e,n.inHover);if(e instanceof s.ZP)1!==n.lastDrawType&&(D=!0,n.lastDrawType=1),M(t,e,O,D,n),R&&(n.batchFill||n.batchStroke)||t.beginPath(),function(t,e,n,i){var r,o,s,l=g(n),u=v(n),h=n.strokePercent,d=h<1,y=!e.path;(!e.silent||d)&&y&&e.createPathProxy();var S=e.path||f,w=e.__dirty;if(!i){var b=n.fill,M=n.stroke,T=u&&!!b.colorStops,k=l&&!!M.colorStops,I=u&&!!b.image,D=l&&!!M.image,C=void 0,A=void 0,P=void 0,L=void 0,O=void 0;(T||k)&&(O=e.getBoundingRect()),T&&(C=w?(0,a.ZF)(t,b,O):e.__canvasFillGradient,e.__canvasFillGradient=C),k&&(A=w?(0,a.ZF)(t,M,O):e.__canvasStrokeGradient,e.__canvasStrokeGradient=A),I&&(P=w||!e.__canvasFillPattern?x(t,b,e):e.__canvasFillPattern,e.__canvasFillPattern=P),D&&(L=w||!e.__canvasStrokePattern?x(t,M,e):e.__canvasStrokePattern,e.__canvasStrokePattern=P),T?t.fillStyle=C:I&&(P?t.fillStyle=P:u=!1),k?t.strokeStyle=A:D&&(L?t.strokeStyle=L:l=!1)}var R=e.getGlobalScale();S.setScale(R[0],R[1],e.segmentIgnoreThreshold),t.setLineDash&&n.lineDash&&(o=(r=c(e))[0],s=r[1]);var Z=!0;(y||w&p.RH)&&(S.setDPR(t.dpr),d?S.setContext(null):(S.setContext(t),Z=!1),S.reset(),e.buildPath(S,e.shape,i),S.toStatic(),e.pathUpdated()),Z&&S.rebuildPath(t,d?h:1),o&&(t.setLineDash(o),t.lineDashOffset=s),!i&&(n.strokeFirst?(l&&_(t,n),u&&m(t,n)):(u&&m(t,n),l&&_(t,n))),o&&t.setLineDash([])}(t,e,Z,R),R&&(n.batchFill=Z.fill||"",n.batchStroke=Z.stroke||"");else if(e instanceof u.Z){3!==n.lastDrawType&&(D=!0,n.lastDrawType=3),M(t,e,O,D,n);var N,z,E,B,F,H=Z.text;if(null!=H&&(H+=""),H){t.font=Z.font||d.Uo,t.textAlign=Z.textAlign,t.textBaseline=Z.textBaseline;var W=void 0,V=void 0;t.setLineDash&&Z.lineDash&&(W=(F=c(e))[0],V=F[1]),W&&(t.setLineDash(W),t.lineDashOffset=V),Z.strokeFirst?(g(Z)&&t.strokeText(H,Z.x,Z.y),v(Z)&&t.fillText(H,Z.x,Z.y)):(v(Z)&&t.fillText(H,Z.x,Z.y),g(Z)&&t.strokeText(H,Z.x,Z.y)),W&&t.setLineDash([])}}else e instanceof l.ZP?(2!==n.lastDrawType&&(D=!0,n.lastDrawType=2),r=D,b(t,I(e,n.inHover),O&&I(O,n.inHover),r,n),function(t,e,n){var i=e.__image=(0,o.Gq)(n.image,e.__image,e,e.onload);if(i&&(0,o.v5)(i)){var r=n.x||0,a=n.y||0,s=e.getWidth(),l=e.getHeight(),u=i.width/i.height;if(null==s&&null!=l?s=l*u:null==l&&null!=s?l=s/u:null==s&&null==l&&(s=i.width,l=i.height),n.sWidth&&n.sHeight){var h=n.sx||0,c=n.sy||0;t.drawImage(i,h,c,n.sWidth,n.sHeight,r,a,s,l)}else if(n.sx&&n.sy){var h=n.sx,c=n.sy,p=s-h,d=l-c;t.drawImage(i,h,c,p,d,r,a,s,l)}else t.drawImage(i,r,a,s,l)}}(t,e,Z)):e.getTemporalDisplayables&&(4!==n.lastDrawType&&(D=!0,n.lastDrawType=4),function(t,e,n){var i,r,o=e.getDisplayables(),a=e.getTemporalDisplayables();t.save();var s={prevElClipPaths:null,prevEl:null,allClipped:!1,viewWidth:n.viewWidth,viewHeight:n.viewHeight,inHover:n.inHover};for(i=e.getCursor(),r=o.length;i<r;i++){var l=o[i];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),C(t,l,s,i===r-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}for(var u=0,h=a.length;u<h;u++){var l=a[u];l.beforeBrush&&l.beforeBrush(),l.innerBeforeBrush(),C(t,l,s,u===h-1),l.innerAfterBrush(),l.afterBrush&&l.afterBrush(),s.prevEl=l}e.clearTemporalDisplayables(),e.notClear=!0,t.restore()}(t,e,n));R&&i&&k(t,n),e.innerAfterBrush(),e.afterBrush&&e.afterBrush(),n.prevEl=e,e.__dirty=0,e.__isRendered=!0}},31516:function(t,e,n){function i(t){return isFinite(t)}function r(t,e,n){for(var r,o,a,s,l,u,h,c,p,d,f="radial"===e.type?(a=Math.min(r=n.width,o=n.height),s=null==e.x?.5:e.x,l=null==e.y?.5:e.y,u=null==e.r?.5:e.r,e.global||(s=s*r+n.x,l=l*o+n.y,u*=a),s=i(s)?s:.5,l=i(l)?l:.5,u=u>=0&&i(u)?u:.5,t.createRadialGradient(s,l,0,s,l,u)):(h=null==e.x?0:e.x,c=null==e.x2?1:e.x2,p=null==e.y?0:e.y,d=null==e.y2?0:e.y2,e.global||(h=h*n.width+n.x,c=c*n.width+n.x,p=p*n.height+n.y,d=d*n.height+n.y),h=i(h)?h:0,c=i(c)?c:1,p=i(p)?p:0,d=i(d)?d:0,t.createLinearGradient(h,p,c,d)),g=e.colorStops,y=0;y<g.length;y++)f.addColorStop(g[y].offset,g[y].color);return f}function o(t,e){if(t===e||!t&&!e)return!1;if(!t||!e||t.length!==e.length)return!0;for(var n=0;n<t.length;n++)if(t[n]!==e[n])return!0;return!1}function a(t){return parseInt(t,10)}function s(t,e,n){var i=["width","height"][e],r=["clientWidth","clientHeight"][e],o=["paddingLeft","paddingTop"][e],s=["paddingRight","paddingBottom"][e];if(null!=n[i]&&"auto"!==n[i])return parseFloat(n[i]);var l=document.defaultView.getComputedStyle(t);return(t[r]||a(l[i])||a(t.style[i]))-(a(l[o])||0)-(a(l[s])||0)|0}n.d(e,{ZF:()=>r,ap:()=>s,cF:()=>o})},8473:function(t,e,n){n.d(e,{Ak:()=>a,GD:()=>l,KL:()=>o,iv:()=>u,vU:()=>s});var i=n(76226),r=1;i.Z.hasGlobalWindow&&(r=Math.max(window.devicePixelRatio||window.screen&&window.screen.deviceXDPI/window.screen.logicalXDPI||1,1));var o=r,a=.4,s="#333",l="#ccc",u="#eee"},45258:function(t,e,n){n.d(e,{Dp:()=>p,GM:()=>d,M3:()=>h,dz:()=>s,lP:()=>u,mU:()=>c,wI:()=>f});var i=n(44964),r=n(45671),o=n(82379),a={};function s(t,e){var n=a[e=e||o.Uo];n||(n=a[e]=new r.ZP(500));var i=n.get(t);return null==i&&(i=o.qW.measureText(t,e).width,n.put(t,i)),i}function l(t,e,n,r){var o=s(t,e),a=p(e),l=h(0,o,n),u=c(0,a,r);return new i.Z(l,u,o,a)}function u(t,e,n,r){var o=((t||"")+"").split("\n");if(1===o.length)return l(o[0],e,n,r);for(var a=new i.Z(0,0,0,0),s=0;s<o.length;s++){var u=l(o[s],e,n,r);0===s?a.copy(u):a.union(u)}return a}function h(t,e,n){return"right"===n?t-=e:"center"===n&&(t-=e/2),t}function c(t,e,n){return"middle"===n?t-=e/2:"bottom"===n&&(t-=e),t}function p(t){return s("国",t)}function d(t,e){return"string"==typeof t?t.lastIndexOf("%")>=0?parseFloat(t)/100*e:parseFloat(t):t}function f(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+=d(i[0],n.width),u+=d(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}},44964:function(t,e,n){n.d(e,{Z:()=>d});var i=n(85215),r=n(12430),o=Math.min,a=Math.max,s=new r.Z,l=new r.Z,u=new r.Z,h=new r.Z,c=new r.Z,p=new r.Z;let d=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=o(t.x,this.x),n=o(t.y,this.y);isFinite(this.x)&&isFinite(this.width)?this.width=a(t.x+t.width,this.x+this.width)-e:this.width=t.width,isFinite(this.y)&&isFinite(this.height)?this.height=a(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=t.width/this.width,n=t.height/this.height,r=i.Ue();return i.Iu(r,r,[-this.x,-this.y]),i.bA(r,r,[e,n]),i.Iu(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.x,o=this.x+this.width,a=this.y,s=this.y+this.height,l=e.x,u=e.x+e.width,h=e.y,d=e.y+e.height,f=!(o<l||u<i||s<h||d<a);if(n){var g=1/0,y=0,v=Math.abs(o-l),m=Math.abs(u-i),_=Math.abs(s-h),x=Math.abs(d-a),S=Math.min(v,m),w=Math.min(_,x);o<l||u<i?S>y&&(y=S,v<m?r.Z.set(p,-v,0):r.Z.set(p,m,0)):S<g&&(g=S,v<m?r.Z.set(c,v,0):r.Z.set(c,-m,0)),s<h||d<a?w>y&&(y=w,_<x?r.Z.set(p,0,-_):r.Z.set(p,0,x)):S<g&&(g=S,_<x?r.Z.set(c,0,_):r.Z.set(c,0,-x))}return n&&r.Z.copy(n,f?c:p),f},t.prototype.contain=function(t,e){return t>=this.x&&t<=this.x+this.width&&e>=this.y&&e<=this.y+this.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){e!==n&&t.copy(e,n);return}if(i[1]<1e-5&&i[1]>-1e-5&&i[2]<1e-5&&i[2]>-1e-5){var r=i[0],c=i[3],p=i[4],d=i[5];e.x=n.x*r+p,e.y=n.y*c+d,e.width=n.width*r,e.height=n.height*c,e.width<0&&(e.x+=e.width,e.width=-e.width),e.height<0&&(e.y+=e.height,e.height=-e.height);return}s.x=u.x=n.x,s.y=h.y=n.y,l.x=h.x=n.x+n.width,l.y=u.y=n.y+n.height,s.transform(i),h.transform(i),l.transform(i),u.transform(i),e.x=o(s.x,l.x,u.x,h.x),e.y=o(s.y,l.y,u.y,h.y);var f=a(s.x,l.x,u.x,h.x),g=a(s.y,l.y,u.y,h.y);e.width=f-e.x,e.height=g-e.y},t}()},46606:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){t&&(this._$eventProcessor=t)}return t.prototype.on=function(t,e,n,i){this._$handlers||(this._$handlers={});var r=this._$handlers;if("function"==typeof e&&(i=n,n=e,e=null),!n||!t)return this;var o=this._$eventProcessor;null!=e&&o&&o.normalizeQuery&&(e=o.normalizeQuery(e)),r[t]||(r[t]=[]);for(var a=0;a<r[t].length;a++)if(r[t][a].h===n)return this;var s={h:n,query:e,ctx:i||this,callAtLast:n.zrEventfulCallAtLast},l=r[t].length-1,u=r[t][l];return u&&u.callAtLast?r[t].splice(l,0,s):r[t].push(s),this},t.prototype.isSilent=function(t){var e=this._$handlers;return!e||!e[t]||!e[t].length},t.prototype.off=function(t,e){var n=this._$handlers;if(!n)return this;if(!t)return this._$handlers={},this;if(e){if(n[t]){for(var i=[],r=0,o=n[t].length;r<o;r++)n[t][r].h!==e&&i.push(n[t][r]);n[t]=i}n[t]&&0===n[t].length&&delete n[t]}else delete n[t];return this},t.prototype.trigger=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=i.length,s=0;s<a;s++){var l=i[s];if(!r||!r.filter||null==l.query||r.filter(t,l.query))switch(o){case 0:l.h.call(l.ctx);break;case 1:l.h.call(l.ctx,e[0]);break;case 2:l.h.call(l.ctx,e[0],e[1]);break;default:l.h.apply(l.ctx,e)}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t.prototype.triggerWithContext=function(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];if(!this._$handlers)return this;var i=this._$handlers[t],r=this._$eventProcessor;if(i)for(var o=e.length,a=e[o-1],s=i.length,l=0;l<s;l++){var u=i[l];if(!r||!r.filter||null==u.query||r.filter(t,u.query))switch(o){case 0:u.h.call(a);break;case 1:u.h.call(a,e[0]);break;case 2:u.h.call(a,e[0],e[1]);break;default:u.h.apply(a,e.slice(1,o-1))}}return r&&r.afterTrigger&&r.afterTrigger(t),this},t}()},45671:function(t,e,n){n.d(e,{ZP:()=>o});var i=function(t){this.value=t},r=function(){function t(){this._len=0}return t.prototype.insert=function(t){var e=new i(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}();let o=function(){function t(t){this._list=new r,this._maxSize=10,this._map={},this._maxSize=t}return t.prototype.put=function(t,e){var n=this._list,r=this._map,o=null;if(null==r[t]){var a=n.len(),s=this._lastRemovedEntry;if(a>=this._maxSize&&a>0){var l=n.head;n.remove(l),delete r[l.key],o=l.value,this._lastRemovedEntry=l}s?s.value=e:s=new i(e),s.key=t,n.insertEntry(s),r[t]=s}return o},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}()},70431:function(t,e,n){n.d(e,{Z:()=>l});var i=n(12430),r=[0,0],o=[0,0],a=new i.Z,s=new i.Z;let l=function(){function t(t,e){this._corners=[],this._axes=[],this._origin=[0,0];for(var n=0;n<4;n++)this._corners[n]=new i.Z;for(var n=0;n<2;n++)this._axes[n]=new i.Z;t&&this.fromBoundingRect(t,e)}return t.prototype.fromBoundingRect=function(t,e){var n=this._corners,r=this._axes,o=t.x,a=t.y,s=o+t.width,l=a+t.height;if(n[0].set(o,a),n[1].set(s,a),n[2].set(s,l),n[3].set(o,l),e)for(var u=0;u<4;u++)n[u].transform(e);i.Z.sub(r[0],n[1],n[0]),i.Z.sub(r[1],n[3],n[0]),r[0].normalize(),r[1].normalize();for(var u=0;u<2;u++)this._origin[u]=r[u].dot(n[0])},t.prototype.intersect=function(t,e){var n=!0,r=!e;return(a.set(1/0,1/0),s.set(0,0),!this._intersectCheckOneSide(this,t,a,s,r,1)&&(n=!1,r)||!this._intersectCheckOneSide(t,this,a,s,r,-1)&&(n=!1,r))?n:(r||i.Z.copy(e,n?a:s),n)},t.prototype._intersectCheckOneSide=function(t,e,n,a,s,l){for(var u=!0,h=0;h<2;h++){var c=this._axes[h];if(this._getProjMinMaxOnAxis(h,t._corners,r),this._getProjMinMaxOnAxis(h,e._corners,o),r[1]<o[0]||r[0]>o[1]){if(u=!1,s)return u;var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)>a.len()&&(p<d?i.Z.scale(a,c,-p*l):i.Z.scale(a,c,d*l))}else if(n){var p=Math.abs(o[0]-r[1]),d=Math.abs(r[0]-o[1]);Math.min(p,d)<n.len()&&(p<d?i.Z.scale(n,c,p*l):i.Z.scale(n,c,-d*l))}}return u},t.prototype._getProjMinMaxOnAxis=function(t,e,n){for(var i=this._axes[t],r=this._origin,o=e[0].dot(i)+r[t],a=o,s=o,l=1;l<e.length;l++){var u=e[l].dot(i)+r[t];a=Math.min(u,a),s=Math.max(u,s)}n[0]=a,n[1]=s},t}()},36209:function(t,e,n){n.d(e,{Z:()=>Z});var i=n(63261),r=n(44964),o=n(8473),a=n(97566),s=Math.min,l=Math.max,u=Math.sin,h=Math.cos,c=2*Math.PI,p=i.Ue(),d=i.Ue(),f=i.Ue();function g(t,e,n,i,r,o){r[0]=s(t,n),r[1]=s(e,i),o[0]=l(t,n),o[1]=l(e,i)}var y=[],v=[],m={M:1,L:2,C:3,Q:4,A:5,Z:6,R:7},_=[],x=[],S=[],w=[],b=[],M=[],T=Math.min,k=Math.max,I=Math.cos,D=Math.sin,C=Math.abs,A=Math.PI,P=2*A,L="undefined"!=typeof Float32Array,O=[];function R(t){return Math.round(t/A*1e8)/1e8%2*A}let Z=function(){var t;function e(t){this.dpr=1,this._xi=0,this._yi=0,this._x0=0,this._y0=0,this._len=0,t&&(this._saveData=!1),this._saveData&&(this.data=[])}return e.prototype.increaseVersion=function(){this._version++},e.prototype.getVersion=function(){return this._version},e.prototype.setScale=function(t,e,n){(n=n||0)>0&&(this._ux=C(n/o.KL/t)||0,this._uy=C(n/o.KL/e)||0)},e.prototype.setDPR=function(t){this.dpr=t},e.prototype.setContext=function(t){this._ctx=t},e.prototype.getContext=function(){return this._ctx},e.prototype.beginPath=function(){return this._ctx&&this._ctx.beginPath(),this.reset(),this},e.prototype.reset=function(){this._saveData&&(this._len=0),this._pathSegLen&&(this._pathSegLen=null,this._pathLen=0),this._version++},e.prototype.moveTo=function(t,e){return this._drawPendingPt(),this.addData(m.M,t,e),this._ctx&&this._ctx.moveTo(t,e),this._x0=t,this._y0=e,this._xi=t,this._yi=e,this},e.prototype.lineTo=function(t,e){var n=C(t-this._xi),i=C(e-this._yi),r=n>this._ux||i>this._uy;if(this.addData(m.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},e.prototype.bezierCurveTo=function(t,e,n,i,r,o){return this._drawPendingPt(),this.addData(m.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},e.prototype.quadraticCurveTo=function(t,e,n,i){return this._drawPendingPt(),this.addData(m.Q,t,e,n,i),this._ctx&&this._ctx.quadraticCurveTo(t,e,n,i),this._xi=n,this._yi=i,this},e.prototype.arc=function(t,e,n,i,r,o){this._drawPendingPt(),O[0]=i,O[1]=r,(a=R(O[0]))<0&&(a+=P),s=a-O[0],l=O[1]+s,!o&&l-a>=P?l=a+P:o&&a-l>=P?l=a-P:!o&&a>l?l=a+(P-R(a-l)):o&&a<l&&(l=a-(P-R(l-a))),O[0]=a,O[1]=l,i=O[0];var a,s,l,u=(r=O[1])-i;return this.addData(m.A,t,e,n,n,i,u,0,+!o),this._ctx&&this._ctx.arc(t,e,n,i,r,o),this._xi=I(r)*n+t,this._yi=D(r)*n+e,this},e.prototype.arcTo=function(t,e,n,i,r){return this._drawPendingPt(),this._ctx&&this._ctx.arcTo(t,e,n,i,r),this},e.prototype.rect=function(t,e,n,i){return this._drawPendingPt(),this._ctx&&this._ctx.rect(t,e,n,i),this.addData(m.R,t,e,n,i),this},e.prototype.closePath=function(){this._drawPendingPt(),this.addData(m.Z);var t=this._ctx,e=this._x0,n=this._y0;return t&&t.closePath(),this._xi=e,this._yi=n,this},e.prototype.fill=function(t){t&&t.fill(),this.toStatic()},e.prototype.stroke=function(t){t&&t.stroke(),this.toStatic()},e.prototype.len=function(){return this._len},e.prototype.setData=function(t){var e=t.length;!(this.data&&this.data.length===e)&&L&&(this.data=new Float32Array(e));for(var n=0;n<e;n++)this.data[n]=t[n];this._len=e},e.prototype.appendPath=function(t){t instanceof Array||(t=[t]);for(var e=t.length,n=0,i=this._len,r=0;r<e;r++)n+=t[r].len();L&&this.data instanceof Float32Array&&(this.data=new Float32Array(i+n));for(var r=0;r<e;r++)for(var o=t[r].data,a=0;a<o.length;a++)this.data[i++]=o[a];this._len=i},e.prototype.addData=function(t,e,n,i,r,o,a,s,l){if(this._saveData){var u=this.data;this._len+arguments.length>u.length&&(this._expandData(),u=this.data);for(var h=0;h<arguments.length;h++)u[this._len++]=arguments[h]}},e.prototype._drawPendingPt=function(){this._pendingPtDist>0&&(this._ctx&&this._ctx.lineTo(this._pendingPtX,this._pendingPtY),this._pendingPtDist=0)},e.prototype._expandData=function(){if(!(this.data instanceof Array)){for(var t=[],e=0;e<this._len;e++)t[e]=this.data[e];this.data=t}},e.prototype.toStatic=function(){if(this._saveData){this._drawPendingPt();var t=this.data;t instanceof Array&&(t.length=this._len,L&&this._len>11&&(this.data=new Float32Array(t)))}},e.prototype.getBoundingRect=function(){S[0]=S[1]=b[0]=b[1]=Number.MAX_VALUE,w[0]=w[1]=M[0]=M[1]=-Number.MAX_VALUE;var t,e=this.data,n=0,o=0,_=0,x=0;for(t=0;t<this._len;){var T=e[t++],k=1===t;switch(k&&(n=e[t],o=e[t+1],_=n,x=o),T){case m.M:n=_=e[t++],o=x=e[t++],b[0]=_,b[1]=x,M[0]=_,M[1]=x;break;case m.L:g(n,o,e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.C:!function(t,e,n,i,r,o,u,h,c,p){var d=a.pP,f=a.af,g=d(t,n,r,u,y);c[0]=1/0,c[1]=1/0,p[0]=-1/0,p[1]=-1/0;for(var m=0;m<g;m++){var _=f(t,n,r,u,y[m]);c[0]=s(_,c[0]),p[0]=l(_,p[0])}g=d(e,i,o,h,v);for(var m=0;m<g;m++){var x=f(e,i,o,h,v[m]);c[1]=s(x,c[1]),p[1]=l(x,p[1])}c[0]=s(t,c[0]),p[0]=l(t,p[0]),c[0]=s(u,c[0]),p[0]=l(u,p[0]),c[1]=s(e,c[1]),p[1]=l(e,p[1]),c[1]=s(h,c[1]),p[1]=l(h,p[1])}(n,o,e[t++],e[t++],e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.Q:!function(t,e,n,i,r,o,u,h){var c=a.QC,p=a.Zm,d=l(s(c(t,n,r),1),0),f=l(s(c(e,i,o),1),0),g=p(t,n,r,d),y=p(e,i,o,f);u[0]=s(t,r,g),u[1]=s(e,o,y),h[0]=l(t,r,g),h[1]=l(e,o,y)}(n,o,e[t++],e[t++],e[t],e[t+1],b,M),n=e[t++],o=e[t++];break;case m.A:var C=e[t++],A=e[t++],P=e[t++],L=e[t++],O=e[t++],R=e[t++]+O;t+=1;var Z=!e[t++];k&&(_=I(O)*P+C,x=D(O)*L+A),function(t,e,n,r,o,a,s,l,g){var y=i.VV,v=i.Fp,m=Math.abs(o-a);if(m%c<1e-4&&m>1e-4){l[0]=t-n,l[1]=e-r,g[0]=t+n,g[1]=e+r;return}if(p[0]=h(o)*n+t,p[1]=u(o)*r+e,d[0]=h(a)*n+t,d[1]=u(a)*r+e,y(l,p,d),v(g,p,d),(o%=c)<0&&(o+=c),(a%=c)<0&&(a+=c),o>a&&!s?a+=c:o<a&&s&&(o+=c),s){var _=a;a=o,o=_}for(var x=0;x<a;x+=Math.PI/2)x>o&&(f[0]=h(x)*n+t,f[1]=u(x)*r+e,y(l,f,l),v(g,f,g))}(C,A,P,L,O,R,Z,b,M),n=I(R)*P+C,o=D(R)*L+A;break;case m.R:g(_=n=e[t++],x=o=e[t++],_+e[t++],x+e[t++],b,M);break;case m.Z:n=_,o=x}i.VV(S,S,b),i.Fp(w,w,M)}return 0===t&&(S[0]=S[1]=w[0]=w[1]=0),new r.Z(S[0],S[1],w[0]-S[0],w[1]-S[1])},e.prototype._calculateLength=function(){var t=this.data,e=this._len,n=this._ux,i=this._uy,r=0,o=0,s=0,l=0;this._pathSegLen||(this._pathSegLen=[]);for(var u=this._pathSegLen,h=0,c=0,p=0;p<e;){var d=t[p++],f=1===p;f&&(r=t[p],o=t[p+1],s=r,l=o);var g=-1;switch(d){case m.M:r=s=t[p++],o=l=t[p++];break;case m.L:var y=t[p++],v=t[p++],_=y-r,x=v-o;(C(_)>n||C(x)>i||p===e-1)&&(g=Math.sqrt(_*_+x*x),r=y,o=v);break;case m.C:var S=t[p++],w=t[p++],y=t[p++],v=t[p++],b=t[p++],M=t[p++];g=(0,a.Ci)(r,o,S,w,y,v,b,M,10),r=b,o=M;break;case m.Q:var S=t[p++],w=t[p++],y=t[p++],v=t[p++];g=(0,a.wQ)(r,o,S,w,y,v,10),r=y,o=v;break;case m.A:var A=t[p++],L=t[p++],O=t[p++],R=t[p++],Z=t[p++],N=t[p++],z=N+Z;p+=1,f&&(s=I(Z)*O+A,l=D(Z)*R+L),g=k(O,R)*T(P,Math.abs(N)),r=I(z)*O+A,o=D(z)*R+L;break;case m.R:s=r=t[p++],l=o=t[p++],g=2*t[p++]+2*t[p++];break;case m.Z:var _=s-r,x=l-o;g=Math.sqrt(_*_+x*x),r=s,o=l}g>=0&&(u[c++]=g,h+=g)}return this._pathLen=h,h},e.prototype.rebuildPath=function(t,e){var n,i,r,o,s,l,u,h,c,p,d=this.data,f=this._ux,g=this._uy,y=this._len,v=e<1,S=0,w=0,b=0;if(!v||(this._pathSegLen||this._calculateLength(),u=this._pathSegLen,h=e*this._pathLen))t:for(var M=0;M<y;){var A=d[M++],P=1===M;switch(P&&(r=d[M],o=d[M+1],n=r,i=o),A!==m.L&&b>0&&(t.lineTo(c,p),b=0),A){case m.M:n=r=d[M++],i=o=d[M++],t.moveTo(r,o);break;case m.L:s=d[M++],l=d[M++];var L=C(s-r),O=C(l-o);if(L>f||O>g){if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;t.lineTo(r*(1-Z)+s*Z,o*(1-Z)+l*Z);break t}S+=R}t.lineTo(s,l),r=s,o=l,b=0}else{var N=L*L+O*O;N>b&&(c=s,p=l,b=N)}break;case m.C:var z=d[M++],E=d[M++],B=d[M++],F=d[M++],H=d[M++],W=d[M++];if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;(0,a.Vz)(r,z,B,H,Z,_),(0,a.Vz)(o,E,F,W,Z,x),t.bezierCurveTo(_[1],x[1],_[2],x[2],_[3],x[3]);break t}S+=R}t.bezierCurveTo(z,E,B,F,H,W),r=H,o=W;break;case m.Q:var z=d[M++],E=d[M++],B=d[M++],F=d[M++];if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;(0,a.Lx)(r,z,B,Z,_),(0,a.Lx)(o,E,F,Z,x),t.quadraticCurveTo(_[1],x[1],_[2],x[2]);break t}S+=R}t.quadraticCurveTo(z,E,B,F),r=B,o=F;break;case m.A:var V=d[M++],G=d[M++],U=d[M++],X=d[M++],Y=d[M++],q=d[M++],K=d[M++],j=!d[M++],J=U>X?U:X,Q=C(U-X)>.001,$=Y+q,tt=!1;if(v){var R=u[w++];S+R>h&&($=Y+q*(h-S)/R,tt=!0),S+=R}if(Q&&t.ellipse?t.ellipse(V,G,U,X,K,Y,$,j):t.arc(V,G,J,Y,$,j),tt)break t;P&&(n=I(Y)*U+V,i=D(Y)*X+G),r=I($)*U+V,o=D($)*X+G;break;case m.R:n=r=d[M],i=o=d[M+1],s=d[M++],l=d[M++];var te=d[M++],tn=d[M++];if(v){var R=u[w++];if(S+R>h){var ti=h-S;t.moveTo(s,l),t.lineTo(s+T(ti,te),l),(ti-=te)>0&&t.lineTo(s+te,l+T(ti,tn)),(ti-=tn)>0&&t.lineTo(s+k(te-ti,0),l+tn),(ti-=te)>0&&t.lineTo(s,l+k(tn-ti,0));break t}S+=R}t.rect(s,l,te,tn);break;case m.Z:if(v){var R=u[w++];if(S+R>h){var Z=(h-S)/R;t.lineTo(r*(1-Z)+n*Z,o*(1-Z)+i*Z);break t}S+=R}t.closePath(),r=n,o=i}}},e.prototype.clone=function(){var t=new e,n=this.data;return t.data=n.slice?n.slice():Array.prototype.slice.call(n),t._len=this._len,t},e.CMD=m,e.initDefaultProps=void((t=e.prototype)._saveData=!0,t._ux=0,t._uy=0,t._pendingPtDist=0,t._version=0),e}()},12430:function(t,e,n){n.d(e,{Z:()=>i});let i=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}()},15365:function(t,e,n){n.d(e,{ZP:()=>d,dN:()=>p});var i=n(85215),r=n(63261),o=i.yR;function a(t){return t>5e-5||t<-5e-5}var s=[],l=[],u=i.Ue(),h=Math.abs,c=function(){var t;function e(){}return e.prototype.getLocalTransform=function(t){return e.getLocalTransform(this,t)},e.prototype.setPosition=function(t){this.x=t[0],this.y=t[1]},e.prototype.setScale=function(t){this.scaleX=t[0],this.scaleY=t[1]},e.prototype.setSkew=function(t){this.skewX=t[0],this.skewY=t[1]},e.prototype.setOrigin=function(t){this.originX=t[0],this.originY=t[1]},e.prototype.needLocalTransform=function(){return a(this.rotation)||a(this.x)||a(this.y)||a(this.scaleX-1)||a(this.scaleY-1)||a(this.skewX)||a(this.skewY)},e.prototype.updateTransform=function(){var t=this.parent&&this.parent.transform,e=this.needLocalTransform(),n=this.transform;if(!(e||t)){n&&(o(n),this.invTransform=null);return}n=n||i.Ue(),e?this.getLocalTransform(n):o(n),t&&(e?i.dC(n,t,n):i.JG(n,t)),this.transform=n,this._resolveGlobalScaleRatio(n)},e.prototype._resolveGlobalScaleRatio=function(t){var e=this.globalScaleRatio;if(null!=e&&1!==e){this.getGlobalScale(s);var n=s[0]<0?-1:1,r=s[1]<0?-1:1,o=((s[0]-n)*e+n)/s[0]||0,a=((s[1]-r)*e+r)/s[1]||0;t[0]*=o,t[1]*=o,t[2]*=a,t[3]*=a}this.invTransform=this.invTransform||i.Ue(),i.U_(this.invTransform,t)},e.prototype.getComputedTransform=function(){for(var t=this,e=[];t;)e.push(t),t=t.parent;for(;t=e.pop();)t.updateTransform();return this.transform},e.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}},e.prototype.decomposeTransform=function(){if(this.transform){var t=this.parent,e=this.transform;t&&t.transform&&(t.invTransform=t.invTransform||i.Ue(),i.dC(l,t.invTransform,e),e=l);var n=this.originX,r=this.originY;(n||r)&&(u[4]=n,u[5]=r,i.dC(l,e,u),l[4]-=n,l[5]-=r,e=l),this.setLocalTransform(e)}},e.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[0]=1,t[1]=1),t},e.prototype.transformCoordToLocal=function(t,e){var n=[t,e],i=this.invTransform;return i&&r.Ne(n,n,i),n},e.prototype.transformCoordToGlobal=function(t,e){var n=[t,e],i=this.transform;return i&&r.Ne(n,n,i),n},e.prototype.getLineScale=function(){var t=this.transform;return t&&h(t[0]-1)>1e-10&&h(t[3]-1)>1e-10?Math.sqrt(h(t[0]*t[3]-t[2]*t[1])):1},e.prototype.copyTransform=function(t){for(var e=this,n=t,i=0;i<p.length;i++){var r=p[i];e[r]=n[r]}},e.getLocalTransform=function(t,e){e=e||[];var n=t.originX||0,r=t.originY||0,o=t.scaleX,a=t.scaleY,s=t.anchorX,l=t.anchorY,u=t.rotation||0,h=t.x,c=t.y,p=t.skewX?Math.tan(t.skewX):0,d=t.skewY?Math.tan(-t.skewY):0;if(n||r||s||l){var f=n+s,g=r+l;e[4]=-f*o-p*g*a,e[5]=-g*a-d*f*o}else e[4]=e[5]=0;return e[0]=o,e[3]=a,e[1]=d*o,e[2]=p*a,u&&i.U1(e,e,u),e[4]+=n+h,e[5]+=r+c,e},e.initDefaultProps=void((t=e.prototype).scaleX=t.scaleY=t.globalScaleRatio=1,t.x=t.y=t.originX=t.originY=t.skewX=t.skewY=t.rotation=t.anchorX=t.anchorY=0),e}(),p=["x","y","originX","originY","anchorX","anchorY","rotation","scaleX","scaleY","skewX","skewY"];let d=c},97566:function(t,e,n){n.d(e,{AZ:()=>S,Ci:()=>_,Jz:()=>w,Lx:()=>M,QC:()=>b,Vz:()=>v,Wr:()=>T,X_:()=>f,Zm:()=>x,af:()=>d,kD:()=>g,pP:()=>y,t1:()=>m,wQ:()=>k});var i=n(63261),r=Math.pow,o=Math.sqrt,a=o(3),s=1/3,l=(0,i.Ue)(),u=(0,i.Ue)(),h=(0,i.Ue)();function c(t){return t>-1e-8&&t<1e-8}function p(t){return t>1e-8||t<-1e-8}function d(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 f(t,e,n,i,r){var o=1-r;return 3*(((e-t)*o+2*(n-e)*r)*o+(i-n)*r*r)}function g(t,e,n,i,l,u){var h=i+3*(e-n)-t,p=3*(n-2*e+t),d=3*(e-t),f=t-l,g=p*p-3*h*d,y=p*d-9*h*f,v=d*d-3*p*f,m=0;if(c(g)&&c(y))if(c(p))u[0]=0;else{var _=-d/p;_>=0&&_<=1&&(u[m++]=_)}else{var x=y*y-4*g*v;if(c(x)){var S=y/g,_=-p/h+S,w=-S/2;_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w)}else if(x>0){var b=o(x),M=g*p+1.5*h*(-y+b),T=g*p+1.5*h*(-y-b),_=(-p-((M=M<0?-r(-M,s):r(M,s))+(T=T<0?-r(-T,s):r(T,s))))/(3*h);_>=0&&_<=1&&(u[m++]=_)}else{var k=Math.acos((2*g*p-3*h*y)/(2*o(g*g*g)))/3,I=o(g),D=Math.cos(k),_=(-p-2*I*D)/(3*h),w=(-p+I*(D+a*Math.sin(k)))/(3*h),C=(-p+I*(D-a*Math.sin(k)))/(3*h);_>=0&&_<=1&&(u[m++]=_),w>=0&&w<=1&&(u[m++]=w),C>=0&&C<=1&&(u[m++]=C)}}return m}function y(t,e,n,i,r){var a=6*n-12*e+6*t,s=9*e+3*i-3*t-9*n,l=3*e-3*t,u=0;if(c(s)){if(p(a)){var h=-l/a;h>=0&&h<=1&&(r[u++]=h)}}else{var d=a*a-4*s*l;if(c(d))r[0]=-a/(2*s);else if(d>0){var f=o(d),h=(-a+f)/(2*s),g=(-a-f)/(2*s);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function v(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 m(t,e,n,r,a,s,c,p,f,g,y){var v,m,_,x,S,w=.005,b=1/0;l[0]=f,l[1]=g;for(var M=0;M<1;M+=.05)u[0]=d(t,n,a,c,M),u[1]=d(e,r,s,p,M),(x=(0,i.WU)(l,u))<b&&(v=M,b=x);b=1/0;for(var T=0;T<32&&!(w<1e-4);T++)m=v-w,_=v+w,u[0]=d(t,n,a,c,m),u[1]=d(e,r,s,p,m),x=(0,i.WU)(u,l),m>=0&&x<b?(v=m,b=x):(h[0]=d(t,n,a,c,_),h[1]=d(e,r,s,p,_),S=(0,i.WU)(h,l),_<=1&&S<b?(v=_,b=S):w*=.5);return y&&(y[0]=d(t,n,a,c,v),y[1]=d(e,r,s,p,v)),o(b)}function _(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 g=f*p,y=d(t,n,r,a,g),v=d(e,i,o,s,g),m=y-u,_=v-h;c+=Math.sqrt(m*m+_*_),u=y,h=v}return c}function x(t,e,n,i){var r=1-i;return r*(r*t+2*i*e)+i*i*n}function S(t,e,n,i){return 2*((1-i)*(e-t)+i*(n-e))}function w(t,e,n,i,r){var a=t-2*e+n,s=2*(e-t),l=t-i,u=0;if(c(a)){if(p(s)){var h=-l/s;h>=0&&h<=1&&(r[u++]=h)}}else{var d=s*s-4*a*l;if(c(d)){var h=-s/(2*a);h>=0&&h<=1&&(r[u++]=h)}else if(d>0){var f=o(d),h=(-s+f)/(2*a),g=(-s-f)/(2*a);h>=0&&h<=1&&(r[u++]=h),g>=0&&g<=1&&(r[u++]=g)}}return u}function b(t,e,n){var i=t+n-2*e;return 0===i?.5:(t-e)/i}function M(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 T(t,e,n,r,a,s,c,p,d){var f,g=.005,y=1/0;l[0]=c,l[1]=p;for(var v=0;v<1;v+=.05){u[0]=x(t,n,a,v),u[1]=x(e,r,s,v);var m=(0,i.WU)(l,u);m<y&&(f=v,y=m)}y=1/0;for(var _=0;_<32&&!(g<1e-4);_++){var S=f-g,w=f+g;u[0]=x(t,n,a,S),u[1]=x(e,r,s,S);var m=(0,i.WU)(u,l);if(S>=0&&m<y)f=S,y=m;else{h[0]=x(t,n,a,w),h[1]=x(e,r,s,w);var b=(0,i.WU)(h,l);w<=1&&b<y?(f=w,y=b):g*=.5}}return d&&(d[0]=x(t,n,a,f),d[1]=x(e,r,s,f)),o(y)}function k(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=x(t,n,r,p),f=x(e,i,o,p),g=d-s,y=f-l;u+=Math.sqrt(g*g+y*y),s=d,l=f}return u}},75225:function(t,e,n){n.d(e,{A4:()=>h,F1:()=>f,UK:()=>c,YB:()=>u});var i=n(76226),r=Math.log(2);function o(t,e,n,i,a,s){var l=i+"-"+a,u=t.length;if(s.hasOwnProperty(l))return s[l];if(1===e){var h=Math.round(Math.log((1<<u)-1&~a)/r);return t[n][h]}for(var c=i|1<<n,p=n+1;i&1<<p;)p++;for(var d=0,f=0,g=0;f<u;f++){var y=1<<f;!(y&a)&&(d+=(g%2?-1:1)*t[n][f]*o(t,e-1,p,c,a|y,s),g++)}return s[l]=d,d}function a(t,e){var n=[[t[0],t[1],1,0,0,0,-e[0]*t[0],-e[0]*t[1]],[0,0,0,t[0],t[1],1,-e[1]*t[0],-e[1]*t[1]],[t[2],t[3],1,0,0,0,-e[2]*t[2],-e[2]*t[3]],[0,0,0,t[2],t[3],1,-e[3]*t[2],-e[3]*t[3]],[t[4],t[5],1,0,0,0,-e[4]*t[4],-e[4]*t[5]],[0,0,0,t[4],t[5],1,-e[5]*t[4],-e[5]*t[5]],[t[6],t[7],1,0,0,0,-e[6]*t[6],-e[6]*t[7]],[0,0,0,t[6],t[7],1,-e[7]*t[6],-e[7]*t[7]]],i={},r=o(n,8,0,0,0,i);if(0!==r){for(var a=[],s=0;s<8;s++)for(var l=0;l<8;l++)null==a[l]&&(a[l]=0),a[l]+=((s+l)%2?-1:1)*o(n,7,+(0===s),1<<s,1<<l,i)/r*e[s];return function(t,e,n){var i=e*a[6]+n*a[7]+1;t[0]=(e*a[0]+n*a[1]+a[2])/i,t[1]=(e*a[3]+n*a[4]+a[5])/i}}}var s="___zrEVENTSAVED",l=[];function u(t,e,n,i,r){return h(l,e,i,r,!0)&&h(t,n,l[0],l[1])}function h(t,e,n,r,o){if(e.getBoundingClientRect&&i.Z.domSupported&&!c(e)){var l=e[s]||(e[s]={}),u=function(t,e,n){for(var i=n?"invTrans":"trans",r=e[i],o=e.srcCoords,s=[],l=[],u=!0,h=0;h<4;h++){var c=t[h].getBoundingClientRect(),p=2*h,d=c.left,f=c.top;s.push(d,f),u=u&&o&&d===o[p]&&f===o[p+1],l.push(t[h].offsetLeft,t[h].offsetTop)}return u&&r?r:(e.srcCoords=s,e[i]=n?a(l,s):a(s,l))}(function(t,e){var n=e.markers;if(n)return n;n=e.markers=[];for(var i=["left","right"],r=["top","bottom"],o=0;o<4;o++){var a=document.createElement("div"),s=a.style,l=o%2,u=(o>>1)%2;s.cssText=["position: absolute","visibility: hidden","padding: 0","margin: 0","border-width: 0","user-select: none","width:0","height:0",i[l]+":0",r[u]+":0",i[1-l]+":auto",r[1-u]+":auto",""].join("!important;"),t.appendChild(a),n.push(a)}return n}(e,l),l,o);if(u)return u(t,n,r),!0}return!1}function c(t){return"CANVAS"===t.nodeName.toUpperCase()}var p=/([&<>"'])/g,d={"&":"&amp;","<":"&lt;",">":"&gt;",'"':"&quot;","'":"&#39;"};function f(t){return null==t?"":(t+"").replace(p,function(t,e){return d[e]})}},76226:function(t,e,n){n.d(e,{Z:()=>d});var i,r,o,a,s,l,u,h,c=function(){this.firefox=!1,this.ie=!1,this.edge=!1,this.newEdge=!1,this.weChat=!1},p=new function(){this.browser=new c,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?(p.wxa=!0,p.touchEventsSupported=!0):"undefined"==typeof document&&"undefined"!=typeof self?p.worker=!0:!p.hasGlobalWindow||"Deno"in window?(p.node=!0,p.svgSupported=!0):(i=navigator.userAgent,o=(r=p).browser,a=i.match(/Firefox\/([\d.]+)/),s=i.match(/MSIE\s([\d.]+)/)||i.match(/Trident\/.+?rv:(([\d.]+))/),l=i.match(/Edge?\/([\d.]+)/),u=/micromessenger/i.test(i),a&&(o.firefox=!0,o.version=a[1]),s&&(o.ie=!0,o.version=s[1]),l&&(o.edge=!0,o.version=l[1],o.newEdge=+l[1].split(".")[0]>18),u&&(o.weChat=!0),r.svgSupported="undefined"!=typeof SVGRect,r.touchEventsSupported="ontouchstart"in window&&!o.ie&&!o.edge,r.pointerEventsSupported="onpointerdown"in window&&(o.edge||o.ie&&+o.version>=11),r.domSupported="undefined"!=typeof document,h=document.documentElement.style,r.transform3dSupported=(o.ie&&"transition"in h||o.edge||"WebKitCSSMatrix"in window&&"m11"in new WebKitCSSMatrix||"MozPerspective"in h)&&!("OTransition"in h),r.transformSupported=r.transform3dSupported||o.ie&&+o.version>=9);let d=p},3036:function(t,e,n){n.d(e,{OD:()=>c,Oo:()=>p,eV:()=>l,iP:()=>h,sT:()=>f,xg:()=>d});var i=n(76226),r=n(75225),o=/^(?:mouse|pointer|contextmenu|drag|drop)|click/,a=[],s=i.Z.browser.firefox&&39>+i.Z.browser.version.split(".")[0];function l(t,e,n,i){return n=n||{},i?u(t,e,n):s&&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):u(t,e,n),n}function u(t,e,n){if(i.Z.domSupported&&t.getBoundingClientRect){var o=e.clientX,s=e.clientY;if((0,r.UK)(t)){var l=t.getBoundingClientRect();n.zrX=o-l.left,n.zrY=s-l.top;return}if((0,r.A4)(a,t,o,s)){n.zrX=a[0],n.zrY=a[1];return}}n.zrX=n.zrY=0}function h(t){return t||window.event}function c(t,e,n){if(null!=(e=h(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&&l(t,r,e,n)}else{l(t,e,e,n);var a=function(t){var e=t.wheelDelta;if(e)return e;var n=t.deltaX,i=t.deltaY;return null==n||null==i?e:3*(0!==i?Math.abs(i):Math.abs(n))*(i>0?-1:i<0?1:n>0?-1:1)}(e);e.zrDelta=a?a/120:-(e.detail||0)/3}var s=e.button;return null==e.which&&void 0!==s&&o.test(e.type)&&(e.which=1&s?1:2&s?3:4&s?2:0),e}function p(t,e,n,i){t.addEventListener(e,n,i)}function d(t,e,n,i){t.removeEventListener(e,n,i)}var f=function(t){t.preventDefault(),t.stopPropagation(),t.cancelBubble=!0}},85215:function(t,e,n){function i(){return[1,0,0,1,0,0]}function r(t){return t[0]=1,t[1]=0,t[2]=0,t[3]=1,t[4]=0,t[5]=0,t}function o(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 a(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 s(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 l(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 u(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 h(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}n.d(e,{Iu:()=>s,JG:()=>o,U1:()=>l,U_:()=>h,Ue:()=>i,bA:()=>u,dC:()=>a,yR:()=>r})},82379:function(t,e,n){n.d(e,{Uo:()=>a,n5:()=>o,qW:()=>l});var i,r,o=12,a="12px sans-serif",s=function(t){var e={};if("undefined"==typeof JSON)return e;for(var n=0;n<t.length;n++){var i=String.fromCharCode(n+32),r=(t.charCodeAt(n)-20)/100;e[i]=r}return e}("007LLmW'55;N0500LLLLLLLLLL00NNNLzWW\\\\WQb\\0FWLg\\bWb\\WQ\\WrWWQ000CL5LLFLL0LL**F*gLLLL5F0LF\\FFF5.5N"),l={createCanvas:function(){return"undefined"!=typeof document&&document.createElement("canvas")},measureText:function(t,e){if(!i){var n=l.createCanvas();i=n&&n.getContext("2d")}if(i)return r!==e&&(r=i.font=e||a),i.measureText(t);t=t||"",e=e||a;var u=/((?:\d+)?\.?\d*)px/.exec(e),h=u&&+u[1]||o,c=0;if(e.indexOf("mono")>=0)c=h*t.length;else for(var p=0;p<t.length;p++){var d=s[t[p]];c+=null==d?h:d*h}return{width:c}},loadImage:function(t,e,n){var i=new Image;return i.onload=e,i.onerror=n,i.src=t,i}}},22137:function(t,e,n){function i(t,e,n,i){var r=e+1;if(r===n)return 1;if(0>i(t[r++],t[e])){for(;r<n&&0>i(t[r],t[r-1]);)r++;var o=t,a=e,s=r;for(s--;a<s;){var l=o[a];o[a++]=o[s],o[s--]=l}}else for(;r<n&&i(t[r],t[r-1])>=0;)r++;return r-e}function r(t,e,n,i,r){for(i===e&&i++;i<n;i++){for(var o,a=t[i],s=e,l=i;s<l;)0>r(a,t[o=s+l>>>1])?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 o(t,e,n,i,r,o){var a=0,s=0,l=1;if(o(t,e[n+r])>0){for(s=i-r;l<s&&o(t,e[n+r+l])>0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}else{for(s=r+1;l<s&&0>=o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}for(a++;a<l;){var h=a+(l-a>>>1);o(t,e[n+h])>0?a=h+1:l=h}return l}function a(t,e,n,i,r,o){var a=0,s=0,l=1;if(0>o(t,e[n+r])){for(s=r+1;l<s&&0>o(t,e[n+r-l]);)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s);var u=a;a=r-l,l=r-u}else{for(s=i-r;l<s&&o(t,e[n+r+l])>=0;)a=l,(l=(l<<1)+1)<=0&&(l=s);l>s&&(l=s),a+=r,l+=r}for(a++;a<l;){var h=a+(l-a>>>1);0>o(t,e[n+h])?l=h:a=h+1}return l}function s(t,e,n,s){n||(n=0),s||(s=t.length);var l=s-n;if(!(l<2)){var u=0;if(l<32){u=i(t,n,s,e),r(t,n,s,n+u,e);return}var h=function(t,e){var n,i,r=7,s=0,l=[];function u(u){var h=n[u],c=i[u],p=n[u+1],d=i[u+1];i[u]=c+d,u===s-3&&(n[u+1]=n[u+2],i[u+1]=i[u+2]),s--;var f=a(t[p],t,h,c,0,e);h+=f,0!=(c-=f)&&0!==(d=o(t[h+c-1],t,p,d,d-1,e))&&(c<=d?function(n,i,s,u){var h,c,p,d=0;for(d=0;d<i;d++)l[d]=t[n+d];var f=0,g=s,y=n;if(t[y++]=t[g++],0==--u){for(d=0;d<i;d++)t[y+d]=l[f+d];return}if(1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f];return}for(var v=r;;){h=0,c=0,p=!1;do if(0>e(t[g],l[f])){if(t[y++]=t[g++],c++,h=0,0==--u){p=!0;break}}else if(t[y++]=l[f++],h++,c=0,1==--i){p=!0;break}while((h|c)<v);if(p)break;do{if(0!==(h=a(t[g],l,f,i,0,e))){for(d=0;d<h;d++)t[y+d]=l[f+d];if(y+=h,f+=h,(i-=h)<=1){p=!0;break}}if(t[y++]=t[g++],0==--u){p=!0;break}if(0!==(c=o(l[f],t,g,u,0,e))){for(d=0;d<c;d++)t[y+d]=t[g+d];if(y+=c,g+=c,0==(u-=c)){p=!0;break}}if(t[y++]=l[f++],1==--i){p=!0;break}v--}while(h>=7||c>=7);if(p)break;v<0&&(v=0),v+=2}if((r=v)<1&&(r=1),1===i){for(d=0;d<u;d++)t[y+d]=t[g+d];t[y+u]=l[f]}else if(0===i)throw Error();else for(d=0;d<i;d++)t[y+d]=l[f+d]}(h,c,p,d):function(n,i,s,u){var h=0;for(h=0;h<u;h++)l[h]=t[s+h];var c=n+i-1,p=u-1,d=s+u-1,f=0,g=0;if(t[d--]=t[c--],0==--i){for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h];return}if(1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p];return}for(var y=r;;){var v=0,m=0,_=!1;do if(0>e(l[p],t[c])){if(t[d--]=t[c--],v++,m=0,0==--i){_=!0;break}}else if(t[d--]=l[p--],m++,v=0,1==--u){_=!0;break}while((v|m)<y);if(_)break;do{if(0!=(v=i-a(l[p],t,n,i,i-1,e))){for(d-=v,c-=v,i-=v,g=d+1,f=c+1,h=v-1;h>=0;h--)t[g+h]=t[f+h];if(0===i){_=!0;break}}if(t[d--]=l[p--],1==--u){_=!0;break}if(0!=(m=u-o(t[c],l,0,u,u-1,e))){for(d-=m,p-=m,u-=m,g=d+1,f=p+1,h=0;h<m;h++)t[g+h]=l[f+h];if(u<=1){_=!0;break}}if(t[d--]=t[c--],0==--i){_=!0;break}y--}while(v>=7||m>=7);if(_)break;y<0&&(y=0),y+=2}if((r=y)<1&&(r=1),1===u){for(d-=i,c-=i,g=d+1,f=c+1,h=i-1;h>=0;h--)t[g+h]=t[f+h];t[d]=l[p]}else if(0===u)throw Error();else for(h=0,f=d-(u-1);h<u;h++)t[f+h]=l[h]}(h,c,p,d))}return n=[],i=[],{mergeRuns:function(){for(;s>1;){var t=s-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]&&t--;else if(i[t]>i[t+1])break;u(t)}},forceMergeRuns:function(){for(;s>1;){var t=s-2;t>0&&i[t-1]<i[t+1]&&t--,u(t)}},pushRun:function(t,e){n[s]=t,i[s]=e,s+=1}}}(t,e),c=function(t){for(var e=0;t>=32;)e|=1&t,t>>=1;return t+e}(l);do{if((u=i(t,n,s,e))<c){var p=l;p>c&&(p=c),r(t,n,n+p,n+u,e),u=p}h.pushRun(n,u),h.mergeRuns(),l-=u,n+=u}while(0!==l);h.forceMergeRuns()}}n.d(e,{Z:()=>s})},96585:function(t,e,n){n.d(e,{$j:()=>ts,Bu:()=>G,H:()=>v,HD:()=>R,I3:()=>th,Jv:()=>U,Kj:()=>V,Kn:()=>z,M8:()=>y,MY:()=>K,Mh:()=>F,Qq:()=>H,R1:()=>Y,RI:()=>tl,S6:()=>T,TS:()=>function t(e,n,i){if(!z(n)||!z(e))return i?m(n):e;for(var r in n)if(n.hasOwnProperty(r)&&r!==f){var o=e[r],a=n[r];!(z(a)&&z(o))||L(a)||L(o)||F(a)||F(o)||E(a)||E(o)||function(t){return t[Q]}(a)||function(t){return t[Q]}(o)?!i&&r in e||(e[r]=m(n[r])):t(o,a,i)}return e},UI:()=>k,WA:()=>P,WW:()=>to,XP:()=>C,XW:()=>w,ZT:()=>tu,ak:()=>A,cd:()=>Z,ce:()=>x,cq:()=>S,d9:()=>m,dL:()=>W,fU:()=>B,fy:()=>J,hX:()=>D,hj:()=>N,hu:()=>j,jB:()=>b,kJ:()=>L,kW:()=>tr,l7:()=>_,mf:()=>O,nW:()=>ta,pD:()=>X,s7:()=>$,tP:()=>q,u4:()=>I,zG:()=>M});var i=n(82379),r=I(["Function","RegExp","Date","Error","CanvasGradient","CanvasPattern","Image","Canvas"],function(t,e){return t["[object "+e+"]"]=!0,t},{}),o=I(["Int8","Uint8","Uint8Clamped","Int16","Uint16","Int32","Uint32","Float32","Float64"],function(t,e){return t["[object "+e+"Array]"]=!0,t},{}),a=Object.prototype.toString,s=Array.prototype,l=s.forEach,u=s.filter,h=s.slice,c=s.map,p=(function(){}).constructor,d=p?p.prototype:null,f="__proto__",g=2311;function y(){return g++}function v(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];"undefined"!=typeof console&&console.error.apply(console,t)}function m(t){if(null==t||"object"!=typeof t)return t;var e=t,n=a.call(t);if("[object Array]"===n){if(!t[Q]){e=[];for(var i=0,s=t.length;i<s;i++)e[i]=m(t[i])}}else if(o[n]){if(!t[Q]){var l=t.constructor;if(l.from)e=l.from(t);else{e=new l(t.length);for(var i=0,s=t.length;i<s;i++)e[i]=t[i]}}}else if(!r[n]&&!t[Q]&&!F(t))for(var u in e={},t)t.hasOwnProperty(u)&&u!==f&&(e[u]=m(t[u]));return e}function _(t,e){if(Object.assign)Object.assign(t,e);else for(var n in e)e.hasOwnProperty(n)&&n!==f&&(t[n]=e[n]);return t}function x(t,e,n){for(var i=C(e),r=0,o=i.length;r<o;r++){var a=i[r];(n?null!=e[a]:null==t[a])&&(t[a]=e[a])}return t}function S(t,e){if(t){if(t.indexOf)return t.indexOf(e);for(var n=0,i=t.length;n<i;n++)if(t[n]===e)return n}return -1}function w(t,e){var n=t.prototype;function i(){}for(var r in i.prototype=e.prototype,t.prototype=new i,n)n.hasOwnProperty(r)&&(t.prototype[r]=n[r]);t.prototype.constructor=t,t.superClass=e}function b(t,e,n){if(t="prototype"in t?t.prototype:t,e="prototype"in e?e.prototype:e,Object.getOwnPropertyNames)for(var i=Object.getOwnPropertyNames(e),r=0;r<i.length;r++){var o=i[r];"constructor"!==o&&(n?null!=e[o]:null==t[o])&&(t[o]=e[o])}else x(t,e,n)}function M(t){return!!t&&"string"!=typeof t&&"number"==typeof t.length}function T(t,e,n){if(t&&e)if(t.forEach&&t.forEach===l)t.forEach(e,n);else if(t.length===+t.length)for(var i=0,r=t.length;i<r;i++)e.call(n,t[i],i,t);else for(var o in t)t.hasOwnProperty(o)&&e.call(n,t[o],o,t)}function k(t,e,n){if(!t)return[];if(!e)return q(t);if(t.map&&t.map===c)return t.map(e,n);for(var i=[],r=0,o=t.length;r<o;r++)i.push(e.call(n,t[r],r,t));return i}function I(t,e,n,i){if(t&&e){for(var r=0,o=t.length;r<o;r++)n=e.call(i,n,t[r],r,t);return n}}function D(t,e,n){if(!t)return[];if(!e)return q(t);if(t.filter&&t.filter===u)return t.filter(e,n);for(var i=[],r=0,o=t.length;r<o;r++)e.call(n,t[r],r,t)&&i.push(t[r]);return i}function C(t){if(!t)return[];if(Object.keys)return Object.keys(t);var e=[];for(var n in t)t.hasOwnProperty(n)&&e.push(n);return e}i.qW.createCanvas;var A=d&&O(d.bind)?d.call.bind(d.bind):function(t,e){for(var n=[],i=2;i<arguments.length;i++)n[i-2]=arguments[i];return function(){return t.apply(e,n.concat(h.call(arguments)))}};function P(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return function(){return t.apply(this,e.concat(h.call(arguments)))}}function L(t){return Array.isArray?Array.isArray(t):"[object Array]"===a.call(t)}function O(t){return"function"==typeof t}function R(t){return"string"==typeof t}function Z(t){return"[object String]"===a.call(t)}function N(t){return"number"==typeof t}function z(t){var e=typeof t;return"function"===e||!!t&&"object"===e}function E(t){return!!r[a.call(t)]}function B(t){return!!o[a.call(t)]}function F(t){return"object"==typeof t&&"number"==typeof t.nodeType&&"object"==typeof t.ownerDocument}function H(t){return null!=t.colorStops}function W(t){return null!=t.image}function V(t){return"[object RegExp]"===a.call(t)}function G(t){return t!=t}function U(){for(var t=[],e=0;e<arguments.length;e++)t[e]=arguments[e];for(var n=0,i=t.length;n<i;n++)if(null!=t[n])return t[n]}function X(t,e){return null!=t?t:e}function Y(t,e,n){return null!=t?t:null!=e?e:n}function q(t){for(var e=[],n=1;n<arguments.length;n++)e[n-1]=arguments[n];return h.apply(t,e)}function K(t){if("number"==typeof t)return[t,t,t,t];var e=t.length;return 2===e?[t[0],t[1],t[0],t[1]]:3===e?[t[0],t[1],t[2],t[1]]:t}function j(t,e){if(!t)throw Error(e)}function J(t){return null==t?null:"function"==typeof t.trim?t.trim():t.replace(/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,"")}var Q="__ec_primitive__";function $(t){t[Q]=!0}function tt(t){return t[Q]}var te=function(){function t(){this.data={}}return t.prototype.delete=function(t){var e=this.has(t);return e&&delete this.data[t],e},t.prototype.has=function(t){return this.data.hasOwnProperty(t)},t.prototype.get=function(t){return this.data[t]},t.prototype.set=function(t,e){return this.data[t]=e,this},t.prototype.keys=function(){return C(this.data)},t.prototype.forEach=function(t){var e=this.data;for(var n in e)e.hasOwnProperty(n)&&t(e[n],n)},t}(),tn="function"==typeof Map,ti=function(){function t(e){var n=L(e);this.data=tn?new Map:new te;var i=this;function r(t,e){n?i.set(t,e):i.set(e,t)}e instanceof t?e.each(r):e&&T(e,r)}return t.prototype.hasKey=function(t){return this.data.has(t)},t.prototype.get=function(t){return this.data.get(t)},t.prototype.set=function(t,e){return this.data.set(t,e),e},t.prototype.each=function(t,e){this.data.forEach(function(n,i){t.call(e,n,i)})},t.prototype.keys=function(){var t=this.data.keys();return tn?Array.from(t):t},t.prototype.removeKey=function(t){this.data.delete(t)},t}();function tr(t){return new ti(t)}function to(t,e){for(var n=new t.constructor(t.length+e.length),i=0;i<t.length;i++)n[i]=t[i];for(var r=t.length,i=0;i<e.length;i++)n[i+r]=e[i];return n}function ta(t,e){var n;if(Object.create)n=Object.create(t);else{var i=function(){};i.prototype=t,n=new i}return e&&_(n,e),n}function ts(t){var e=t.style;e.webkitUserSelect="none",e.userSelect="none",e.webkitTapHighlightColor="rgba(0,0,0,0)",e["-webkit-touch-callout"]="none"}function tl(t,e){return t.hasOwnProperty(e)}function tu(){}var th=180/Math.PI},63261:function(t,e,n){function i(t,e){return null==t&&(t=0),null==e&&(e=0),[t,e]}function r(t){return[t[0],t[1]]}function o(t,e,n){return t[0]=e[0]+n[0],t[1]=e[1]+n[1],t}function a(t,e,n){return t[0]=e[0]-n[0],t[1]=e[1]-n[1],t}function s(t,e,n){return t[0]=e[0]*n,t[1]=e[1]*n,t}function l(t,e){var n,i=Math.sqrt((n=e)[0]*n[0]+n[1]*n[1]);return 0===i?(t[0]=0,t[1]=0):(t[0]=e[0]/i,t[1]=e[1]/i),t}function u(t,e){return Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}n.d(e,{Fp:()=>f,Fv:()=>l,IH:()=>o,Ne:()=>p,TE:()=>u,TK:()=>h,Ue:()=>i,VV:()=>d,WU:()=>c,bA:()=>s,d9:()=>r,lu:()=>a});var h=u,c=function(t,e){return(t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])};function p(t,e,n){var i=e[0],r=e[1];return t[0]=n[0]*i+n[2]*r+n[4],t[1]=n[1]*i+n[3]*r+n[5],t}function d(t,e,n){return t[0]=Math.min(e[0],n[0]),t[1]=Math.min(e[1],n[1]),t}function f(t,e,n){return t[0]=Math.max(e[0],n[0]),t[1]=Math.max(e[1],n[1]),t}},90635:function(t,e,n){n.d(e,{ZP:()=>y,ik:()=>h,tj:()=>u});var i=n(12012),r=n(75742),o=n(44964),a=n(96585),s=n(59177),l="__zr_style_"+Math.round(10*Math.random()),u={shadowBlur:0,shadowOffsetX:0,shadowOffsetY:0,shadowColor:"#000",opacity:1,blend:"source-over"},h={style:{shadowBlur:!0,shadowOffsetX:!0,shadowOffsetY:!0,shadowColor:!0,opacity:!0}};u[l]=!0;var c=["z","z2","invisible"],p=["invisible"],d=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(n,t),n.prototype._init=function(e){for(var n=(0,a.XP)(e),i=0;i<n.length;i++){var r=n[i];"style"===r?this.useStyle(e[r]):t.prototype.attrKV.call(this,r,e[r])}this.style||this.useStyle({})},n.prototype.beforeBrush=function(){},n.prototype.afterBrush=function(){},n.prototype.innerBeforeBrush=function(){},n.prototype.innerAfterBrush=function(){},n.prototype.shouldBePainted=function(t,e,n,i){var r,o,a,s=this.transform;if(this.ignore||this.invisible||0===this.style.opacity||this.culling&&(r=this,o=t,a=e,f.copy(r.getBoundingRect()),r.transform&&f.applyTransform(r.transform),g.width=o,g.height=a,!f.intersect(g))||s&&!s[0]&&!s[3])return!1;if(n&&this.__clipPaths){for(var l=0;l<this.__clipPaths.length;++l)if(this.__clipPaths[l].isZeroArea())return!1}if(i&&this.parent)for(var u=this.parent;u;){if(u.ignore)return!1;u=u.parent}return!0},n.prototype.contain=function(t,e){return this.rectContain(t,e)},n.prototype.traverse=function(t,e){t.call(e,this)},n.prototype.rectContain=function(t,e){var n=this.transformCoordToLocal(t,e);return this.getBoundingRect().contain(n[0],n[1])},n.prototype.getPaintRect=function(){var t=this._paintRect;if(!this._paintRect||this.__dirty){var e=this.transform,n=this.getBoundingRect(),i=this.style,r=i.shadowBlur||0,a=i.shadowOffsetX||0,s=i.shadowOffsetY||0;t=this._paintRect||(this._paintRect=new o.Z(0,0,0,0)),e?o.Z.applyTransform(t,n,e):t.copy(n),(r||a||s)&&(t.width+=2*r+Math.abs(a),t.height+=2*r+Math.abs(s),t.x=Math.min(t.x,t.x+a-r),t.y=Math.min(t.y,t.y+s-r));var l=this.dirtyRectTolerance;t.isZero()||(t.x=Math.floor(t.x-l),t.y=Math.floor(t.y-l),t.width=Math.ceil(t.width+1+2*l),t.height=Math.ceil(t.height+1+2*l))}return t},n.prototype.setPrevPaintRect=function(t){t?(this._prevPaintRect=this._prevPaintRect||new o.Z(0,0,0,0),this._prevPaintRect.copy(t)):this._prevPaintRect=null},n.prototype.getPrevPaintRect=function(){return this._prevPaintRect},n.prototype.animateStyle=function(t){return this.animate("style",t)},n.prototype.updateDuringAnimation=function(t){"style"===t?this.dirtyStyle():this.markRedraw()},n.prototype.attrKV=function(e,n){"style"!==e?t.prototype.attrKV.call(this,e,n):this.style?this.setStyle(n):this.useStyle(n)},n.prototype.setStyle=function(t,e){return"string"==typeof t?this.style[t]=e:(0,a.l7)(this.style,t),this.dirtyStyle(),this},n.prototype.dirtyStyle=function(t){t||this.markRedraw(),this.__dirty|=s.SE,this._rect&&(this._rect=null)},n.prototype.dirty=function(){this.dirtyStyle()},n.prototype.styleChanged=function(){return!!(this.__dirty&s.SE)},n.prototype.styleUpdated=function(){this.__dirty&=~s.SE},n.prototype.createStyle=function(t){return(0,a.nW)(u,t)},n.prototype.useStyle=function(t){t[l]||(t=this.createStyle(t)),this.__inHover?this.__hoverStyle=t:this.style=t,this.dirtyStyle()},n.prototype.isStyleObject=function(t){return t[l]},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.style&&!n.style&&(n.style=this._mergeStyle(this.createStyle(),this.style)),this._savePrimaryToNormal(e,n,c)},n.prototype._applyStateObj=function(e,n,i,r,o,s){t.prototype._applyStateObj.call(this,e,n,i,r,o,s);var l,u=!(n&&r);if(n&&n.style?o?r?l=n.style:(l=this._mergeStyle(this.createStyle(),i.style),this._mergeStyle(l,n.style)):(l=this._mergeStyle(this.createStyle(),r?this.style:i.style),this._mergeStyle(l,n.style)):u&&(l=i.style),l)if(o){var h=this.style;if(this.style=this.createStyle(u?{}:h),u)for(var d=(0,a.XP)(h),f=0;f<d.length;f++){var g=d[f];g in l&&(l[g]=l[g],this.style[g]=h[g])}for(var y=(0,a.XP)(l),f=0;f<y.length;f++){var g=y[f];this.style[g]=this.style[g]}this._transitionState(e,{style:l},s,this.getAnimationStyleProps())}else this.useStyle(l);for(var v=this.__inHover?p:c,f=0;f<v.length;f++){var g=v[f];n&&null!=n[g]?this[g]=n[g]:u&&null!=i[g]&&(this[g]=i[g])}},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.style&&(n=n||{},this._mergeStyle(n,o.style))}return n&&(i.style=n),i},n.prototype._mergeStyle=function(t,e){return(0,a.l7)(t,e),t},n.prototype.getAnimationStyleProps=function(){return h},n.initDefaultProps=void((e=n.prototype).type="displayable",e.invisible=!1,e.z=0,e.z2=0,e.zlevel=0,e.culling=!1,e.cursor="pointer",e.rectHover=!1,e.incremental=!1,e._rect=null,e.dirtyRectTolerance=0,e.__dirty=s.YV|s.SE),n}(r.Z),f=new o.Z(0,0,0,0),g=new o.Z(0,0,0,0);let y=d},75872:function(t,e,n){n.d(e,{Z:()=>i});let i=function(){function t(t){this.colorStops=t||[]}return t.prototype.addColorStop=function(t,e){this.colorStops.push({offset:t,color:e})},t}()},19171:function(t,e,n){n.d(e,{Z:()=>l});var i=n(12012),r=n(96585),o=n(75742),a=n(44964),s=function(t){function e(e){var n=t.call(this)||this;return n.isGroup=!0,n._children=[],n.attr(e),n}return(0,i.ZT)(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<e.length;n++)if(e[n].name===t)return e[n]},e.prototype.childCount=function(){return this._children.length},e.prototype.add=function(t){return t&&t!==this&&t.parent!==this&&(this._children.push(t),this._doAdd(t)),this},e.prototype.addBefore=function(t,e){if(t&&t!==this&&t.parent!==this&&e&&e.parent===this){var n=this._children,i=n.indexOf(e);i>=0&&(n.splice(i,0,t),this._doAdd(t))}return this},e.prototype.replace=function(t,e){var n=r.cq(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=r.cq(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;n<t.length;n++){var i=t[n];e&&i.removeSelfFromZr(e),i.parent=null}return t.length=0,this},e.prototype.eachChild=function(t,e){for(var n=this._children,i=0;i<n.length;i++){var r=n[i];t.call(e,r,i)}return this},e.prototype.traverse=function(t,e){for(var n=0;n<this._children.length;n++){var i=this._children[n],r=t.call(e,i);i.isGroup&&!r&&i.traverse(t,e)}return this},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].addSelfToZr(e)},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].removeSelfFromZr(e)},e.prototype.getBoundingRect=function(t){for(var e=new a.Z(0,0,0,0),n=t||this._children,i=[],r=null,o=0;o<n.length;o++){var s=n[o];if(!s.ignore&&!s.invisible){var l=s.getBoundingRect(),u=s.getLocalTransform(i);u?(a.Z.applyTransform(e,l,u),(r=r||e.clone()).union(e)):(r=r||l.clone()).union(l)}}return r||e},e}(o.Z);s.prototype.type="group";let l=s},31386:function(t,e,n){n.d(e,{ZP:()=>h});var i=n(12012),r=n(90635),o=n(44964),a=n(96585),s=(0,a.ce)({x:0,y:0},r.tj),l={style:(0,a.ce)({x:!0,y:!0,width:!0,height:!0,sx:!0,sy:!0,sWidth:!0,sHeight:!0},r.ik.style)},u=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),e.prototype.createStyle=function(t){return(0,a.nW)(s,t)},e.prototype._getSize=function(t){var e,n=this.style,i=n[t];if(null!=i)return i;var r=(e=n.image)&&"string"!=typeof e&&e.width&&e.height?n.image:this.__image;if(!r)return 0;var o="width"===t?"height":"width",a=n[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 l},e.prototype.getBoundingRect=function(){var t=this.style;return this._rect||(this._rect=new o.Z(t.x||0,t.y||0,this.getWidth(),this.getHeight())),this._rect},e}(r.ZP);u.prototype.type="image";let h=u},71756:function(t,e,n){n.d(e,{Z:()=>r});var i=n(12012);let r=function(t){function e(e,n,i,r,o,a){var s=t.call(this,o)||this;return s.x=null==e?0:e,s.y=null==n?0:n,s.x2=null==i?1:i,s.y2=null==r?0:r,s.type="linear",s.global=a||!1,s}return(0,i.ZT)(e,t),e}(n(75872).Z)},50654:function(t,e,n){n.d(e,{$t:()=>w,ZP:()=>T});var i=n(12012),r=n(90635),o=n(36209);function a(t,e,n,i,r,o,a){if(0===r)return!1;var s=0,l=t;if(a>e+r&&a>i+r||a<e-r&&a<i-r||o>t+r&&o>n+r||o<t-r&&o<n-r)return!1;if(t===n)return Math.abs(o-t)<=r/2;s=(e-i)/(t-n);var u=s*o-a+(l=(t*i-n*e)/(t-n));return u*u/(s*s+1)<=r/2*r/2}var s=n(97566),l=2*Math.PI;function u(t){return(t%=l)<0&&(t+=l),t}var h=2*Math.PI;function c(t,e,n,i,r,o){if(o>e&&o>i||o<e&&o<i||i===e)return 0;var a=(o-e)/(i-e),s=i<e?1:-1;(1===a||0===a)&&(s=i<e?.5:-.5);var l=a*(n-t)+t;return l===r?1/0:l>r?s:0}var p=o.Z.CMD,d=2*Math.PI,f=[-1,-1,-1],g=[-1,-1];function y(t,e,n,i,r){for(var o,l,y=t.data,v=t.len(),m=0,_=0,x=0,S=0,w=0,b=0;b<v;){var M,T,k,I,D,C,A,P,L,O,R,Z,N,z,E=y[b++],B=1===b;switch(E===p.M&&b>1&&!n&&(m+=c(_,x,S,w,i,r)),B&&(_=y[b],x=y[b+1],S=_,w=x),E){case p.M:S=y[b++],w=y[b++],_=S,x=w;break;case p.L:if(n){if(a(_,x,y[b],y[b+1],e,i,r))return!0}else m+=c(_,x,y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.C:if(n){if(M=_,T=x,k=y[b++],I=y[b++],D=y[b++],C=y[b++],A=y[b],P=y[b+1],0!==e&&(!(r>T+e)||!(r>I+e)||!(r>C+e)||!(r>P+e))&&(!(r<T-e)||!(r<I-e)||!(r<C-e)||!(r<P-e))&&(!(i>M+e)||!(i>k+e)||!(i>D+e)||!(i>A+e))&&(!(i<M-e)||!(i<k-e)||!(i<D-e)||!(i<A-e))&&s.t1(M,T,k,I,D,C,A,P,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l,u,h){if(h>e&&h>i&&h>o&&h>l||h<e&&h<i&&h<o&&h<l)return 0;var c=s.kD(e,i,o,l,h,f);if(0===c)return 0;for(var p=0,d=-1,y=void 0,v=void 0,m=0;m<c;m++){var _=f[m],x=0===_||1===_?.5:1;s.af(t,n,r,a,_)<u||(d<0&&(d=s.pP(e,i,o,l,g),g[1]<g[0]&&d>1&&function(){var t=g[0];g[0]=g[1],g[1]=t}(),y=s.af(e,i,o,l,g[0]),d>1&&(v=s.af(e,i,o,l,g[1]))),2===d?_<g[0]?p+=y<e?x:-x:_<g[1]?p+=v<y?x:-x:p+=l<v?x:-x:_<g[0]?p+=y<e?x:-x:p+=l<y?x:-x)}return p}(_,x,y[b++],y[b++],y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.Q:if(n){if(L=_,O=x,R=y[b++],Z=y[b++],N=y[b],z=y[b+1],0!==e&&(!(r>O+e)||!(r>Z+e)||!(r>z+e))&&(!(r<O-e)||!(r<Z-e)||!(r<z-e))&&(!(i>L+e)||!(i>R+e)||!(i>N+e))&&(!(i<L-e)||!(i<R-e)||!(i<N-e))&&(0,s.Wr)(L,O,R,Z,N,z,i,r,null)<=e/2)return!0}else m+=function(t,e,n,i,r,o,a,l){if(l>e&&l>i&&l>o||l<e&&l<i&&l<o)return 0;var u=s.Jz(e,i,o,l,f);if(0===u)return 0;var h=s.QC(e,i,o);if(h>=0&&h<=1){for(var c=0,p=s.Zm(e,i,o,h),d=0;d<u;d++){var g=0===f[d]||1===f[d]?.5:1,y=s.Zm(t,n,r,f[d]);y<a||(f[d]<h?c+=p<e?g:-g:c+=o<p?g:-g)}return c}var g=0===f[0]||1===f[0]?.5:1,y=s.Zm(t,n,r,f[0]);return y<a?0:o<e?g:-g}(_,x,y[b++],y[b++],y[b],y[b+1],i,r)||0;_=y[b++],x=y[b++];break;case p.A:var F=y[b++],H=y[b++],W=y[b++],V=y[b++],G=y[b++],U=y[b++];b+=1;var X=!!(1-y[b++]);o=Math.cos(G)*W+F,l=Math.sin(G)*V+H,B?(S=o,w=l):m+=c(_,x,o,l,i,r);var Y=(i-F)*V/W+F;if(n){if(function(t,e,n,i,r,o,a,s,l){if(0===a)return!1;var c=Math.sqrt((s-=t)*s+(l-=e)*l);if(c-a>n||c+a<n)return!1;if(Math.abs(i-r)%h<1e-4)return!0;if(o){var p=i;i=u(r),r=u(p)}else i=u(i),r=u(r);i>r&&(r+=h);var d=Math.atan2(l,s);return d<0&&(d+=h),d>=i&&d<=r||d+h>=i&&d+h<=r}(F,H,V,G,G+U,X,e,Y,r))return!0}else m+=function(t,e,n,i,r,o,a,s){if((s-=e)>n||s<-n)return 0;var l=Math.sqrt(n*n-s*s);f[0]=-l,f[1]=l;var u=Math.abs(i-r);if(u<1e-4)return 0;if(u>=d-1e-4){i=0,r=d;var h=o?1:-1;return a>=f[0]+t&&a<=f[1]+t?h:0}if(i>r){var c=i;i=r,r=c}i<0&&(i+=d,r+=d);for(var p=0,g=0;g<2;g++){var y=f[g];if(y+t>a){var v=Math.atan2(s,y),h=o?1:-1;v<0&&(v=d+v),(v>=i&&v<=r||v+d>=i&&v+d<=r)&&(v>Math.PI/2&&v<1.5*Math.PI&&(h=-h),p+=h)}}return p}(F,H,V,G,G+U,X,Y,r);_=Math.cos(G+U)*W+F,x=Math.sin(G+U)*V+H;break;case p.R:S=_=y[b++],w=x=y[b++];var q=y[b++],K=y[b++];if(o=S+q,l=w+K,n){if(a(S,w,o,w,e,i,r)||a(o,w,o,l,e,i,r)||a(o,l,S,l,e,i,r)||a(S,l,S,w,e,i,r))return!0}else m+=c(o,w,o,l,i,r),m+=c(S,l,S,w,i,r);break;case p.Z:if(n){if(a(_,x,S,w,e,i,r))return!0}else m+=c(_,x,S,w,i,r);_=S,x=w}}return n||1e-4>Math.abs(x-w)||(m+=c(_,x,S,w,i,r)||0),0!==m}var v=n(96585),m=n(67375),_=n(8473),x=n(59177),S=n(15365),w=(0,v.ce)({fill:"#000",stroke:null,strokePercent:1,fillOpacity:1,strokeOpacity:1,lineDashOffset:0,lineWidth:1,lineCap:"butt",miterLimit:10,strokeNoScale:!1,strokeFirst:!1},r.tj),b={style:(0,v.ce)({fill:!0,stroke:!0,strokePercent:!0,fillOpacity:!0,strokeOpacity:!0,lineDashOffset:!0,lineWidth:!0,miterLimit:!0},r.ik.style)},M=S.dN.concat(["invisible","culling","z","z2","zlevel","parent"]);let T=function(t){var e;function n(e){return t.call(this,e)||this}return(0,i.ZT)(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<M.length;++s)r[M[s]]=this[M[s]];r.__dirty|=x.YV}else this._decalEl&&(this._decalEl=null)},n.prototype.getDecalElement=function(){return this._decalEl},n.prototype._init=function(e){var n=(0,v.XP)(e);this.shape=this.getDefaultShape();var i=this.getDefaultStyle();i&&this.useStyle(i);for(var r=0;r<n.length;r++){var o=n[r],a=e[o];"style"===o?this.style?(0,v.l7)(this.style,a):this.useStyle(a):"shape"===o?(0,v.l7)(this.shape,a):t.prototype.attrKV.call(this,o,a)}this.style||this.useStyle({})},n.prototype.getDefaultStyle=function(){return null},n.prototype.getDefaultShape=function(){return{}},n.prototype.canBeInsideText=function(){return this.hasFill()},n.prototype.getInsideTextFill=function(){var t=this.style.fill;if("none"!==t){if((0,v.HD)(t)){var e=(0,m.L0)(t,0);return e>.5?_.vU:e>.2?_.iv:_.GD}else if(t)return _.GD}return _.vU},n.prototype.getInsideTextStroke=function(t){var e=this.style.fill;if((0,v.HD)(e)){var n=this.__zr;if(!!(n&&n.isDarkMode())==(0,m.L0)(t,0)<_.Ak)return e}},n.prototype.buildPath=function(t,e,n){},n.prototype.pathUpdated=function(){this.__dirty&=~x.RH},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 o.Z(!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||this.__dirty&x.RH)&&(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)),y(o,a/s,!0,t,e)))return!0}if(this.hasFill())return y(o,0,!1,t,e)}return!1},n.prototype.dirtyShape=function(){this.__dirty|=x.RH,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:(0,v.l7)(n,t),this.dirtyShape(),this},n.prototype.shapeChanged=function(){return!!(this.__dirty&x.RH)},n.prototype.createStyle=function(t){return(0,v.nW)(w,t)},n.prototype._innerSaveToNormal=function(e){t.prototype._innerSaveToNormal.call(this,e);var n=this._normalState;e.shape&&!n.shape&&(n.shape=(0,v.l7)({},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=(0,v.l7)({},i.shape),(0,v.l7)(s,n.shape)):(s=(0,v.l7)({},r?this.shape:i.shape),(0,v.l7)(s,n.shape)):l&&(s=i.shape),s)if(o){this.shape=(0,v.l7)({},this.shape);for(var u={},h=(0,v.XP)(s),c=0;c<h.length;c++){var p=h[c];"object"==typeof s[p]?this.shape[p]=s[p]:u[p]=s[p]}this._transitionState(e,{shape:u},a)}else this.shape=s,this.dirtyShape()},n.prototype._mergeStates=function(e){for(var n,i=t.prototype._mergeStates.call(this,e),r=0;r<e.length;r++){var o=e[r];o.shape&&(n=n||{},this._mergeStyle(n,o.shape))}return n&&(i.shape=n),i},n.prototype.getAnimationStyleProps=function(){return b},n.prototype.isZeroArea=function(){return!1},n.extend=function(t){var e=function(e){function n(n){var i=e.call(this,n)||this;return t.init&&t.init.call(i,n),i}return(0,i.ZT)(n,e),n.prototype.getDefaultStyle=function(){return(0,v.d9)(t.style)},n.prototype.getDefaultShape=function(){return(0,v.d9)(t.shape)},n}(n);for(var r in t)"function"==typeof t[r]&&(e.prototype[r]=t[r]);return e},n.initDefaultProps=void((e=n.prototype).type="path",e.strokeContainThreshold=5,e.segmentIgnoreThreshold=0,e.subPixelOptimize=!1,e.autoBatch=!1,e.__dirty=x.YV|x.SE|x.RH),n}(r.ZP)},39183:function(t,e,n){n.d(e,{Z:()=>c});var i=n(12012),r=n(90635),o=n(45258),a=n(50654),s=n(96585),l=n(82379),u=(0,s.ce)({strokeFirst:!0,font:l.Uo,x:0,y:0,textAlign:"left",textBaseline:"top",miterLimit:2},a.$t),h=function(t){function e(){return null!==t&&t.apply(this,arguments)||this}return(0,i.ZT)(e,t),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.createStyle=function(t){return(0,s.nW)(u,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=(0,o.lP)(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}(r.ZP);h.prototype.type="tspan";let c=h},26991:function(t,e,n){n.d(e,{ZP:()=>Z});var i=n(12012),r=n(25259),o=n(96585),a=n(45258),s=/\{([a-zA-Z0-9_]+)\|([^}]*)\}/g;function l(t,e,n,i){i=i||{};var r=(0,o.l7)({},i);r.font=e,n=(0,o.pD)(n,"..."),r.maxIterations=(0,o.pD)(i.maxIterations,2);var s=r.minChar=(0,o.pD)(i.minChar,0);r.cnCharWidth=(0,a.dz)("国",e);var l=r.ascCharWidth=(0,a.dz)("a",e);r.placeholder=(0,o.pD)(i.placeholder,"");for(var u=t=Math.max(0,t-1),h=0;h<s&&u>=l;h++)u-=l;var c=(0,a.dz)(n,e);return c>u&&(n="",c=0),u=t-c,r.ellipsis=n,r.ellipsisWidth=c,r.contentWidth=u,r.containerWidth=t,r}function u(t,e,n){var i=n.containerWidth,r=n.font,o=n.contentWidth;if(!i){t.textLine="",t.isTruncated=!1;return}var s=(0,a.dz)(e,r);if(s<=i){t.textLine=e,t.isTruncated=!1;return}for(var l=0;;l++){if(s<=o||l>=n.maxIterations){e+=n.ellipsis;break}var u=0===l?function(t,e,n,i){for(var r=0,o=0,a=t.length;o<a&&r<e;o++){var s=t.charCodeAt(o);r+=0<=s&&s<=127?n:i}return o}(e,o,n.ascCharWidth,n.cnCharWidth):s>0?Math.floor(e.length*o/s):0;e=e.substr(0,u),s=(0,a.dz)(e,r)}""===e&&(e=n.placeholder),t.textLine=e,t.isTruncated=!0}var h=function(){},c=function(t){this.tokens=[],t&&(this.tokens=t)},p=function(){this.width=0,this.height=0,this.contentWidth=0,this.contentHeight=0,this.outerWidth=0,this.outerHeight=0,this.lines=[],this.isTruncated=!1};function d(t,e,n,i,r){var o,s,l=""===e,u=r&&n.rich[r]||{},p=t.lines,d=u.font||n.font,f=!1;if(i){var y=u.padding,v=y?y[1]+y[3]:0;if(null!=u.width&&"auto"!==u.width){var m=(0,a.GM)(u.width,i.width)+v;p.length>0&&m+i.accumWidth>i.width&&(o=e.split("\n"),f=!0),i.accumWidth=m}else{var _=g(e,d,i.width,i.breakAll,i.accumWidth);i.accumWidth=_.accumWidth+v,s=_.linesWidths,o=_.lines}}else o=e.split("\n");for(var x=0;x<o.length;x++){var S=o[x],w=new h;if(w.styleName=r,w.text=S,w.isLineHolder=!S&&!l,"number"==typeof u.width?w.width=u.width:w.width=s?s[x]:(0,a.dz)(S,d),x||f)p.push(new c([w]));else{var b=(p[p.length-1]||(p[0]=new c)).tokens,M=b.length;1===M&&b[0].isLineHolder?b[0]=w:(S||!M||l)&&b.push(w)}}}var f=(0,o.u4)(",&?/;] ".split(""),function(t,e){return t[e]=!0,t},{});function g(t,e,n,i,r){for(var o=[],s=[],l="",u="",h=0,c=0,p=0;p<t.length;p++){var d=t.charAt(p);if("\n"===d){u&&(l+=u,c+=h),o.push(l),s.push(c),l="",u="",h=0,c=0;continue}var g=(0,a.dz)(d,e),y=!i&&!function(t){var e;return(!((e=t.charCodeAt(0))>=32)||!(e<=591))&&(!(e>=880)||!(e<=4351))&&(!(e>=4608)||!(e<=5119))&&(!(e>=7680)||!(e<=8303))||!!f[t]}(d);if(o.length?c+g>n:r+c+g>n){c?(l||u)&&(y?(l||(l=u,u="",c=h=0),o.push(l),s.push(c-h),u+=d,h+=g,l="",c=h):(u&&(l+=u,u="",h=0),o.push(l),s.push(c),l=d,c=g)):y?(o.push(u),s.push(h),u=d,h=g):(o.push(d),s.push(g));continue}c+=g,y?(u+=d,h+=g):(u&&(l+=u,u="",h=0),l+=d)}return o.length||l||(l=t,u="",h=0),u&&(l+=u),l&&(o.push(l),s.push(c)),1===o.length&&(c+=r),{accumWidth:c,lines:o,linesWidths:s}}var y=n(39183),v=n(31386),m=n(40361),_=n(44964),x=n(90635),S=n(82379),w={fill:"#000"},b={style:(0,o.ce)({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},x.ik.style)},M=function(t){function e(e){var n=t.call(this)||this;return n.type="text",n._children=[],n._defaultStyle=w,n.attr(e),n}return(0,i.ZT)(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;e<this._children.length;e++){var n=this._children[e];n.zlevel=this.zlevel,n.z=this.z,n.z2=this.z2,n.culling=this.culling,n.cursor=this.cursor,n.invisible=this.invisible}},e.prototype.updateTransform=function(){var e=this.innerTransformable;e?(e.updateTransform(),e.transform&&(this.transform=e.transform)):t.prototype.updateTransform.call(this)},e.prototype.getLocalTransform=function(e){var n=this.innerTransformable;return n?n.getLocalTransform(e):t.prototype.getLocalTransform.call(this,e)},e.prototype.getComputedTransform=function(){return this.__hostTarget&&(this.__hostTarget.getComputedTransform(),this.__hostTarget.updateInnerText(!0)),t.prototype.getComputedTransform.call(this)},e.prototype._updateSubTexts=function(){var t;this._childCursor=0,C(t=this.style),(0,o.S6)(t.rich,C),this.style.rich?this._updateRichTexts():this._updatePlainTexts(),this._children.length=this._childCursor,this.styleUpdated()},e.prototype.addSelfToZr=function(e){t.prototype.addSelfToZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=e},e.prototype.removeSelfFromZr=function(e){t.prototype.removeSelfFromZr.call(this,e);for(var n=0;n<this._children.length;n++)this._children[n].__zr=null},e.prototype.getBoundingRect=function(){if(this.styleChanged()&&this._updateSubTexts(),!this._rect){for(var t=new _.Z(0,0,0,0),e=this._children,n=[],i=null,r=0;r<e.length;r++){var o=e[r],a=o.getBoundingRect(),s=o.getLocalTransform(n);s?(t.copy(a),t.applyTransform(s),(i=i||t.clone()).union(t)):(i=i||a.clone()).union(a)}this._rect=i||t}return this._rect},e.prototype.setDefaultTextStyle=function(t){this._defaultStyle=t||w},e.prototype.setTextContent=function(t){},e.prototype._mergeStyle=function(t,e){if(!e)return t;var n=e.rich,i=t.rich||n&&{};return(0,o.l7)(t,e),n&&i?(this._mergeRich(i,n),t.rich=i):i&&(t.rich=i),t},e.prototype._mergeRich=function(t,e){for(var n=(0,o.XP)(e),i=0;i<n.length;i++){var r=n[i];t[r]=t[r]||{},(0,o.l7)(t[r],e[r])}},e.prototype.getAnimationStyleProps=function(){return b},e.prototype._getOrCreateChild=function(t){var e=this._children[this._childCursor];return e&&e instanceof t||(e=new t),this._children[this._childCursor++]=e,e.__zr=this.__zr,e.parent=this,e},e.prototype._updatePlainTexts=function(){var t=this.style,e=t.font||S.Uo,n=t.padding,i=function(t,e){null!=t&&(t+="");var n,i=e.overflow,r=e.padding,s=e.font,h=(0,a.Dp)(s),c=(0,o.pD)(e.lineHeight,h),p=!!e.backgroundColor,d="truncate"===e.lineOverflow,f=!1,y=e.width,v=(n=null!=y&&("break"===i||"breakAll"===i)?t?g(t,e.font,y,"breakAll"===i,0).lines:[]:t?t.split("\n"):[]).length*c,m=(0,o.pD)(e.height,v);if(v>m&&d){var _=Math.floor(m/c);f=f||n.length>_,n=n.slice(0,_)}if(t&&"truncate"===i&&null!=y)for(var x=l(y,s,e.ellipsis,{minChar:e.truncateMinChar,placeholder:e.placeholder}),S={},w=0;w<n.length;w++)u(S,n[w],x),n[w]=S.textLine,f=f||S.isTruncated;for(var b=m,M=0,w=0;w<n.length;w++)M=Math.max((0,a.dz)(n[w],s),M);null==y&&(y=M);var T=M;return r&&(b+=r[0]+r[2],T+=r[1]+r[3],y+=r[1]+r[3]),p&&(T=y),{lines:n,height:m,outerWidth:T,outerHeight:b,lineHeight:c,calculatedLineHeight:h,contentWidth:M,contentHeight:v,width:y,isTruncated:f}}(O(t),t),r=R(t),s=!!t.backgroundColor,h=i.outerHeight,c=i.outerWidth,p=i.contentWidth,d=i.lines,f=i.lineHeight,v=this._defaultStyle;this.isTruncated=!!i.isTruncated;var m=t.x||0,x=t.y||0,w=t.align||v.align||"left",b=t.verticalAlign||v.verticalAlign||"top",M=m,T=(0,a.mU)(x,i.contentHeight,b);if(r||n){var k=(0,a.M3)(m,c,w),I=(0,a.mU)(x,h,b);r&&this._renderBackground(t,t,k,I,c,h)}T+=f/2,n&&(M=L(m,w,n),"top"===b?T+=n[0]:"bottom"===b&&(T-=n[2]));for(var C=0,Z=!1,N=P("fill"in t?t.fill:(Z=!0,v.fill)),z=A("stroke"in t?t.stroke:s||v.autoStroke&&!Z?null:(C=2,v.stroke)),E=t.textShadowBlur>0,B=null!=t.width&&("truncate"===t.overflow||"break"===t.overflow||"breakAll"===t.overflow),F=i.calculatedLineHeight,H=0;H<d.length;H++){var W=this._getOrCreateChild(y.Z),V=W.createStyle();W.useStyle(V),V.text=d[H],V.x=M,V.y=T,w&&(V.textAlign=w),V.textBaseline="middle",V.opacity=t.opacity,V.strokeFirst=!0,E&&(V.shadowBlur=t.textShadowBlur||0,V.shadowColor=t.textShadowColor||"transparent",V.shadowOffsetX=t.textShadowOffsetX||0,V.shadowOffsetY=t.textShadowOffsetY||0),V.stroke=z,V.fill=N,z&&(V.lineWidth=t.lineWidth||C,V.lineDash=t.lineDash,V.lineDashOffset=t.lineDashOffset||0),V.font=e,D(V,t),T+=f,B&&W.setBoundingRect(new _.Z((0,a.M3)(V.x,p,V.textAlign),(0,a.mU)(V.y,F,V.textBaseline),p,F))}},e.prototype._updateRichTexts=function(){var t=this.style,e=function(t,e){var n,i=new p;if(null!=t&&(t+=""),!t)return i;for(var h=e.width,c=e.height,f=e.overflow,g=("break"===f||"breakAll"===f)&&null!=h?{width:h,accumWidth:0,breakAll:"breakAll"===f}:null,y=s.lastIndex=0;null!=(n=s.exec(t));){var v=n.index;v>y&&d(i,t.substring(y,v),e,g),d(i,n[2],e,g,n[1]),y=s.lastIndex}y<t.length&&d(i,t.substring(y,t.length),e,g);var m=[],_=0,x=0,S=e.padding,w="truncate"===f,b="truncate"===e.lineOverflow,M={};function T(t,e,n){t.width=e,t.lineHeight=n,_+=n,x=Math.max(x,e)}e:for(var k=0;k<i.lines.length;k++){for(var I=i.lines[k],D=0,C=0,A=0;A<I.tokens.length;A++){var P=I.tokens[A],L=P.styleName&&e.rich[P.styleName]||{},O=P.textPadding=L.padding,R=O?O[1]+O[3]:0,Z=P.font=L.font||e.font;P.contentHeight=(0,a.Dp)(Z);var N=(0,o.pD)(L.height,P.contentHeight);if(P.innerHeight=N,O&&(N+=O[0]+O[2]),P.height=N,P.lineHeight=(0,o.R1)(L.lineHeight,e.lineHeight,N),P.align=L&&L.align||e.align,P.verticalAlign=L&&L.verticalAlign||"middle",b&&null!=c&&_+P.lineHeight>c){var z=i.lines.length;A>0?(I.tokens=I.tokens.slice(0,A),T(I,C,D),i.lines=i.lines.slice(0,k+1)):i.lines=i.lines.slice(0,k),i.isTruncated=i.isTruncated||i.lines.length<z;break e}var E=L.width,B=null==E||"auto"===E;if("string"==typeof E&&"%"===E.charAt(E.length-1))P.percentWidth=E,m.push(P),P.contentWidth=(0,a.dz)(P.text,Z);else{if(B){var F=L.backgroundColor,H=F&&F.image;H&&(H=r.ko(H),r.v5(H)&&(P.width=Math.max(P.width,H.width*N/H.height)))}var W=w&&null!=h?h-C:null;null!=W&&W<P.width?!B||W<R?(P.text="",P.width=P.contentWidth=0):(!function(t,e,n,i,r,o){if(!n){t.text="",t.isTruncated=!1;return}var a=(e+"").split("\n");o=l(n,i,r,o);for(var s=!1,h={},c=0,p=a.length;c<p;c++)u(h,a[c],o),a[c]=h.textLine,s=s||h.isTruncated;t.text=a.join("\n"),t.isTruncated=s}(M,P.text,W-R,Z,e.ellipsis,{minChar:e.truncateMinChar}),P.text=M.text,i.isTruncated=i.isTruncated||M.isTruncated,P.width=P.contentWidth=(0,a.dz)(P.text,Z)):P.contentWidth=(0,a.dz)(P.text,Z)}P.width+=R,C+=P.width,L&&(D=Math.max(D,P.lineHeight))}T(I,C,D)}i.outerWidth=i.width=(0,o.pD)(h,x),i.outerHeight=i.height=(0,o.pD)(c,_),i.contentHeight=_,i.contentWidth=x,S&&(i.outerWidth+=S[1]+S[3],i.outerHeight+=S[0]+S[2]);for(var k=0;k<m.length;k++){var P=m[k],V=P.percentWidth;P.width=parseInt(V,10)/100*i.width}return i}(O(t),t),n=e.width,i=e.outerWidth,h=e.outerHeight,c=t.padding,f=t.x||0,g=t.y||0,y=this._defaultStyle,v=t.align||y.align,m=t.verticalAlign||y.verticalAlign;this.isTruncated=!!e.isTruncated;var _=(0,a.M3)(f,i,v),x=(0,a.mU)(g,h,m),S=_,w=x;c&&(S+=c[3],w+=c[0]);var b=S+n;R(t)&&this._renderBackground(t,t,_,x,i,h);for(var M=!!t.backgroundColor,T=0;T<e.lines.length;T++){for(var k=e.lines[T],I=k.tokens,D=I.length,C=k.lineHeight,A=k.width,P=0,L=S,Z=b,N=D-1,z=void 0;P<D&&(!(z=I[P]).align||"left"===z.align);)this._placeToken(z,t,C,w,L,"left",M),A-=z.width,L+=z.width,P++;for(;N>=0&&"right"===(z=I[N]).align;)this._placeToken(z,t,C,w,Z,"right",M),A-=z.width,Z-=z.width,N--;for(L+=(n-(L-S)-(b-Z)-A)/2;P<=N;)z=I[P],this._placeToken(z,t,C,w,L+z.width/2,"center",M),L+=z.width,P++;w+=C}},e.prototype._placeToken=function(t,e,n,i,r,s,l){var u=e.rich[t.styleName]||{};u.text=t.text;var h=t.verticalAlign,c=i+n/2;"top"===h?c=i+t.height/2:"bottom"===h&&(c=i+n-t.height/2),!t.isLineHolder&&R(u)&&this._renderBackground(u,e,"right"===s?r-t.width:"center"===s?r-t.width/2:r,c-t.height/2,t.width,t.height);var p=!!u.backgroundColor,d=t.textPadding;d&&(r=L(r,s,d),c-=t.height/2-d[0]-t.innerHeight/2);var f=this._getOrCreateChild(y.Z),g=f.createStyle();f.useStyle(g);var v=this._defaultStyle,m=!1,x=0,w=P("fill"in u?u.fill:"fill"in e?e.fill:(m=!0,v.fill)),b=A("stroke"in u?u.stroke:"stroke"in e?e.stroke:p||l||v.autoStroke&&!m?null:(x=2,v.stroke)),M=u.textShadowBlur>0||e.textShadowBlur>0;g.text=t.text,g.x=r,g.y=c,M&&(g.shadowBlur=u.textShadowBlur||e.textShadowBlur||0,g.shadowColor=u.textShadowColor||e.textShadowColor||"transparent",g.shadowOffsetX=u.textShadowOffsetX||e.textShadowOffsetX||0,g.shadowOffsetY=u.textShadowOffsetY||e.textShadowOffsetY||0),g.textAlign=s,g.textBaseline="middle",g.font=t.font||S.Uo,g.opacity=(0,o.R1)(u.opacity,e.opacity,1),D(g,u),b&&(g.lineWidth=(0,o.R1)(u.lineWidth,e.lineWidth,x),g.lineDash=(0,o.pD)(u.lineDash,e.lineDash),g.lineDashOffset=e.lineDashOffset||0,g.stroke=b),w&&(g.fill=w);var T=t.contentWidth,k=t.contentHeight;f.setBoundingRect(new _.Z((0,a.M3)(g.x,T,g.textAlign),(0,a.mU)(g.y,k,g.textBaseline),T,k))},e.prototype._renderBackground=function(t,e,n,i,r,a){var 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){(s=this._getOrCreateChild(m.Z)).useStyle(s.createStyle()),s.style.fill=null;var y=s.shape;y.x=n,y.y=i,y.width=r,y.height=a,y.r=f,s.dirtyShape()}if(d){var _=s.style;_.fill=u||null,_.fillOpacity=(0,o.pD)(t.fillOpacity,1)}else if(p){(l=this._getOrCreateChild(v.ZP)).onload=function(){g.dirtyStyle()};var x=l.style;x.image=u.image,x.x=n,x.y=i,x.width=r,x.height=a}if(h&&c){var _=s.style;_.lineWidth=h,_.stroke=c,_.strokeOpacity=(0,o.pD)(t.strokeOpacity,1),_.lineDash=t.borderDash,_.lineDashOffset=t.borderDashOffset||0,s.strokeContainThreshold=0,s.hasFill()&&s.hasStroke()&&(_.strokeFirst=!0,_.lineWidth*=2)}var S=(s||l).style;S.shadowBlur=t.shadowBlur||0,S.shadowColor=t.shadowColor||"transparent",S.shadowOffsetX=t.shadowOffsetX||0,S.shadowOffsetY=t.shadowOffsetY||0,S.opacity=(0,o.R1)(t.opacity,e.opacity,1)},e.makeFont=function(t){var e,n,i="";return(null!=(e=t).fontSize||e.fontFamily||e.fontWeight)&&(i=[t.fontStyle,t.fontWeight,"string"==typeof(n=t.fontSize)&&(-1!==n.indexOf("px")||-1!==n.indexOf("rem")||-1!==n.indexOf("em"))?n:isNaN(+n)?S.n5+"px":n+"px",t.fontFamily||"sans-serif"].join(" ")),i&&(0,o.fy)(i)||t.textFont||t.font},e}(x.ZP),T={left:!0,right:1,center:1},k={top:1,bottom:1,middle:1},I=["fontStyle","fontWeight","fontSize","fontFamily"];function D(t,e){for(var n=0;n<I.length;n++){var i=I[n],r=e[i];null!=r&&(t[i]=r)}}function C(t){if(t){t.font=M.makeFont(t);var e=t.align;"middle"===e&&(e="center"),t.align=null==e||T[e]?e:"left";var n=t.verticalAlign;"center"===n&&(n="middle"),t.verticalAlign=null==n||k[n]?n:"top",t.padding&&(t.padding=(0,o.MY)(t.padding))}}function A(t,e){return null==t||e<=0||"transparent"===t||"none"===t?null:t.image||t.colorStops?"#000":t}function P(t){return null==t||"none"===t?null:t.image||t.colorStops?"#000":t}function L(t,e,n){return"right"===e?t-n[1]:"center"===e?t+n[3]/2-n[1]/2:t+n[3]}function O(t){var e=t.text;return null!=e&&(e+=""),e}function R(t){return!!(t.backgroundColor||t.lineHeight||t.borderWidth&&t.borderColor)}let Z=M},59177:function(t,e,n){n.d(e,{RH:()=>o,SE:()=>r,YV:()=>i});var i=1,r=2,o=4},25259:function(t,e,n){n.d(e,{Gq:()=>s,ko:()=>a,v5:()=>u});var i=n(45671),r=n(82379),o=new i.ZP(50);function a(t){if("string"!=typeof t)return t;var e=o.get(t);return e&&e.image}function s(t,e,n,i,a){if(!t)return e;if("string"!=typeof t)return t;if(e&&e.__zrImageSrc===t||!n)return e;var s=o.get(t),h={hostEl:n,cb:i,cbPayload:a};return s?u(e=s.image)||s.pending.push(h):((e=r.qW.loadImage(t,l,l)).__zrImageSrc=t,o.put(t,e.__cachedImgObj={image:e,pending:[h]})),e}function l(){var t=this.__cachedImgObj;this.onload=this.onerror=this.__cachedImgObj=null;for(var e=0;e<t.pending.length;e++){var n=t.pending[e],i=n.cb;i&&i(this,n.cbPayload),n.hostEl.dirty()}t.pending.length=0}function u(t){return t&&t.width&&t.height}},37763:function(t,e,n){n.d(e,{Pw:()=>o,_3:()=>r,vu:()=>a});var i=Math.round;function r(t,e,n){if(e){var r=e.x1,o=e.x2,s=e.y1,l=e.y2;t.x1=r,t.x2=o,t.y1=s,t.y2=l;var u=n&&n.lineWidth;return u&&(i(2*r)===i(2*o)&&(t.x1=t.x2=a(r,u,!0)),i(2*s)===i(2*l)&&(t.y1=t.y2=a(s,u,!0))),t}}function o(t,e,n){if(e){var i=e.x,r=e.y,o=e.width,s=e.height;t.x=i,t.y=r,t.width=o,t.height=s;var l=n&&n.lineWidth;return l&&(t.x=a(i,l,!0),t.y=a(r,l,!0),t.width=Math.max(a(i+o,l,!1)-t.x,+(0!==o)),t.height=Math.max(a(r+s,l,!1)-t.y,+(0!==s))),t}}function a(t,e,n){if(!e)return t;var r=i(2*t);return(r+i(e))%2==0?r/2:(r+(n?1:-1))/2}},52902:function(t,e,n){n.d(e,{Z:()=>s});var i=n(12012),r=n(50654),o=function(){this.cx=0,this.cy=0,this.r=0,this.startAngle=0,this.endAngle=2*Math.PI,this.clockwise=!0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){var n=e.cx,i=e.cy,r=Math.max(e.r,0),o=e.startAngle,a=e.endAngle,s=e.clockwise,l=Math.cos(o),u=Math.sin(o);t.moveTo(l*r+n,u*r+i),t.arc(n,i,r,o,a,!s)},e}(r.ZP);a.prototype.type="arc";let s=a},26768:function(t,e,n){n.d(e,{Z:()=>s});var i=n(12012),r=n(50654),o=function(){this.cx=0,this.cy=0,this.r=0},a=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new o},e.prototype.buildPath=function(t,e){t.moveTo(e.cx+e.r,e.cy),t.arc(e.cx,e.cy,e.r,0,2*Math.PI)},e}(r.ZP);a.prototype.type="circle";let s=a},16504:function(t,e,n){n.d(e,{Z:()=>u});var i=n(12012),r=n(50654),o=n(37763),a={},s=function(){this.x1=0,this.y1=0,this.x2=0,this.y2=0,this.percent=1},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultStyle=function(){return{stroke:"#000",fill:null}},e.prototype.getDefaultShape=function(){return new s},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,s,l=(0,o._3)(a,e,this.style);n=l.x1,i=l.y1,r=l.x2,s=l.y2}else n=e.x1,i=e.y1,r=e.x2,s=e.y2;var u=e.percent;0!==u&&(t.moveTo(n,i),u<1&&(r=n*(1-u)+r*u,s=i*(1-u)+s*u),t.lineTo(r,s))},e.prototype.pointAt=function(t){var e=this.shape;return[e.x1*(1-t)+e.x2*t,e.y1*(1-t)+e.y2*t]},e}(r.ZP);l.prototype.type="line";let u=l},40361:function(t,e,n){n.d(e,{Z:()=>u});var i=n(12012),r=n(50654),o=n(37763),a=function(){this.x=0,this.y=0,this.width=0,this.height=0},s={},l=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new a},e.prototype.buildPath=function(t,e){if(this.subPixelOptimize){var n,i,r,a,l,u,h,c,p,d,f,g,y,v,m,_=(0,o.Pw)(s,e,this.style);g=_.x,y=_.y,v=_.width,m=_.height,_.r=e.r,e=_}else g=e.x,y=e.y,v=e.width,m=e.height;e.r?(h=(n=e).x,c=n.y,p=n.width,d=n.height,f=n.r,p<0&&(h+=p,p=-p),d<0&&(c+=d,d=-d),"number"==typeof f?i=r=a=l=f:f instanceof Array?1===f.length?i=r=a=l=f[0]:2===f.length?(i=a=f[0],r=l=f[1]):3===f.length?(i=f[0],r=l=f[1],a=f[2]):(i=f[0],r=f[1],a=f[2],l=f[3]):i=r=a=l=0,i+r>p&&(u=i+r,i*=p/u,r*=p/u),a+l>p&&(u=a+l,a*=p/u,l*=p/u),r+a>d&&(u=r+a,r*=d/u,a*=d/u),i+l>d&&(u=i+l,i*=d/u,l*=d/u),t.moveTo(h+i,c),t.lineTo(h+p-r,c),0!==r&&t.arc(h+p-r,c+r,r,-Math.PI/2,0),t.lineTo(h+p,c+d-a),0!==a&&t.arc(h+p-a,c+d-a,a,0,Math.PI/2),t.lineTo(h+l,c+d),0!==l&&t.arc(h+l,c+d-l,l,Math.PI/2,Math.PI),t.lineTo(h,c+i),0!==i&&t.arc(h+i,c+i,i,Math.PI,1.5*Math.PI)):t.rect(g,y,v,m)},e.prototype.isZeroArea=function(){return!this.shape.width||!this.shape.height},e}(r.ZP);l.prototype.type="rect";let u=l},98289:function(t,e,n){n.d(e,{C:()=>_});var i=n(12012),r=n(50654),o=n(96585),a=Math.PI,s=2*a,l=Math.sin,u=Math.cos,h=Math.acos,c=Math.atan2,p=Math.abs,d=Math.sqrt,f=Math.max,g=Math.min;function y(t,e,n,i,r,o,a){var s=t-n,l=e-i,u=(a?o:-o)/d(s*s+l*l),h=u*l,c=-u*s,p=t+h,g=e+c,y=n+h,v=i+c,m=(p+y)/2,_=(g+v)/2,x=y-p,S=v-g,w=x*x+S*S,b=r-o,M=p*v-y*g,T=(S<0?-1:1)*d(f(0,b*b*w-M*M)),k=(M*S-x*T)/w,I=(-M*x-S*T)/w,D=(M*S+x*T)/w,C=(-M*x+S*T)/w,A=k-m,P=I-_,L=D-m,O=C-_;return A*A+P*P>L*L+O*O&&(k=D,I=C),{cx:k,cy:I,x0:-h,y0:-c,x1:k*(r/b-1),y1:I*(r/b-1)}}var v=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},m=function(t){function e(e){return t.call(this,e)||this}return(0,i.ZT)(e,t),e.prototype.getDefaultShape=function(){return new v},e.prototype.buildPath=function(t,e){!function(t,e){var n,i=f(e.r,0),r=f(e.r0||0,0),v=i>0,m=r>0;if(v||m){if(v||(i=r,r=0),r>i){var _=i;i=r,r=_}var x=e.startAngle,S=e.endAngle;if(!(isNaN(x)||isNaN(S))){var w=e.cx,b=e.cy,M=!!e.clockwise,T=p(S-x),k=T>s&&T%s;if(k>1e-4&&(T=k),i>1e-4)if(T>s-1e-4)t.moveTo(w+i*u(x),b+i*l(x)),t.arc(w,b,i,x,S,!M),r>1e-4&&(t.moveTo(w+r*u(S),b+r*l(S)),t.arc(w,b,r,S,x,M));else{var I=void 0,D=void 0,C=void 0,A=void 0,P=void 0,L=void 0,O=void 0,R=void 0,Z=void 0,N=void 0,z=void 0,E=void 0,B=void 0,F=void 0,H=void 0,W=void 0,V=i*u(x),G=i*l(x),U=r*u(S),X=r*l(S),Y=T>1e-4;if(Y){var q=e.cornerRadius;q&&(I=(n=function(t){var e;if((0,o.kJ)(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}(q))[0],D=n[1],C=n[2],A=n[3]);var K=p(i-r)/2;if(P=g(K,C),L=g(K,A),O=g(K,I),R=g(K,D),z=Z=f(P,L),E=N=f(O,R),(Z>1e-4||N>1e-4)&&(B=i*u(S),F=i*l(S),H=r*u(x),W=r*l(x),T<a)){var j=function(t,e,n,i,r,o,a,s){var l=n-t,u=i-e,h=a-r,c=s-o,p=c*l-h*u;if(!(p*p<1e-4))return p=(h*(e-o)-c*(t-r))/p,[t+p*l,e+p*u]}(V,G,H,W,B,F,U,X);if(j){var J=V-j[0],Q=G-j[1],$=B-j[0],tt=F-j[1],te=1/l(h((J*$+Q*tt)/(d(J*J+Q*Q)*d($*$+tt*tt)))/2),tn=d(j[0]*j[0]+j[1]*j[1]);z=g(Z,(i-tn)/(te+1)),E=g(N,(r-tn)/(te-1))}}}if(Y)if(z>1e-4){var ti=g(C,z),tr=g(A,z),to=y(H,W,V,G,i,ti,M),ta=y(B,F,U,X,i,tr,M);t.moveTo(w+to.cx+to.x0,b+to.cy+to.y0),z<Z&&ti===tr?t.arc(w+to.cx,b+to.cy,z,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(ti>0&&t.arc(w+to.cx,b+to.cy,ti,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,i,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),!M),tr>0&&t.arc(w+ta.cx,b+ta.cy,tr,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.moveTo(w+V,b+G),t.arc(w,b,i,x,S,!M);else t.moveTo(w+V,b+G);if(r>1e-4&&Y)if(E>1e-4){var ti=g(I,E),tr=g(D,E),to=y(U,X,B,F,r,-tr,M),ta=y(V,G,H,W,r,-ti,M);t.lineTo(w+to.cx+to.x0,b+to.cy+to.y0),E<N&&ti===tr?t.arc(w+to.cx,b+to.cy,E,c(to.y0,to.x0),c(ta.y0,ta.x0),!M):(tr>0&&t.arc(w+to.cx,b+to.cy,tr,c(to.y0,to.x0),c(to.y1,to.x1),!M),t.arc(w,b,r,c(to.cy+to.y1,to.cx+to.x1),c(ta.cy+ta.y1,ta.cx+ta.x1),M),ti>0&&t.arc(w+ta.cx,b+ta.cy,ti,c(ta.y1,ta.x1),c(ta.y0,ta.x0),!M))}else t.lineTo(w+U,b+X),t.arc(w,b,r,S,x,M);else t.lineTo(w+U,b+X)}else t.moveTo(w,b);t.closePath()}}}(t,e)},e.prototype.isZeroArea=function(){return this.shape.startAngle===this.shape.endAngle||this.shape.r===this.shape.r0},e}(r.ZP);m.prototype.type="sector";let _=m},67375:function(t,e,n){n.d(e,{L0:()=>S,Pz:()=>x,Qc:()=>y,fD:()=>b,t7:()=>_});var i=n(45671),r=n(96585),o={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 a(t){return(t=Math.round(t))<0?0:t>255?255:t}function s(t){return t<0?0:t>1?1:t}function l(t){return t.length&&"%"===t.charAt(t.length-1)?a(parseFloat(t)/100*255):a(parseInt(t,10))}function u(t){return t.length&&"%"===t.charAt(t.length-1)?s(parseFloat(t)/100):s(parseFloat(t))}function h(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 c(t,e,n,i,r){return t[0]=e,t[1]=n,t[2]=i,t[3]=r,t}function p(t,e){return t[0]=e[0],t[1]=e[1],t[2]=e[2],t[3]=e[3],t}var d=new i.ZP(20),f=null;function g(t,e){f&&p(f,e),f=d.put(t,f||e.slice())}function y(t,e){if(t){e=e||[];var n=d.get(t);if(n)return p(e,n);var i=(t+="").replace(/ /g,"").toLowerCase();if(i in o)return p(e,o[i]),g(t,e),e;var r=i.length;if("#"===i.charAt(0)){if(4===r||5===r){var a=parseInt(i.slice(1,4),16);return a>=0&&a<=4095?(c(e,(3840&a)>>4|(3840&a)>>8,240&a|(240&a)>>4,15&a|(15&a)<<4,5===r?parseInt(i.slice(4),16)/15:1),g(t,e),e):void c(e,0,0,0,1)}if(7===r||9===r){var a=parseInt(i.slice(1,7),16);return a>=0&&a<=0xffffff?(c(e,(0xff0000&a)>>16,(65280&a)>>8,255&a,9===r?parseInt(i.slice(7),16)/255:1),g(t,e),e):void c(e,0,0,0,1)}return}var s=i.indexOf("("),h=i.indexOf(")");if(-1!==s&&h+1===r){var f=i.substr(0,s),y=i.substr(s+1,h-(s+1)).split(","),m=1;switch(f){case"rgba":if(4!==y.length)return 3===y.length?c(e,+y[0],+y[1],+y[2],1):c(e,0,0,0,1);m=u(y.pop());case"rgb":if(y.length>=3)return c(e,l(y[0]),l(y[1]),l(y[2]),3===y.length?m:u(y[3])),g(t,e),e;return void c(e,0,0,0,1);case"hsla":if(4!==y.length)return void c(e,0,0,0,1);return y[3]=u(y[3]),v(y,e),g(t,e),e;case"hsl":if(3!==y.length)return void c(e,0,0,0,1);return v(y,e),g(t,e),e;default:return}}c(e,0,0,0,1)}}function v(t,e){var n=(parseFloat(t[0])%360+360)%360/360,i=u(t[1]),r=u(t[2]),o=r<=.5?r*(i+1):r+i-r*i,s=2*r-o;return c(e=e||[],a(255*h(s,o,n+1/3)),a(255*h(s,o,n)),a(255*h(s,o,n-1/3)),1),4===t.length&&(e[3]=t[3]),e}function m(t,e){var n=y(t);if(n){for(var i=0;i<3;i++)e<0?n[i]=n[i]*(1-e)|0:n[i]=(255-n[i])*e+n[i]|0,n[i]>255?n[i]=255:n[i]<0&&(n[i]=0);return x(n,4===n.length?"rgba":"rgb")}}function _(t,e,n){if(e&&e.length&&t>=0&&t<=1){var i,r,o,l,u=t*(e.length-1),h=Math.floor(u),c=Math.ceil(u),p=y(e[h]),d=y(e[c]),f=u-h,g=x([a((i=p[0],i+(d[0]-i)*f)),a((r=p[1],r+(d[1]-r)*f)),a((o=p[2],o+(d[2]-o)*f)),s((l=p[3],l+(d[3]-l)*f))],"rgba");return n?{color:g,leftIndex:h,rightIndex:c,value:u}:g}}function x(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 S(t,e){var n=y(t);return n?(.299*n[0]+.587*n[1]+.114*n[2])*n[3]/255+(1-n[3])*e:0}var w=new i.ZP(100);function b(t){if((0,r.HD)(t)){var e=w.get(t);return e||(e=m(t,-.1),w.put(t,e)),e}if((0,r.Qq)(t)){var n=(0,r.l7)({},t);return n.colorStops=(0,r.UI)(t.colorStops,function(t){return{offset:t.offset,color:m(t.color,-.1)}}),n}return t}},44262:function(t,e,n){n.d(e,{Qq:()=>to,S1:()=>ti,wm:()=>tr});var i,r,o,a=n(76226),s=n(96585),l=n(12012),u=n(63261),h=function(t,e){this.target=t,this.topTarget=e&&e.topTarget},c=function(){function t(t){this.handler=t,t.on("mousedown",this._dragStart,this),t.on("mousemove",this._drag,this),t.on("mouseup",this._dragEnd,this)}return t.prototype._dragStart=function(t){for(var e=t.target;e&&!e.draggable;)e=e.parent||e.__hostTarget;e&&(this._draggingTarget=e,e.dragging=!0,this._x=t.offsetX,this._y=t.offsetY,this.handler.dispatchToElement(new h(e,t),"dragstart",t.event))},t.prototype._drag=function(t){var e=this._draggingTarget;if(e){var n=t.offsetX,i=t.offsetY,r=n-this._x,o=i-this._y;this._x=n,this._y=i,e.drift(r,o,t),this.handler.dispatchToElement(new h(e,t),"drag",t.event);var a=this.handler.findHover(n,i,e).target,s=this._dropTarget;this._dropTarget=a,e!==a&&(s&&a!==s&&this.handler.dispatchToElement(new h(s,t),"dragleave",t.event),a&&a!==s&&this.handler.dispatchToElement(new h(a,t),"dragenter",t.event))}},t.prototype._dragEnd=function(t){var e=this._draggingTarget;e&&(e.dragging=!1),this.handler.dispatchToElement(new h(e,t),"dragend",t.event),this._dropTarget&&this.handler.dispatchToElement(new h(this._dropTarget,t),"drop",t.event),this._draggingTarget=null,this._dropTarget=null},t}(),p=n(46606),d=n(3036),f=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;o<a;o++){var s=i[o],l=d.eV(n,s,{});r.points.push([l.zrX,l.zrY]),r.touches.push(s)}this._track.push(r)}},t.prototype._recognize=function(t){for(var e in y)if(y.hasOwnProperty(e)){var n=y[e](this._track,t);if(n)return n}},t}();function g(t){var e=t[1][0]-t[0][0],n=t[1][1]-t[0][1];return Math.sqrt(e*e+n*n)}var y={pinch:function(t,e){var n=t.length;if(n){var i=(t[n-1]||{}).points,r=(t[n-2]||{}).points||i;if(r&&r.length>1&&i&&i.length>1){var o=g(i)/g(r);isFinite(o)||(o=1),e.pinchScale=o;var a=[(i[0][0]+i[1][0])/2,(i[0][1]+i[1][1])/2];return e.pinchX=a[0],e.pinchY=a[1],{type:"pinch",target:t[0].target,event:e}}}}},v=n(44964),m="silent";function _(){d.sT(this.event)}var x=function(t){function e(){var e=null!==t&&t.apply(this,arguments)||this;return e.handler=null,e}return(0,l.ZT)(e,t),e.prototype.dispose=function(){},e.prototype.setCursor=function(){},e}(p.Z),S=function(t,e){this.x=t,this.y=e},w=["click","dblclick","mousewheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],b=new v.Z(0,0,0,0),M=function(t){function e(e,n,i,r,o){var a=t.call(this)||this;return a._hovered=new S(0,0),a.storage=e,a.painter=n,a.painterRoot=r,a._pointerSize=o,i=i||new x,a.proxy=null,a.setHandlerProxy(i),a._draggingMgr=new c(a),a}return(0,l.ZT)(e,t),e.prototype.setHandlerProxy=function(t){this.proxy&&this.proxy.dispose(),t&&(s.S6(w,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=k(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 S(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 S(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,o="on"+e,a={type:e,event:n,target:(r=t).target,topTarget:r.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:_};i&&(i[o]&&(a.cancelBubble=!!i[o].call(i,a)),i.trigger(e,a),i=i.__hostTarget?i.__hostTarget:i.parent,!a.cancelBubble););!a.cancelBubble&&(this.trigger(e,a),this.painter&&this.painter.eachOtherLayer&&this.painter.eachOtherLayer(function(t){"function"==typeof t[o]&&t[o].call(t,a),t.trigger&&t.trigger(e,a)}))}},e.prototype.findHover=function(t,e,n){var i=this.storage.getDisplayList(),r=new S(t,e);if(T(i,r,t,e,n),this._pointerSize&&!r.target){for(var o=[],a=this._pointerSize,s=a/2,l=new v.Z(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||(b.copy(h.getBoundingRect()),h.transform&&b.applyTransform(h.transform),b.intersect(l)&&o.push(h))}if(o.length){for(var c=Math.PI/12,p=2*Math.PI,d=0;d<s;d+=4)for(var f=0;f<p;f+=c)if(T(o,r,t+d*Math.cos(f),e+d*Math.sin(f),n),r.target)return r}}return r},e.prototype.processGesture=function(t,e){this._gestureMgr||(this._gestureMgr=new f);var n=this._gestureMgr;"start"===e&&n.clear();var i=n.recognize(t,this.findHover(t.zrX,t.zrY,null).target,this.proxy.dom);if("end"===e&&n.clear(),i){var r=i.type;t.gestureEvent=r;var o=new S;o.target=i.target,this.dispatchToElement(o,r,i.event)}},e}(p.Z);function T(t,e,n,i,r){for(var o=t.length-1;o>=0;o--){var a=t[o],s=void 0;if(a!==r&&!a.ignore&&(s=function(t,e,n){if(t[t.rectHover?"rectContain":"contain"](e,n)){for(var i=t,r=void 0,o=!1;i;){if(i.ignoreClip&&(o=!0),!o){var a=i.getClipPath();if(a&&!a.contain(e,n))return!1}i.silent&&(r=!0),i=i.__hostTarget||i.parent}return!r||m}return!1}(a,n,i))&&(e.topTarget||(e.topTarget=a),s!==m)){e.target=a;break}}}function k(t,e,n){var i=t.painter;return e<0||e>i.getWidth()||n<0||n>i.getHeight()}s.S6(["click","mousedown","mouseup","mousewheel","dblclick","contextmenu"],function(t){M.prototype[t]=function(e){var n,i,r=e.zrX,o=e.zrY,a=k(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||u.TK(this._downPoint,[e.zrX,e.zrY])>4)return;this._downPoint=null}this.dispatchToElement(n,t,e)}});var I=n(22137),D=n(59177),C=!1;function A(){C||(C=!0,console.warn("z / z2 / zlevel of displayable is invalid, which may cause unexpected errors"))}function P(t,e){return t.zlevel===e.zlevel?t.z===e.z?t.z2-e.z2:t.z-e.z:t.zlevel-e.zlevel}var L=function(){function t(){this._roots=[],this._displayList=[],this._displayListLen=0,this.displayableSortFunc=P}return t.prototype.traverse=function(t,e){for(var n=0;n<this._roots.length;n++)this._roots[n].traverse(t,e)},t.prototype.getDisplayList=function(t,e){e=e||!1;var n=this._displayList;return(t||!n.length)&&this.updateDisplayList(e),n},t.prototype.updateDisplayList=function(t){this._displayListLen=0;for(var e=this._roots,n=this._displayList,i=0,r=e.length;i<r;i++)this._updateAndAddDisplayable(e[i],null,t);n.length=this._displayListLen,(0,I.Z)(n,P)},t.prototype._updateAndAddDisplayable=function(t,e,n){if(!t.ignore||n){t.beforeUpdate(),t.update(),t.afterUpdate();var i=t.getClipPath();if(t.ignoreClip)e=null;else if(i){e=e?e.slice():[];for(var r=i,o=t;r;)r.parent=o,r.updateTransform(),e.push(r),o=r,r=r.getClipPath()}if(t.childrenRef){for(var a=t.childrenRef(),s=0;s<a.length;s++){var l=a[s];t.__dirty&&(l.__dirty|=D.YV),this._updateAndAddDisplayable(l,e,n)}t.__dirty=0}else e&&e.length?t.__clipPaths=e:t.__clipPaths&&t.__clipPaths.length>0&&(t.__clipPaths=[]),isNaN(t.z)&&(A(),t.z=0),isNaN(t.z2)&&(A(),t.z2=0),isNaN(t.zlevel)&&(A(),t.zlevel=0),this._displayList[this._displayListLen++]=t;var u=t.getDecalElement&&t.getDecalElement();u&&this._updateAndAddDisplayable(u,e,n);var h=t.getTextGuideLine();h&&this._updateAndAddDisplayable(h,e,n);var c=t.getTextContent();c&&this._updateAndAddDisplayable(c,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<n;e++)this.delRoot(t[e]);return}var i=s.cq(this._roots,t);i>=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}(),O=n(98279),R=n(49582);function Z(){return new Date().getTime()}var N=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,n.stage=(e=e||{}).stage||{},n}return(0,l.ZT)(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=Z()-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}this._time=e,!t&&(this.trigger("frame",n),this.stage.update&&this.stage.update())},e.prototype._startLoop=function(){var t=this;this._running=!0,(0,O.Z)(function e(){t._running&&((0,O.Z)(e),t._paused||t.update())})},e.prototype.start=function(){this._running||(this._time=Z(),this._pausedTime=0,this._startLoop())},e.prototype.stop=function(){this._running=!1},e.prototype.pause=function(){this._paused||(this._pauseStart=Z(),this._paused=!0)},e.prototype.resume=function(){this._paused&&(this._pausedTime+=Z()-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 R.Z(t,e.loop);return this.addAnimator(n),n},e}(p.Z),z=a.Z.domSupported,E=(i=["click","dblclick","mousewheel","wheel","mouseout","mouseup","mousedown","mousemove","contextmenu"],r={pointerdown:1,pointerup:1,pointermove:1,pointerout:1},o=s.UI(i,function(t){var e=t.replace("mouse","pointer");return r.hasOwnProperty(e)?e:t}),{mouse:i,touch:["touchstart","touchend","touchmove"],pointer:o}),B={mouse:["mousemove","mouseup"],pointer:["pointermove","pointerup"]},F=!1;function H(t){var e=t.pointerType;return"pen"===e||"touch"===e}function W(t){t&&(t.zrByTouch=!0)}function V(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 G=function(t,e){this.stopPropagation=s.ZT,this.stopImmediatePropagation=s.ZT,this.preventDefault=s.ZT,this.type=e.type,this.target=this.currentTarget=t.dom,this.pointerType=e.pointerType,this.clientX=e.clientX,this.clientY=e.clientY},U={mousedown:function(t){t=(0,d.OD)(this.dom,t),this.__mayPointerCapture=[t.zrX,t.zrY],this.trigger("mousedown",t)},mousemove:function(t){t=(0,d.OD)(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=(0,d.OD)(this.dom,t),this.__togglePointerCapture(!1),this.trigger("mouseup",t)},mouseout:function(t){V(this,(t=(0,d.OD)(this.dom,t)).toElement||t.relatedTarget)||(this.__pointerCapturing&&(t.zrEventControl="no_globalout"),this.trigger("mouseout",t))},wheel:function(t){F=!0,t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t)},mousewheel:function(t){F||(t=(0,d.OD)(this.dom,t),this.trigger("mousewheel",t))},touchstart:function(t){W(t=(0,d.OD)(this.dom,t)),this.__lastTouchMoment=new Date,this.handler.processGesture(t,"start"),U.mousemove.call(this,t),U.mousedown.call(this,t)},touchmove:function(t){W(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"change"),U.mousemove.call(this,t)},touchend:function(t){W(t=(0,d.OD)(this.dom,t)),this.handler.processGesture(t,"end"),U.mouseup.call(this,t),new Date-this.__lastTouchMoment<300&&U.click.call(this,t)},pointerdown:function(t){U.mousedown.call(this,t)},pointermove:function(t){H(t)||U.mousemove.call(this,t)},pointerup:function(t){U.mouseup.call(this,t)},pointerout:function(t){H(t)||U.mouseout.call(this,t)}};s.S6(["click","dblclick","contextmenu"],function(t){U[t]=function(e){e=(0,d.OD)(this.dom,e),this.trigger(t,e)}});var X={pointermove:function(t){H(t)||X.mousemove.call(this,t)},pointerup:function(t){X.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 Y(t,e,n,i){t.mounted[e]=n,t.listenerOpts[e]=i,(0,d.Oo)(t.domTarget,e,n,i)}function q(t){var e=t.mounted;for(var n in e)e.hasOwnProperty(n)&&(0,d.xg)(t.domTarget,n,e[n],t.listenerOpts[n]);t.mounted={}}var K=function(t,e){this.mounted={},this.listenerOpts={},this.touching=!1,this.domTarget=t,this.domHandlers=e},j=function(t){function e(e,n){var i,r,o=t.call(this)||this;return o.__pointerCapturing=!1,o.dom=e,o.painterRoot=n,o._localHandlerScope=new K(e,U),z&&(o._globalHandlerScope=new K(document,X)),r=(i=o._localHandlerScope).domHandlers,a.Z.pointerEventsSupported?s.S6(E.pointer,function(t){Y(i,t,function(e){r[t].call(o,e)})}):(a.Z.touchEventsSupported&&s.S6(E.touch,function(t){Y(i,t,function(e){r[t].call(o,e),i.touching=!0,null!=i.touchTimer&&(clearTimeout(i.touchTimer),i.touchTimer=null),i.touchTimer=setTimeout(function(){i.touching=!1,i.touchTimer=null},700)})}),s.S6(E.mouse,function(t){Y(i,t,function(e){e=(0,d.iP)(e),i.touching||r[t].call(o,e)})})),o}return(0,l.ZT)(e,t),e.prototype.dispose=function(){q(this._localHandlerScope),z&&q(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,z&&this.__pointerCapturing^t){this.__pointerCapturing=t;var e=this._globalHandlerScope;t?function(t,e){a.Z.pointerEventsSupported?s.S6(B.pointer,n):a.Z.touchEventsSupported||s.S6(B.mouse,n);function n(n){Y(e,n,function(i){if(!V(t,(i=(0,d.iP)(i)).target)){var r;r=i,i=(0,d.OD)(t.dom,new G(t,r),!0),e.domHandlers[n].call(t,i)}},{capture:!0})}}(this,e):q(e)}},e}(p.Z),J=n(67375),Q=n(8473),$=n(19171),tt={},te={},tn=function(){function t(t,e,n){var i,r=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var o=new L,l=n.renderer||"canvas";tt[l]||(l=s.XP(tt)[0]),n.useDirtyRect=null!=n.useDirtyRect&&n.useDirtyRect;var u=new tt[l](e,o,n,t),h=n.ssr||u.ssrOnly;this.storage=o,this.painter=u;var c=a.Z.node||a.Z.worker||h?null:new j(u.getViewportRoot(),u.root),p=n.useCoarsePointer;(null==p||"auto"===p?a.Z.touchEventsSupported:!!p)&&(i=s.pD(n.pointerSize,44)),this.handler=new M(o,u,c,u.root,i),this.animation=new N({stage:{update:h?null:function(){return r._flush(!0)}}}),h||this.animation.start()}return t.prototype.add=function(t){!this._disposed&&t&&(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},t.prototype.remove=function(t){!this._disposed&&t&&(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},t.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},t.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=function(t){if(!t)return!1;if("string"==typeof t)return(0,J.L0)(t,1)<Q.Ak;if(t.colorStops){for(var e=t.colorStops,n=0,i=e.length,r=0;r<i;r++)n+=(0,J.L0)(e[r].color,1);return(n/=i)<Q.Ak}return!1}(t))},t.prototype.getBackgroundColor=function(){return this._backgroundColor},t.prototype.setDarkMode=function(t){this._darkMode=t},t.prototype.isDarkMode=function(){return this._darkMode},t.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},t.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},t.prototype.flush=function(){this._disposed||this._flush(!1)},t.prototype._flush=function(t){var e,n=Z();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Z();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(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;e<t.length;e++)t[e]instanceof $.Z&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},t.prototype.dispose=function(){if(!this._disposed){var t;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=!0,t=this.id,delete te[t]}},t}();function ti(t,e){var n=new tn(s.M8(),t,e);return te[n.id]=n,n}function tr(t,e){tt[t]=e}function to(t){}}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/156.e71e5560.js.LICENSE.txt b/core/public/dist/static/js/async/156.4ccaa390.js.LICENSE.txt
similarity index 100%
rename from core/public/dist/static/js/async/156.e71e5560.js.LICENSE.txt
rename to core/public/dist/static/js/async/156.4ccaa390.js.LICENSE.txt
diff --git a/core/public/dist/static/js/async/3118.9b384f6b.js b/core/public/dist/static/js/async/4536.1c2ac882.js
similarity index 58%
rename from core/public/dist/static/js/async/3118.9b384f6b.js
rename to core/public/dist/static/js/async/4536.1c2ac882.js
index e15a412f..03f35c33 100644
--- a/core/public/dist/static/js/async/3118.9b384f6b.js
+++ b/core/public/dist/static/js/async/4536.1c2ac882.js
@@ -1,4 +1,4 @@
-"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["3118"],{84075:function(e,t,a){a.d(t,{WH:()=>r,hI:()=>i,iE:()=>c,mD:()=>u,sS:()=>o,vi:()=>n,yG:()=>p});var l=a(34541);let{t:s}=a(76882).Z.global,i=e=>l.e.get("/contact/group/list",{params:e}),r=()=>l.e.get("/contact/group/all"),o=e=>l.e.post("/contact/group/create",e,{fetchOptions:{loading:s("contacts.group.loading.createGroup"),successMessage:!0}}),u=e=>l.e.post("/contact/group/update",e,{fetchOptions:{loading:s("contacts.group.loading.updateGroup"),successMessage:!0}}),c=e=>l.e.post("/contact/group/delete",e,{fetchOptions:{loading:s("contacts.group.loading.deleteGroup"),successMessage:!0}}),n=e=>l.e.post("/contact/group/contact_count",e),p=e=>l.e.post("/contact/group/export",e,{fetchOptions:{loading:"Exporting, please wait...",successMessage:!0}})},86559:function(e,t,a){a.d(t,{Z:()=>i});var l=a(73084),s=a(58786);let i=(0,s.aZ)({__name:"index",props:(0,s.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,s.Vf)(["search"],["update:value"]),setup(e,t){let{expose:a,emit:i}=t,r=(0,s.iH)(null),o=(0,s.tT)(e,"value"),u=()=>{i("search",o.value)};return a({focus:()=>{var e;null==(e=r.value)||e.focus()}}),(e,t)=>{let a=l.Z;return(0,s.wg)(),(0,s.j4)(a,(0,s.dG)({ref_key:"inputRef",ref:r,value:o.value,"onUpdate:value":t[0]||(t[0]=e=>o.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,s.D2)(u,["enter"])}),(0,s.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,s.w5)(()=>[(0,s._)("div",{class:"flex items-center cursor-pointer",onClick:u},t[1]||(t[1]=[(0,s._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,s.w5)(()=>[(0,s._)("div",{class:"flex items-center cursor-pointer",onClick:u},t[2]||(t[2]=[(0,s._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},76582:function(e,t,a){a.r(t),a.d(t,{default:()=>B});var l=a(39244),s=a(25170),i=a(75754),r=a(66760),o=a(86559),u=a(16715),c=a(77227),n=a(58786),p=a(94821),d=a(93953),m=a(67655),v=a(51169),b=a(67512),g=a(68271),f=a(34541);let{t:_}=a(76882).Z.global,w=e=>f.e.get("/contact/list",{params:e}),U=e=>f.e.post("/contact/group/import",e,{fetchOptions:{loading:_("contacts.group.loading.importSubscribers"),successMessage:!0}}),S=e=>f.e.post("/contact/edit",e,{fetchOptions:{loading:_("contacts.group.loading.updateSubscriberGroup"),successMessage:!0}}),y=e=>f.e.post("/contact/delete",e,{fetchOptions:{loading:_("contacts.group.loading.deleteSubscriber"),successMessage:!0}});var h=a(8490),x=a(84075),W=a(52495);let Z=(0,n.aZ)({__name:"GroupSelect",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let{t}=(0,W.QT)(),a=(0,n.tT)(e,"value"),l=(0,n.iH)([{label:t("common.all.text"),value:""}]),s=e=>{let{option:a}=e;return`${t("contacts.subscribers.select.prefix")}${a.label}`};return(async()=>{let e=await (0,x.WH)();(0,g.Kn)(e)&&(l.value=e.list.map(e=>({label:e.name,value:e.id})),l.value.unshift({label:t("common.all.text"),value:""}))})(),(e,t)=>{let i=h.Z;return(0,n.wg)(),(0,n.j4)(i,{value:a.value,"onUpdate:value":t[0]||(t[0]=e=>a.value=e),options:(0,n.SU)(l),renderTag:s},null,8,["value","options"])}}});var k=a(46244),$=a(73084),O=a(3179),z=a(81833),C=a(37864),R=a(6455),j=a(46471),H=a(98003);let T=(0,n.aZ)({__name:"GroupMultipleSelect",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,n.tT)(e,"value"),a=(0,n.iH)([]),l=(0,n.iH)(!1);return(async()=>{try{l.value=!0;let e=await (0,x.WH)();(0,g.Kn)(e)&&(a.value=e.list.map(e=>({label:e.name,value:e.id})))}finally{l.value=!1}})(),(e,s)=>{let i=h.Z;return(0,n.wg)(),(0,n.j4)(i,{value:t.value,"onUpdate:value":s[0]||(s[0]=e=>t.value=e),"max-tag-count":"responsive",multiple:!0,filterable:!0,loading:(0,n.SU)(l),options:(0,n.SU)(a)},null,8,["value","loading","options"])}}}),M={class:"pt-12px"},P={class:"flex-1"},G={class:"mb-8px text-desc"},q={class:"w-260px"},D={class:"flex-1"},E={class:"mt-8px"},A={class:"mt-8px text-12px text-desc"},F={class:"mt-8px text-12px text-desc"},I=`email,attributes
+"use strict";(self.webpackChunkfrontend=self.webpackChunkfrontend||[]).push([["4536"],{84075:function(e,t,a){a.d(t,{WH:()=>r,hI:()=>i,iE:()=>c,mD:()=>u,sS:()=>o,vi:()=>n,yG:()=>p});var l=a(34541);let{t:s}=a(76882).Z.global,i=e=>l.e.get("/contact/group/list",{params:e}),r=()=>l.e.get("/contact/group/all"),o=e=>l.e.post("/contact/group/create",e,{fetchOptions:{loading:s("contacts.group.loading.createGroup"),successMessage:!0}}),u=e=>l.e.post("/contact/group/update",e,{fetchOptions:{loading:s("contacts.group.loading.updateGroup"),successMessage:!0}}),c=e=>l.e.post("/contact/group/delete",e,{fetchOptions:{loading:s("contacts.group.loading.deleteGroup"),successMessage:!0}}),n=e=>l.e.post("/contact/group/contact_count",e),p=e=>l.e.post("/contact/group/export",e,{fetchOptions:{loading:"Exporting, please wait...",successMessage:!0}})},86559:function(e,t,a){a.d(t,{Z:()=>i});var l=a(73084),s=a(58786);let i=(0,s.aZ)({__name:"index",props:(0,s.Vf)({width:{default:240},prefix:{type:Boolean,default:!1}},{value:{default:""},valueModifiers:{}}),emits:(0,s.Vf)(["search"],["update:value"]),setup(e,t){let{expose:a,emit:i}=t,r=(0,s.iH)(null),o=(0,s.tT)(e,"value"),u=()=>{i("search",o.value)};return a({focus:()=>{var e;null==(e=r.value)||e.focus()}}),(e,t)=>{let a=l.Z;return(0,s.wg)(),(0,s.j4)(a,(0,s.dG)({ref_key:"inputRef",ref:r,value:o.value,"onUpdate:value":t[0]||(t[0]=e=>o.value=e)},e.$attrs,{class:"bt-search",style:{width:`${e.width}px`},onKeyup:(0,s.D2)(u,["enter"])}),(0,s.Nv)({_:2},[e.prefix?{name:"prefix",fn:(0,s.w5)(()=>[(0,s._)("div",{class:"flex items-center cursor-pointer",onClick:u},t[1]||(t[1]=[(0,s._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"0"}:void 0,e.prefix?void 0:{name:"suffix",fn:(0,s.w5)(()=>[(0,s._)("div",{class:"flex items-center cursor-pointer",onClick:u},t[2]||(t[2]=[(0,s._)("i",{class:"i-mdi-search text-16px"},null,-1)]))]),key:"1"}]),1040,["value","style"])}}})},58695:function(e,t,a){a.r(t),a.d(t,{default:()=>B});var l=a(39244),s=a(25170),i=a(75754),r=a(66760),o=a(86559),u=a(16715),c=a(77227),n=a(58786),p=a(94821),d=a(93953),m=a(67655),v=a(51169),b=a(67512),g=a(68271),f=a(34541);let{t:_}=a(76882).Z.global,w=e=>f.e.get("/contact/list",{params:e}),U=e=>f.e.post("/contact/group/import",e,{fetchOptions:{loading:_("contacts.group.loading.importSubscribers"),successMessage:!0}}),S=e=>f.e.post("/contact/edit",e,{fetchOptions:{loading:_("contacts.group.loading.updateSubscriberGroup"),successMessage:!0}}),y=e=>f.e.post("/contact/delete",e,{fetchOptions:{loading:_("contacts.group.loading.deleteSubscriber"),successMessage:!0}});var h=a(8490),x=a(84075),W=a(52495);let Z=(0,n.aZ)({__name:"GroupSelect",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let{t}=(0,W.QT)(),a=(0,n.tT)(e,"value"),l=(0,n.iH)([{label:t("common.all.text"),value:""}]),s=e=>{let{option:a}=e;return`${t("contacts.subscribers.select.prefix")}${a.label}`};return(async()=>{let e=await (0,x.WH)();(0,g.Kn)(e)&&(l.value=e.list.map(e=>({label:e.name,value:e.id})),l.value.unshift({label:t("common.all.text"),value:""}))})(),(e,t)=>{let i=h.Z;return(0,n.wg)(),(0,n.j4)(i,{value:a.value,"onUpdate:value":t[0]||(t[0]=e=>a.value=e),options:(0,n.SU)(l),renderTag:s},null,8,["value","options"])}}});var k=a(46244),$=a(73084),O=a(3179),z=a(81833),C=a(37864),R=a(6455),j=a(46471),H=a(98003);let T=(0,n.aZ)({__name:"GroupMultipleSelect",props:{value:{},valueModifiers:{}},emits:["update:value"],setup(e){let t=(0,n.tT)(e,"value"),a=(0,n.iH)([]),l=(0,n.iH)(!1);return(async()=>{try{l.value=!0;let e=await (0,x.WH)();(0,g.Kn)(e)&&(a.value=e.list.map(e=>({label:e.name,value:e.id})))}finally{l.value=!1}})(),(e,s)=>{let i=h.Z;return(0,n.wg)(),(0,n.j4)(i,{value:t.value,"onUpdate:value":s[0]||(s[0]=e=>t.value=e),"max-tag-count":"responsive",multiple:!0,filterable:!0,loading:(0,n.SU)(l),options:(0,n.SU)(a)},null,8,["value","loading","options"])}}}),M={class:"pt-12px"},P={class:"flex-1"},G={class:"mb-8px text-desc"},q={class:"w-260px"},D={class:"flex-1"},E={class:"mt-8px"},A={class:"mt-8px text-12px text-desc"},F={class:"mt-8px text-12px text-desc"},I=`email,attributes
[email protected],"{""age"": ""13"", ""Gender"": ""XXX""}"
[email protected],"{""age"": ""45"", ""city"": ""XXX""}"
-`,X=(0,n.aZ)({__name:"SubscriberImport",setup(e){let{t}=(0,W.QT)(),a=(0,n.AE)("formRef"),l=(0,n.iH)("paste"),s=(0,n.qj)({group_ids:[],import_type:1,contacts:"",file_data:"",file_type:"",overwrite:0,default_active:1,status:1}),i={group_ids:{trigger:"change",validator:()=>0!==s.group_ids.length||Error(t("contacts.subscribers.import.validation.groupRequired"))},contacts:{validator:()=>!(2===s.import_type&&(0,j.Z)(s.contacts))||Error(t("contacts.subscribers.import.validation.dataRequired"))}},r=(0,n.Fl)(()=>[{label:t("contacts.subscribers.import.overwriteOptions.no"),value:0},{label:t("contacts.subscribers.import.overwriteOptions.yes"),value:1}]),o=(0,n.Fl)(()=>[{label:t("contacts.subscribers.import.subscriptionOptions.subscribe"),value:1},{label:t("contacts.subscribers.import.subscriptionOptions.unsubscribe"),value:0}]),p=(0,n.Fl)(()=>[{label:t("contacts.subscribers.import.statusOptions.confirmed"),value:1},{label:t("contacts.subscribers.import.statusOptions.unconfirmed"),value:0}]),d=e=>{let t=new FileReader;t.onload=t=>{var a;s.file_type=e.name.substring(e.name.lastIndexOf(".")+1),s.file_data=null==(a=t.target)?void 0:a.result},e.file&&t.readAsText(e.file)},b=async()=>{await (0,H.Sv)({file_path:"./template/example_recipients.csv"})},f=async()=>{var e;if(await (null==(e=a.value)?void 0:e.validate()),"upload"===l.value&&(0,j.Z)(s.file_data))return g.v0.error(t("contacts.subscribers.import.validation.fileRequired")),Promise.reject()},[_,w]=(0,v.d)({onChangeState:e=>{if(e){let e=w.getState();(null==e?void 0:e.group_id)?s.group_ids=[e.group_id]:s.group_ids=[]}else s.import_type=1,s.contacts="",s.file_data="",s.file_type="",s.group_ids=[],s.overwrite=0,s.default_active=1,s.status=1},onConfirm:async()=>{await f(),await U((0,n.IU)(s));let e=w.getState();null==e||e.refresh()}});return(e,t)=>{let l=h.Z,v=R.ZP,g=C.ZP,f=z.Z,w=c.Z,U=u.Z,S=O.Z,y=m.ZP,x=$.Z,W=k.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(_),{title:e.$t("contacts.subscribers.import.title"),width:"600"},{default:(0,n.w5)(()=>[(0,n._)("div",M,[(0,n.Wm)(W,{ref_key:"formRef",ref:a,model:(0,n.SU)(s),rules:i},{default:(0,n.w5)(()=>[(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.overwriteLabel")},{default:(0,n.w5)(()=>[(0,n._)("div",P,[(0,n._)("div",G,(0,n.zw)(e.$t("contacts.subscribers.import.overwriteDescription")),1),(0,n._)("div",q,[(0,n.Wm)(l,{value:(0,n.SU)(s).overwrite,"onUpdate:value":t[0]||(t[0]=e=>(0,n.SU)(s).overwrite=e),options:(0,n.SU)(r)},null,8,["value","options"])])])]),_:1},8,["label"]),(0,n.Wm)(f,{cols:2,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(g,{span:1,label:e.$t("contacts.subscribers.import.subscriptionStatus")},{default:(0,n.w5)(()=>[(0,n.Wm)(l,{value:(0,n.SU)(s).default_active,"onUpdate:value":t[1]||(t[1]=e=>(0,n.SU)(s).default_active=e),options:(0,n.SU)(o)},null,8,["value","options"])]),_:1},8,["label"]),(0,n.Wm)(g,{span:1,label:e.$t("contacts.subscribers.import.status")},{default:(0,n.w5)(()=>[(0,n.Wm)(l,{value:(0,n.SU)(s).status,"onUpdate:value":t[2]||(t[2]=e=>(0,n.SU)(s).status=e),options:(0,n.SU)(p)},null,8,["value","options"])]),_:1},8,["label"])]),_:1}),(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.group"),path:"group_id"},{default:(0,n.w5)(()=>[(0,n.Wm)(T,{value:(0,n.SU)(s).group_ids,"onUpdate:value":t[3]||(t[3]=e=>(0,n.SU)(s).group_ids=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.data"),path:"contacts"},{default:(0,n.w5)(()=>[(0,n._)("div",D,[(0,n.Wm)(U,{value:(0,n.SU)(s).import_type,"onUpdate:value":t[4]||(t[4]=e=>(0,n.SU)(s).import_type=e)},{default:(0,n.w5)(()=>[(0,n.Wm)(w,{value:1},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("contacts.subscribers.import.uploadFile")),1)]),_:1}),(0,n.Wm)(w,{value:2},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("contacts.subscribers.import.pasteData")),1)]),_:1})]),_:1},8,["value"]),(0,n._)("div",E,[1===(0,n.SU)(s).import_type?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Wm)(S,{"is-upload":!1,accept:["csv"],onChange:d}),(0,n._)("div",A,[(0,n.Uk)((0,n.zw)(e.$t("contacts.subscribers.import.fileTypeHint"))+" ",1),(0,n.Wm)(y,{text:"",type:"primary",onClick:b},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("common.actions.download")),1)]),_:1})])],64)):(0,n.kq)("",!0),2===(0,n.SU)(s).import_type?((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Wm)(x,{value:(0,n.SU)(s).contacts,"onUpdate:value":t[5]||(t[5]=e=>(0,n.SU)(s).contacts=e),type:"textarea",rows:8},null,8,["value"]),(0,n._)("div",F,(0,n.zw)(e.$t("contacts.subscribers.import.pastePlaceholder")),1)],64)):(0,n.kq)("",!0)])])]),_:1},8,["label"]),(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.exampleCsvLabel")},{default:(0,n.w5)(()=>[(0,n._)("pre",{class:"csv-example"},(0,n.zw)(I))]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["title"])}}});var L=a(41748);let N=(0,L.default)(X,[["__scopeId","data-v-b949b6f8"]]),Q={class:"pt-12px"},J=(0,n.aZ)({__name:"SubscriberEdit",setup(e){let{t}=(0,W.QT)(),a=(0,n.AE)("formRef"),l=(0,n.qj)({email:"",active:1,attribs:"",group_ids:[]}),s={group_ids:{trigger:"change",validator:()=>0!==l.group_ids.length||Error(t("contacts.subscribers.edit.validation.groupRequired"))}},i=[{label:"Subscribe",value:1},{label:"Unsubscribe",value:0}],[r,o]=(0,v.d)({onChangeState:e=>{if(e){let{row:e}=o.getState();e&&(l.email=e.email,l.active=e.active,l.group_ids=e.groups.map(e=>e.id),l.attribs=e.attribs?JSON.stringify(e.attribs,null,2):"")}else l.email="",l.active=1,l.group_ids=[],l.attribs=""},onConfirm:async()=>{var e;await (null==(e=a.value)?void 0:e.validate());let t={};try{t=l.attribs?JSON.parse(l.attribs):{}}catch(e){return g.v0.error(`${e}`,{close:!0}),!1}await S({emails:l.email,group_ids:l.group_ids,active:l.active,attribs:JSON.stringify(t)}),o.getState().refresh()}});return(e,t)=>{let o=$.Z,u=C.ZP,c=h.Z,p=z.Z,d=R.ZP,m=k.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(r),{title:e.$t("contacts.subscribers.edit.title"),width:"600"},{default:(0,n.w5)(()=>[(0,n._)("div",Q,[(0,n.Wm)(m,{ref_key:"formRef",ref:a,model:(0,n.SU)(l),rules:s},{default:(0,n.w5)(()=>[(0,n.Wm)(p,{cols:12,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{span:8,label:e.$t("contacts.subscribers.edit.email")},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{value:(0,n.SU)(l).email,"onUpdate:value":t[0]||(t[0]=e=>(0,n.SU)(l).email=e),disabled:!0},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(u,{span:4,label:"Status"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(l).active,"onUpdate:value":t[1]||(t[1]=e=>(0,n.SU)(l).active=e),options:i},null,8,["value"])]),_:1})]),_:1}),(0,n.Wm)(d,{label:e.$t("contacts.subscribers.edit.group"),path:"group_ids"},{default:(0,n.w5)(()=>[(0,n.Wm)(T,{value:(0,n.SU)(l).group_ids,"onUpdate:value":t[2]||(t[2]=e=>(0,n.SU)(l).group_ids=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(d,{label:"Attributes",path:"group_ids"},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{value:(0,n.SU)(l).attribs,"onUpdate:value":t[3]||(t[3]=e=>(0,n.SU)(l).attribs=e),type:"textarea",rows:6},null,8,["value"])]),_:1})]),_:1},8,["model"])])]),_:1},8,["title"])}}}),K={class:"w-200px"};function V(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,n.lA)(e)}let Y=(0,n.aZ)({__name:"index",setup(e){let{t}=(0,W.QT)(),a=(0,p.tLD)(),{tableParams:f,tableList:_,loading:U,tableTotal:S,getTableData:h}=(0,b.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,group_id:a.value.state.group_id||"",keyword:"",status:1},fetchFn:w}),x=(0,n.iH)([{key:"email",title:t("contacts.subscribers.columns.email"),minWidth:120,ellipsis:{tooltip:!0}},{key:"groups",title:t("contacts.subscribers.columns.name"),minWidth:100,render:e=>e.groups.map(e=>e.name).join(", ")},{key:"create_time",title:t("contacts.subscribers.columns.createdAt"),minWidth:140,render:e=>(0,g.mr)(e.create_time)},{title:t("common.columns.actions"),key:"actions",align:"right",width:180,render:e=>{let a,l;return(0,n.Wm)(d.Z,{inline:!0},{default:()=>[(0,n.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{R(e)}},V(a=t("common.actions.edit"))?a:{default:()=>[a]}),(0,n.Wm)(m.ZP,{type:"error",text:!0,onClick:()=>{j(e)}},V(l=t("common.actions.delete"))?l:{default:()=>[l]})]})}}]),[k,$]=(0,v.d)({component:N,state:{refresh:h}}),O=()=>{$.setState({group_id:f.value.group_id}),$.open()},[z,C]=(0,v.d)({component:J,state:{refresh:h}}),R=e=>{C.setState({row:e}),C.open()},j=e=>{(0,g.iG)({title:t("contacts.subscribers.delete.title"),content:t("contacts.subscribers.delete.confirm",{email:e.email}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await y({emails:[e.email],status:f.value.status}),h()}})};return(e,a)=>{let p=c.Z,d=u.Z,v=o.Z,b=r.Z,g=i.Z,w=s.Z,y=l.Z;return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(y,null,{toolsLeft:(0,n.w5)(()=>[(0,n.Wm)((0,n.SU)(m.ZP),{type:"primary",onClick:O},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)((0,n.SU)(t)("common.actions.import")),1)]),_:1})]),toolsRight:(0,n.w5)(()=>[(0,n.Wm)(d,{value:(0,n.SU)(f).status,"onUpdate:value":[a[0]||(a[0]=e=>(0,n.SU)(f).status=e),a[1]||(a[1]=()=>(0,n.SU)(h)(!0))]},{default:(0,n.w5)(()=>[(0,n.Wm)(p,{value:1},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)((0,n.SU)(t)("contacts.subscribers.status.subscribed")),1)]),_:1}),(0,n.Wm)(p,{value:0},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)((0,n.SU)(t)("contacts.subscribers.status.unsubscribed")),1)]),_:1})]),_:1},8,["value"]),(0,n._)("div",K,[(0,n.Wm)(Z,{value:(0,n.SU)(f).group_id,"onUpdate:value":[a[2]||(a[2]=e=>(0,n.SU)(f).group_id=e),a[3]||(a[3]=()=>(0,n.SU)(h)(!0))]},null,8,["value"])]),(0,n.Wm)(v,{value:(0,n.SU)(f).keyword,"onUpdate:value":a[4]||(a[4]=e=>(0,n.SU)(f).keyword=e),width:240,placeholder:(0,n.SU)(t)("contacts.subscribers.search.emailPlaceholder"),onSearch:a[5]||(a[5]=()=>(0,n.SU)(h)(!0))},null,8,["value","placeholder"])]),table:(0,n.w5)(()=>[(0,n.Wm)(g,{loading:(0,n.SU)(U),columns:(0,n.SU)(x),data:(0,n.SU)(_)},{empty:(0,n.w5)(()=>[(0,n.Wm)(b)]),_:1},8,["loading","columns","data"])]),pageRight:(0,n.w5)(()=>[(0,n.Wm)(w,{page:(0,n.SU)(f).page,"onUpdate:page":a[6]||(a[6]=e=>(0,n.SU)(f).page=e),"page-size":(0,n.SU)(f).page_size,"onUpdate:pageSize":a[7]||(a[7]=e=>(0,n.SU)(f).page_size=e),"item-count":(0,n.SU)(S),onRefresh:(0,n.SU)(h)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,n.w5)(()=>[(0,n.Wm)((0,n.SU)(k)),(0,n.Wm)((0,n.SU)(z))]),_:1})])}}}),B=(0,L.default)(Y,[["__scopeId","data-v-c7ec0e9c"]])}}]);
\ No newline at end of file
+`,X=(0,n.aZ)({__name:"SubscriberImport",setup(e){let{t}=(0,W.QT)(),a=(0,n.AE)("formRef"),l=(0,n.iH)("paste"),s=(0,n.qj)({group_ids:[],import_type:1,contacts:"",file_data:"",file_type:"",overwrite:0,default_active:1,status:1}),i={group_ids:{trigger:"change",validator:()=>0!==s.group_ids.length||Error(t("contacts.subscribers.import.validation.groupRequired"))},contacts:{validator:()=>!(2===s.import_type&&(0,j.Z)(s.contacts))||Error(t("contacts.subscribers.import.validation.dataRequired"))}},r=(0,n.Fl)(()=>[{label:t("contacts.subscribers.import.overwriteOptions.no"),value:0},{label:t("contacts.subscribers.import.overwriteOptions.yes"),value:1}]),o=(0,n.Fl)(()=>[{label:t("contacts.subscribers.import.subscriptionOptions.subscribe"),value:1},{label:t("contacts.subscribers.import.subscriptionOptions.unsubscribe"),value:0}]),p=(0,n.Fl)(()=>[{label:t("contacts.subscribers.import.statusOptions.confirmed"),value:1},{label:t("contacts.subscribers.import.statusOptions.unconfirmed"),value:0}]),d=e=>{let t=new FileReader;t.onload=t=>{var a;s.file_type=e.name.substring(e.name.lastIndexOf(".")+1),s.file_data=null==(a=t.target)?void 0:a.result},e.file&&t.readAsText(e.file)},b=async()=>{await (0,H.Sv)({file_path:"./template/example_recipients.csv"})},f=async()=>{var e;if(await (null==(e=a.value)?void 0:e.validate()),"upload"===l.value&&(0,j.Z)(s.file_data))return g.v0.error(t("contacts.subscribers.import.validation.fileRequired")),Promise.reject()},[_,w]=(0,v.d)({onChangeState:e=>{if(e){let e=w.getState();(null==e?void 0:e.group_id)?s.group_ids=[e.group_id]:s.group_ids=[]}else s.import_type=1,s.contacts="",s.file_data="",s.file_type="",s.group_ids=[],s.overwrite=0,s.default_active=1,s.status=1},onConfirm:async()=>{await f(),await U((0,n.IU)(s));let e=w.getState();null==e||e.refresh()}});return(e,t)=>{let l=h.Z,v=R.ZP,g=C.ZP,f=z.Z,w=c.Z,U=u.Z,S=O.Z,y=m.ZP,x=$.Z,W=k.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(_),{title:e.$t("contacts.subscribers.import.title"),width:"600"},{default:(0,n.w5)(()=>[(0,n._)("div",M,[(0,n.Wm)(W,{ref_key:"formRef",ref:a,model:(0,n.SU)(s),rules:i},{default:(0,n.w5)(()=>[(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.overwriteLabel")},{default:(0,n.w5)(()=>[(0,n._)("div",P,[(0,n._)("div",G,(0,n.zw)(e.$t("contacts.subscribers.import.overwriteDescription")),1),(0,n._)("div",q,[(0,n.Wm)(l,{value:(0,n.SU)(s).overwrite,"onUpdate:value":t[0]||(t[0]=e=>(0,n.SU)(s).overwrite=e),options:(0,n.SU)(r)},null,8,["value","options"])])])]),_:1},8,["label"]),(0,n.Wm)(f,{cols:2,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(g,{span:1,label:e.$t("contacts.subscribers.import.subscriptionStatus")},{default:(0,n.w5)(()=>[(0,n.Wm)(l,{value:(0,n.SU)(s).default_active,"onUpdate:value":t[1]||(t[1]=e=>(0,n.SU)(s).default_active=e),options:(0,n.SU)(o)},null,8,["value","options"])]),_:1},8,["label"]),(0,n.Wm)(g,{span:1,label:e.$t("contacts.subscribers.import.status")},{default:(0,n.w5)(()=>[(0,n.Wm)(l,{value:(0,n.SU)(s).status,"onUpdate:value":t[2]||(t[2]=e=>(0,n.SU)(s).status=e),options:(0,n.SU)(p)},null,8,["value","options"])]),_:1},8,["label"])]),_:1}),(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.group"),path:"group_id"},{default:(0,n.w5)(()=>[(0,n.Wm)(T,{value:(0,n.SU)(s).group_ids,"onUpdate:value":t[3]||(t[3]=e=>(0,n.SU)(s).group_ids=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.data"),path:"contacts"},{default:(0,n.w5)(()=>[(0,n._)("div",D,[(0,n.Wm)(U,{value:(0,n.SU)(s).import_type,"onUpdate:value":t[4]||(t[4]=e=>(0,n.SU)(s).import_type=e)},{default:(0,n.w5)(()=>[(0,n.Wm)(w,{value:1},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("contacts.subscribers.import.uploadFile")),1)]),_:1}),(0,n.Wm)(w,{value:2},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("contacts.subscribers.import.pasteData")),1)]),_:1})]),_:1},8,["value"]),(0,n._)("div",E,[1===(0,n.SU)(s).import_type?((0,n.wg)(),(0,n.iD)(n.HY,{key:0},[(0,n.Wm)(S,{"is-upload":!1,accept:["csv"],onChange:d}),(0,n._)("div",A,[(0,n.Uk)((0,n.zw)(e.$t("contacts.subscribers.import.fileTypeHint"))+" ",1),(0,n.Wm)(y,{text:"",type:"primary",onClick:b},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)(e.$t("common.actions.download")),1)]),_:1})])],64)):(0,n.kq)("",!0),2===(0,n.SU)(s).import_type?((0,n.wg)(),(0,n.iD)(n.HY,{key:1},[(0,n.Wm)(x,{value:(0,n.SU)(s).contacts,"onUpdate:value":t[5]||(t[5]=e=>(0,n.SU)(s).contacts=e),type:"textarea",rows:8},null,8,["value"]),(0,n._)("div",F,[(0,n._)("p",null,(0,n.zw)(e.$t("contacts.subscribers.import.pastePlaceholder.0")),1)])],64)):(0,n.kq)("",!0)])])]),_:1},8,["label"]),(0,n.Wm)(v,{label:e.$t("contacts.subscribers.import.exampleCsvLabel")},{default:(0,n.w5)(()=>[(0,n._)("pre",{class:"csv-example"},(0,n.zw)(I))]),_:1},8,["label"])]),_:1},8,["model"])])]),_:1},8,["title"])}}});var L=a(41748);let N=(0,L.default)(X,[["__scopeId","data-v-22187ee4"]]),Q={class:"pt-12px"},J=(0,n.aZ)({__name:"SubscriberEdit",setup(e){let{t}=(0,W.QT)(),a=(0,n.AE)("formRef"),l=(0,n.qj)({email:"",active:1,attribs:"",group_ids:[]}),s={group_ids:{trigger:"change",validator:()=>0!==l.group_ids.length||Error(t("contacts.subscribers.edit.validation.groupRequired"))}},i=[{label:"Subscribe",value:1},{label:"Unsubscribe",value:0}],[r,o]=(0,v.d)({onChangeState:e=>{if(e){let{row:e}=o.getState();e&&(l.email=e.email,l.active=e.active,l.group_ids=e.groups.map(e=>e.id),l.attribs=e.attribs?JSON.stringify(e.attribs,null,2):"")}else l.email="",l.active=1,l.group_ids=[],l.attribs=""},onConfirm:async()=>{var e;await (null==(e=a.value)?void 0:e.validate());let t={};try{t=l.attribs?JSON.parse(l.attribs):{}}catch(e){return g.v0.error(`${e}`,{close:!0}),!1}await S({emails:l.email,group_ids:l.group_ids,active:l.active,attribs:JSON.stringify(t)}),o.getState().refresh()}});return(e,t)=>{let o=$.Z,u=C.ZP,c=h.Z,p=z.Z,d=R.ZP,m=k.Z;return(0,n.wg)(),(0,n.j4)((0,n.SU)(r),{title:e.$t("contacts.subscribers.edit.title"),width:"600"},{default:(0,n.w5)(()=>[(0,n._)("div",Q,[(0,n.Wm)(m,{ref_key:"formRef",ref:a,model:(0,n.SU)(l),rules:s},{default:(0,n.w5)(()=>[(0,n.Wm)(p,{cols:12,"x-gap":24},{default:(0,n.w5)(()=>[(0,n.Wm)(u,{span:8,label:e.$t("contacts.subscribers.edit.email")},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{value:(0,n.SU)(l).email,"onUpdate:value":t[0]||(t[0]=e=>(0,n.SU)(l).email=e),disabled:!0},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(u,{span:4,label:"Status"},{default:(0,n.w5)(()=>[(0,n.Wm)(c,{value:(0,n.SU)(l).active,"onUpdate:value":t[1]||(t[1]=e=>(0,n.SU)(l).active=e),options:i},null,8,["value"])]),_:1})]),_:1}),(0,n.Wm)(d,{label:e.$t("contacts.subscribers.edit.group"),path:"group_ids"},{default:(0,n.w5)(()=>[(0,n.Wm)(T,{value:(0,n.SU)(l).group_ids,"onUpdate:value":t[2]||(t[2]=e=>(0,n.SU)(l).group_ids=e)},null,8,["value"])]),_:1},8,["label"]),(0,n.Wm)(d,{label:"Attributes",path:"group_ids"},{default:(0,n.w5)(()=>[(0,n.Wm)(o,{value:(0,n.SU)(l).attribs,"onUpdate:value":t[3]||(t[3]=e=>(0,n.SU)(l).attribs=e),type:"textarea",rows:6},null,8,["value"])]),_:1})]),_:1},8,["model"])])]),_:1},8,["title"])}}}),K={class:"w-200px"};function V(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,n.lA)(e)}let Y=(0,n.aZ)({__name:"index",setup(e){let{t}=(0,W.QT)(),a=(0,p.tLD)(),{tableParams:f,tableList:_,loading:U,tableTotal:S,getTableData:h}=(0,b.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,group_id:a.value.state.group_id||"",keyword:"",status:1},fetchFn:w}),x=(0,n.iH)([{key:"email",title:t("contacts.subscribers.columns.email"),minWidth:120,ellipsis:{tooltip:!0}},{key:"groups",title:t("contacts.subscribers.columns.name"),minWidth:100,render:e=>e.groups.map(e=>e.name).join(", ")},{key:"create_time",title:t("contacts.subscribers.columns.createdAt"),minWidth:140,render:e=>(0,g.mr)(e.create_time)},{title:t("common.columns.actions"),key:"actions",align:"right",width:180,render:e=>{let a,l;return(0,n.Wm)(d.Z,{inline:!0},{default:()=>[(0,n.Wm)(m.ZP,{type:"primary",text:!0,onClick:()=>{R(e)}},V(a=t("common.actions.edit"))?a:{default:()=>[a]}),(0,n.Wm)(m.ZP,{type:"error",text:!0,onClick:()=>{j(e)}},V(l=t("common.actions.delete"))?l:{default:()=>[l]})]})}}]),[k,$]=(0,v.d)({component:N,state:{refresh:h}}),O=()=>{$.setState({group_id:f.value.group_id}),$.open()},[z,C]=(0,v.d)({component:J,state:{refresh:h}}),R=e=>{C.setState({row:e}),C.open()},j=e=>{(0,g.iG)({title:t("contacts.subscribers.delete.title"),content:t("contacts.subscribers.delete.confirm",{email:e.email}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await y({emails:[e.email],status:f.value.status}),h()}})};return(e,a)=>{let p=c.Z,d=u.Z,v=o.Z,b=r.Z,g=i.Z,w=s.Z,y=l.Z;return(0,n.wg)(),(0,n.iD)("div",null,[(0,n.Wm)(y,null,{toolsLeft:(0,n.w5)(()=>[(0,n.Wm)((0,n.SU)(m.ZP),{type:"primary",onClick:O},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)((0,n.SU)(t)("common.actions.import")),1)]),_:1})]),toolsRight:(0,n.w5)(()=>[(0,n.Wm)(d,{value:(0,n.SU)(f).status,"onUpdate:value":[a[0]||(a[0]=e=>(0,n.SU)(f).status=e),a[1]||(a[1]=()=>(0,n.SU)(h)(!0))]},{default:(0,n.w5)(()=>[(0,n.Wm)(p,{value:1},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)((0,n.SU)(t)("contacts.subscribers.status.subscribed")),1)]),_:1}),(0,n.Wm)(p,{value:0},{default:(0,n.w5)(()=>[(0,n.Uk)((0,n.zw)((0,n.SU)(t)("contacts.subscribers.status.unsubscribed")),1)]),_:1})]),_:1},8,["value"]),(0,n._)("div",K,[(0,n.Wm)(Z,{value:(0,n.SU)(f).group_id,"onUpdate:value":[a[2]||(a[2]=e=>(0,n.SU)(f).group_id=e),a[3]||(a[3]=()=>(0,n.SU)(h)(!0))]},null,8,["value"])]),(0,n.Wm)(v,{value:(0,n.SU)(f).keyword,"onUpdate:value":a[4]||(a[4]=e=>(0,n.SU)(f).keyword=e),width:240,placeholder:(0,n.SU)(t)("contacts.subscribers.search.emailPlaceholder"),onSearch:a[5]||(a[5]=()=>(0,n.SU)(h)(!0))},null,8,["value","placeholder"])]),table:(0,n.w5)(()=>[(0,n.Wm)(g,{loading:(0,n.SU)(U),columns:(0,n.SU)(x),data:(0,n.SU)(_)},{empty:(0,n.w5)(()=>[(0,n.Wm)(b)]),_:1},8,["loading","columns","data"])]),pageRight:(0,n.w5)(()=>[(0,n.Wm)(w,{page:(0,n.SU)(f).page,"onUpdate:page":a[6]||(a[6]=e=>(0,n.SU)(f).page=e),"page-size":(0,n.SU)(f).page_size,"onUpdate:pageSize":a[7]||(a[7]=e=>(0,n.SU)(f).page_size=e),"item-count":(0,n.SU)(S),onRefresh:(0,n.SU)(h)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,n.w5)(()=>[(0,n.Wm)((0,n.SU)(k)),(0,n.Wm)((0,n.SU)(z))]),_:1})])}}}),B=(0,L.default)(Y,[["__scopeId","data-v-c7ec0e9c"]])}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/async/8559.dc95d308.js b/core/public/dist/static/js/async/8559.95127814.js
similarity index 80%
rename from core/public/dist/static/js/async/8559.dc95d308.js
rename to core/public/dist/static/js/async/8559.95127814.js
index 24fcd812..013f28ef 100644
--- a/core/public/dist/static/js/async/8559.dc95d308.js
+++ b/core/public/dist/static/js/async/8559.95127814.js
@@ -71,4 +71,4 @@
--n-merged-th-color: var(--n-th-color-popover);
--n-merged-td-color: var(--n-td-color-popover);
--n-merged-border-color: var(--n-border-color-popover);
- `))]),W="DESCRIPTION_ITEM_FLAG",$=Object.assign(Object.assign({},w.Z.props),{title:String,column:{type:Number,default:3},columns:Number,labelPlacement:{type:String,default:"top"},labelAlign:{type:String,default:"left"},separator:{type:String,default:":"},size:{type:String,default:"medium"},bordered:Boolean,labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]}),B=(0,s.aZ)({name:"Descriptions",props:$,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:a}=(0,y.ZP)(e),r=(0,w.Z)("Descriptions","-descriptions",Z,z.Z,e,t),l=(0,s.Fl)(()=>{let{size:t,bordered:a}=e,{common:{cubicBezierEaseInOut:l},self:{titleTextColor:i,thColor:o,thColorModal:n,thColorPopover:s,thTextColor:d,thFontWeight:c,tdTextColor:p,tdColor:u,tdColorModal:m,tdColorPopover:b,borderColor:g,borderColorModal:h,borderColorPopover:k,borderRadius:f,lineHeight:w,[(0,S.Tl)("fontSize",t)]:y,[(0,S.Tl)(a?"thPaddingBordered":"thPadding",t)]:v,[(0,S.Tl)(a?"tdPaddingBordered":"tdPadding",t)]:_}}=r.value;return{"--n-title-text-color":i,"--n-th-padding":v,"--n-td-padding":_,"--n-font-size":y,"--n-bezier":l,"--n-th-font-weight":c,"--n-line-height":w,"--n-th-text-color":d,"--n-td-text-color":p,"--n-th-color":o,"--n-th-color-modal":n,"--n-th-color-popover":s,"--n-td-color":u,"--n-td-color-modal":m,"--n-td-color-popover":b,"--n-border-radius":f,"--n-border-color":g,"--n-border-color-modal":h,"--n-border-color-popover":k}}),i=a?(0,v.F)("descriptions",(0,s.Fl)(()=>{let t="",{size:a,bordered:r}=e;return r&&(t+="a"),t+=a[0]}),l,e):void 0;return{mergedClsPrefix:t,cssVars:a?void 0:l,themeClass:null==i?void 0:i.themeClass,onRender:null==i?void 0:i.onRender,compitableColumn:(0,f.Z)(e,["columns","column"]),inlineThemeDisabled:a}},render(){let e=this.$slots.default,t=e?(0,_.x)(e()):[];t.length;let{contentClass:a,labelClass:r,compitableColumn:l,labelPlacement:i,labelAlign:o,size:n,bordered:d,title:c,cssVars:p,mergedClsPrefix:u,separator:m,onRender:b}=this;null==b||b();let g=t.filter(e=>!("object"!=typeof e||!e||Array.isArray(e))&&e.type&&e.type[W]),h=g.reduce((e,t,o)=>{let n=t.props||{},c=g.length-1===o,p=["label"in n?n.label:x(t,"label")],b=[x(t)],h=n.span||1,k=e.span;e.span+=h;let f=n.labelStyle||n["label-style"]||this.labelStyle,w=n.contentStyle||n["content-style"]||this.contentStyle;if("left"===i)d?e.row.push((0,s.h)("th",{class:[`${u}-descriptions-table-header`,r],colspan:1,style:f},p),(0,s.h)("td",{class:[`${u}-descriptions-table-content`,a],colspan:c?(l-k)*2+1:2*h-1,style:w},b)):e.row.push((0,s.h)("td",{class:`${u}-descriptions-table-content`,colspan:c?(l-k)*2:2*h},(0,s.h)("span",{class:[`${u}-descriptions-table-content__label`,r],style:f},[...p,m&&(0,s.h)("span",{class:`${u}-descriptions-separator`},m)]),(0,s.h)("span",{class:[`${u}-descriptions-table-content__content`,a],style:w},b)));else{let t=c?(l-k)*2:2*h;e.row.push((0,s.h)("th",{class:[`${u}-descriptions-table-header`,r],colspan:t,style:f},p)),e.secondRow.push((0,s.h)("td",{class:[`${u}-descriptions-table-content`,a],colspan:t,style:w},b))}return(e.span>=l||c)&&(e.span=0,e.row.length&&(e.rows.push(e.row),e.row=[]),"left"!==i&&e.secondRow.length&&(e.rows.push(e.secondRow),e.secondRow=[])),e},{span:0,row:[],secondRow:[],rows:[]}).rows.map(e=>(0,s.h)("tr",{class:`${u}-descriptions-table-row`},e));return(0,s.h)("div",{style:p,class:[`${u}-descriptions`,this.themeClass,`${u}-descriptions--${i}-label-placement`,`${u}-descriptions--${o}-label-align`,`${u}-descriptions--${n}-size`,d&&`${u}-descriptions--bordered`]},c||this.$slots.header?(0,s.h)("div",{class:`${u}-descriptions-header`},c||(0,U.z)(this,"header")):null,(0,s.h)("div",{class:`${u}-descriptions-table-wrapper`},(0,s.h)("table",{class:`${u}-descriptions-table`},(0,s.h)("tbody",null,"top"===i&&(0,s.h)("tr",{class:`${u}-descriptions-table-row`,style:{visibility:"collapse"}},(0,k.rx)(2*l,(0,s.h)("td",null))),h))))}}),j=(0,s.aZ)({name:"DescriptionsItem",[W]:!0,props:{label:String,span:{type:Number,default:1},labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]},slots:Object,render:()=>null}),C=(0,s.aZ)({__name:"TaskDetail",setup(e){let t=(0,s.iH)(null),[a,r]=(0,m.d)({onChangeState:e=>{e&&(t.value=r.getState().row)}});return(e,r)=>{let l=c.ZP,i=u.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(a),{title:e.$t("market.task.detail.title"),width:600,footer:!1},{default:(0,s.w5)(()=>[(0,s.SU)(t)?((0,s.wg)(),(0,s.j4)(B,{key:0,"label-placement":"left",bordered:!0,column:1,"label-style":{width:"180px"}},{default:(0,s.w5)(()=>[(0,s.Wm)(j,{label:e.$t("market.task.detail.displayName")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).full_name),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.sender")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).addresser),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.subject")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).subject),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.groups")},{default:(0,s.w5)(()=>[(0,s.Wm)(i,null,{default:(0,s.w5)(()=>[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(t).groups,e=>((0,s.wg)(),(0,s.j4)(l,{key:e.id,size:"small"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.name),1)]),_:2},1024))),128))]),_:1})]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.sendTime")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(g.mr)((0,s.SU)(t).start_time)),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.unsubscribeLink")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(1===(0,s.SU)(t).unsubscribe?e.$t("market.task.detail.yes"):e.$t("market.task.detail.no")),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.threads")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(0===(0,s.SU)(t).threads?e.$t("market.task.detail.auto"):(0,s.SU)(t).threads),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.remark")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).remark||"--"),1)]),_:1},8,["label"])]),_:1})):(0,s.kq)("",!0)]),_:1},8,["title"])}}});var P=a(35409);let R=(0,s.aZ)({__name:"TaskStatusDetails",setup(e){let t=(0,s.iH)(""),{loading:a,tableParams:o,tableList:n,tableTotal:d,getTableData:c}=(0,b.Z)({loading:!0,immediate:!1,params:{page:1,page_size:10,task_id:0,status:0,domain:""},fetchFn:h.oS}),p=(0,s.iH)([{key:"recipient",title:"Recipient",width:160,render:e=>(0,s.Wm)(P.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?999:1,tooltip:!1},{default:()=>[e.recipient]})},{key:"dsn",title:"Dsn",width:60},{key:"delay",title:"Delay",width:70},{key:"delays",title:"Delays",width:150},{key:"relay",title:"Relay",width:200,render:e=>(0,s.Wm)(P.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.relay]})},{key:"description",title:"Details",render:e=>(0,s.Wm)(P.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.description]})}]),u=e=>({onMousemove:()=>{e.tooltip=!0},onMouseleave:()=>{e.tooltip=!1}}),[g,k]=(0,m.d)({onChangeState:e=>{if(e){let{status:e,taskId:a,row:r}=k.getState();r&&(t.value=`Failure Details [${r.domain}]`,o.value.page=1,o.value.status=e,o.value.task_id=a,o.value.domain=r.domain,c())}else n.value=[]}});return(e,m)=>{let b=i.Z,h=l.Z,k=(0,s.up)("details-modal"),f=r.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(g),{title:(0,s.SU)(t),width:1e3,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(f,null,{table:(0,s.w5)(()=>[(0,s.Wm)(b,{bordered:!1,loading:(0,s.SU)(a),columns:(0,s.SU)(p),data:(0,s.SU)(n),"row-props":u},null,8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(h,{page:(0,s.SU)(o).page,"onUpdate:page":m[0]||(m[0]=e=>(0,s.SU)(o).page=e),"page-size":(0,s.SU)(o).page_size,"onUpdate:pageSize":m[1]||(m[1]=e=>(0,s.SU)(o).page_size=e),"item-count":(0,s.SU)(d),onRefresh:(0,s.SU)(c)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)(k)]),_:1})]),_:1},8,["title"])}}}),O=(0,s.aZ)({__name:"TaskStatus",setup(e){let t=(0,s.iH)("Error tasks"),a=(0,s.iH)(!1),l=(0,s.qj)({status:0,task_id:0}),o=(0,s.iH)([]),n=(0,s.iH)([{key:"domain",title:"Domain"},{key:"count",title:"Count"},{key:"active",title:"Operator",align:"right",render:e=>(0,s.Wm)(d.ZP,{text:!0,type:"primary",onClick:()=>{u(e)}},{default:()=>[(0,s.Uk)("Details")]})}]),[c,p]=(0,m.d)({component:R}),u=e=>{p.setState({taskId:l.task_id,status:l.status,row:e}),p.open()},b=async()=>{let e=await (0,h.ke)((0,s.IU)(l));(0,g.kJ)(e)&&(o.value=e)},[k,f]=(0,m.d)({onChangeState:e=>{if(e){let{row:e}=f.getState();e&&(o.value=[],l.task_id=e.id,t.value=`Error tasks [${e.subject}]`,b())}else o.value=[]}});return(e,l)=>{let d=i.Z,p=r.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(k),{title:(0,s.SU)(t),width:600,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(p,null,{toolsLeft:(0,s.w5)(()=>l[0]||(l[0]=[])),toolsRight:(0,s.w5)(()=>l[1]||(l[1]=[])),table:(0,s.w5)(()=>[(0,s.Wm)(d,{bordered:!1,loading:(0,s.SU)(a),columns:(0,s.SU)(n),data:(0,s.SU)(o)},null,8,["loading","columns","data"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(c))]),_:1})]),_:1},8,["title"])}}});var D=a(52495),T=a(65965);function A(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,s.lA)(e)}let M=(0,s.aZ)({__name:"index",setup(e){let{t}=(0,D.QT)(),{loading:a,tableParams:k,tableList:f,tableTotal:w,getTableData:y}=(0,b.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:h.ZS}),v=(0,s.iH)([{key:"create_time",title:t("market.task.columns.time"),width:"10%",minWidth:140,render:e=>(0,g.mr)(e.create_time)},{key:"subject",title:t("market.task.columns.subject"),minWidth:120,ellipsis:{tooltip:!0}},{key:"addresser",title:t("market.task.columns.sender"),width:"12%",minWidth:140,ellipsis:{tooltip:!0}},{key:"recipient_count",title:t("market.task.columns.recipients"),width:"6%",minWidth:80},{key:"success_count",title:t("market.task.columns.success"),width:"6%",minWidth:80},{key:"error_count",title:t("market.task.columns.failed"),width:"6%",minWidth:80,render:e=>(0,s.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{W(e)}},{default:()=>[e.error_count]})},{key:"active",title:t("market.task.columns.status"),width:"8%",minWidth:90,render:e=>{let a,r,l;return 0===e.task_process||3===e.task_process?(0,s.Wm)(c.ZP,{size:"small",bordered:!1,type:"warning"},A(a=t("market.task.status.pending"))?a:{default:()=>[a]}):1===e.task_process?(0,s.Wm)(c.ZP,{size:"small",bordered:!1,type:"info"},A(r=t("market.task.status.processing"))?r:{default:()=>[r]}):(0,s.Wm)(c.ZP,{size:"small",bordered:!1,type:"success"},A(l=t("market.task.status.done"))?l:{default:()=>[l]})}},{key:"remark",title:t("market.task.columns.remark"),width:"8%",minWidth:80,ellipsis:{tooltip:!0},render:e=>e.remark||"--"},{key:"estimated_time_with_warmup",title:t("market.task.columns.estimatedTime"),width:"11%",minWidth:110,ellipsis:{tooltip:!0},render:e=>2===e.task_process?"--":e.estimated_time_with_warmup>=0?(0,g.NY)(e.estimated_time_with_warmup):t("market.task.status.noIpWarmup")},{key:"progress",title:t("market.task.columns.progress"),width:"8%",minWidth:130,render:e=>(0,s.Wm)("div",{class:"max-w-160px"},[(0,s.Wm)(p.Z,{type:"line",status:"success","indicator-placement":"inside",processing:100!==e.progress,percentage:e.progress,"show-indicator":!1},null)])},{title:t("common.columns.actions"),key:"actions",align:"right",width:220,render:e=>{let a,r,l;return(0,s.Wm)(u.Z,{inline:!0},{default:()=>[2!==e.task_process&&(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{U(e)}},{default:()=>[3===e.task_process?t("market.task.actions.send"):t("market.task.actions.pause")]}),(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{x(e)}},A(a=t("market.task.actions.analytics"))?a:{default:()=>[a]}),(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{j(e)}},A(r=t("market.task.actions.detail"))?r:{default:()=>[r]}),(0,s.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{P(e)}},A(l=t("common.actions.delete"))?l:{default:()=>[l]})]})}}]),S=(0,T.tv)(),_=()=>{S.push("/market/task/edit")},x=e=>{S.push(`/market/task/analytics/${e.id}`)},U=e=>{(0,g.iG)({title:t("market.task.changeStatus.title",{subject:e.subject}),content:3===e.task_process?t("market.task.changeStatus.startConfirm"):t("market.task.changeStatus.pauseConfirm"),onConfirm:async()=>{3===e.task_process?await (0,h.Q5)({task_id:e.id}):await (0,h.Xr)({task_id:e.id}),y()}})},[z,Z]=(0,m.d)({component:O}),W=e=>{Z.setState({row:e}),Z.open()},[$,B]=(0,m.d)({component:C}),j=e=>{B.setState({row:e}),B.open()},P=e=>{(0,g.iG)({title:t("market.task.delete.title"),content:t("market.task.delete.confirm",{subject:e.subject}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,h._5)({id:e.id}),y()}})};return(e,c)=>{let p=n.Z,u=o.Z,m=i.Z,b=l.Z,g=r.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s.Wm)(g,null,{toolsLeft:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(d.ZP),{type:"primary",onClick:_},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("market.task.actions.add")),1)]),_:1})]),toolsRight:(0,s.w5)(()=>[(0,s.Wm)(p,{value:(0,s.SU)(k).keyword,"onUpdate:value":c[0]||(c[0]=e=>(0,s.SU)(k).keyword=e),width:320,placeholder:(0,s.SU)(t)("market.task.search.subjectPlaceholder"),onSearch:c[1]||(c[1]=()=>(0,s.SU)(y)(!0))},null,8,["value","placeholder"])]),table:(0,s.w5)(()=>[(0,s.Wm)(m,{loading:(0,s.SU)(a),columns:(0,s.SU)(v),data:(0,s.SU)(f)},{empty:(0,s.w5)(()=>[(0,s.Wm)(u)]),_:1},8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(b,{page:(0,s.SU)(k).page,"onUpdate:page":c[2]||(c[2]=e=>(0,s.SU)(k).page=e),"page-size":(0,s.SU)(k).page_size,"onUpdate:pageSize":c[3]||(c[3]=e=>(0,s.SU)(k).page_size=e),"item-count":(0,s.SU)(w),onRefresh:(0,s.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(z)),(0,s.Wm)((0,s.SU)($))]),_:1})])}}})}}]);
\ No newline at end of file
+ `))]),W="DESCRIPTION_ITEM_FLAG",$=Object.assign(Object.assign({},w.Z.props),{title:String,column:{type:Number,default:3},columns:Number,labelPlacement:{type:String,default:"top"},labelAlign:{type:String,default:"left"},separator:{type:String,default:":"},size:{type:String,default:"medium"},bordered:Boolean,labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]}),B=(0,s.aZ)({name:"Descriptions",props:$,slots:Object,setup(e){let{mergedClsPrefixRef:t,inlineThemeDisabled:a}=(0,y.ZP)(e),r=(0,w.Z)("Descriptions","-descriptions",Z,z.Z,e,t),l=(0,s.Fl)(()=>{let{size:t,bordered:a}=e,{common:{cubicBezierEaseInOut:l},self:{titleTextColor:i,thColor:o,thColorModal:n,thColorPopover:s,thTextColor:d,thFontWeight:c,tdTextColor:p,tdColor:u,tdColorModal:m,tdColorPopover:b,borderColor:g,borderColorModal:h,borderColorPopover:k,borderRadius:f,lineHeight:w,[(0,S.Tl)("fontSize",t)]:y,[(0,S.Tl)(a?"thPaddingBordered":"thPadding",t)]:v,[(0,S.Tl)(a?"tdPaddingBordered":"tdPadding",t)]:_}}=r.value;return{"--n-title-text-color":i,"--n-th-padding":v,"--n-td-padding":_,"--n-font-size":y,"--n-bezier":l,"--n-th-font-weight":c,"--n-line-height":w,"--n-th-text-color":d,"--n-td-text-color":p,"--n-th-color":o,"--n-th-color-modal":n,"--n-th-color-popover":s,"--n-td-color":u,"--n-td-color-modal":m,"--n-td-color-popover":b,"--n-border-radius":f,"--n-border-color":g,"--n-border-color-modal":h,"--n-border-color-popover":k}}),i=a?(0,v.F)("descriptions",(0,s.Fl)(()=>{let t="",{size:a,bordered:r}=e;return r&&(t+="a"),t+=a[0]}),l,e):void 0;return{mergedClsPrefix:t,cssVars:a?void 0:l,themeClass:null==i?void 0:i.themeClass,onRender:null==i?void 0:i.onRender,compitableColumn:(0,f.Z)(e,["columns","column"]),inlineThemeDisabled:a}},render(){let e=this.$slots.default,t=e?(0,_.x)(e()):[];t.length;let{contentClass:a,labelClass:r,compitableColumn:l,labelPlacement:i,labelAlign:o,size:n,bordered:d,title:c,cssVars:p,mergedClsPrefix:u,separator:m,onRender:b}=this;null==b||b();let g=t.filter(e=>!("object"!=typeof e||!e||Array.isArray(e))&&e.type&&e.type[W]),h=g.reduce((e,t,o)=>{let n=t.props||{},c=g.length-1===o,p=["label"in n?n.label:x(t,"label")],b=[x(t)],h=n.span||1,k=e.span;e.span+=h;let f=n.labelStyle||n["label-style"]||this.labelStyle,w=n.contentStyle||n["content-style"]||this.contentStyle;if("left"===i)d?e.row.push((0,s.h)("th",{class:[`${u}-descriptions-table-header`,r],colspan:1,style:f},p),(0,s.h)("td",{class:[`${u}-descriptions-table-content`,a],colspan:c?(l-k)*2+1:2*h-1,style:w},b)):e.row.push((0,s.h)("td",{class:`${u}-descriptions-table-content`,colspan:c?(l-k)*2:2*h},(0,s.h)("span",{class:[`${u}-descriptions-table-content__label`,r],style:f},[...p,m&&(0,s.h)("span",{class:`${u}-descriptions-separator`},m)]),(0,s.h)("span",{class:[`${u}-descriptions-table-content__content`,a],style:w},b)));else{let t=c?(l-k)*2:2*h;e.row.push((0,s.h)("th",{class:[`${u}-descriptions-table-header`,r],colspan:t,style:f},p)),e.secondRow.push((0,s.h)("td",{class:[`${u}-descriptions-table-content`,a],colspan:t,style:w},b))}return(e.span>=l||c)&&(e.span=0,e.row.length&&(e.rows.push(e.row),e.row=[]),"left"!==i&&e.secondRow.length&&(e.rows.push(e.secondRow),e.secondRow=[])),e},{span:0,row:[],secondRow:[],rows:[]}).rows.map(e=>(0,s.h)("tr",{class:`${u}-descriptions-table-row`},e));return(0,s.h)("div",{style:p,class:[`${u}-descriptions`,this.themeClass,`${u}-descriptions--${i}-label-placement`,`${u}-descriptions--${o}-label-align`,`${u}-descriptions--${n}-size`,d&&`${u}-descriptions--bordered`]},c||this.$slots.header?(0,s.h)("div",{class:`${u}-descriptions-header`},c||(0,U.z)(this,"header")):null,(0,s.h)("div",{class:`${u}-descriptions-table-wrapper`},(0,s.h)("table",{class:`${u}-descriptions-table`},(0,s.h)("tbody",null,"top"===i&&(0,s.h)("tr",{class:`${u}-descriptions-table-row`,style:{visibility:"collapse"}},(0,k.rx)(2*l,(0,s.h)("td",null))),h))))}}),j=(0,s.aZ)({name:"DescriptionsItem",[W]:!0,props:{label:String,span:{type:Number,default:1},labelClass:String,labelStyle:[Object,String],contentClass:String,contentStyle:[Object,String]},slots:Object,render:()=>null}),C=(0,s.aZ)({__name:"TaskDetail",setup(e){let t=(0,s.iH)(null),[a,r]=(0,m.d)({onChangeState:e=>{e&&(t.value=r.getState().row)}});return(e,r)=>{let l=c.ZP,i=u.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(a),{title:e.$t("market.task.detail.title"),width:600,footer:!1},{default:(0,s.w5)(()=>[(0,s.SU)(t)?((0,s.wg)(),(0,s.j4)(B,{key:0,"label-placement":"left",bordered:!0,column:1,"label-style":{width:"180px"}},{default:(0,s.w5)(()=>[(0,s.Wm)(j,{label:e.$t("market.task.detail.displayName")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).full_name),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.sender")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).addresser),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.subject")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).subject),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.groups")},{default:(0,s.w5)(()=>[(0,s.Wm)(i,null,{default:(0,s.w5)(()=>[((0,s.wg)(!0),(0,s.iD)(s.HY,null,(0,s.Ko)((0,s.SU)(t).groups,e=>((0,s.wg)(),(0,s.j4)(l,{key:e.id,size:"small"},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(e.name),1)]),_:2},1024))),128))]),_:1})]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.sendTime")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(g.mr)((0,s.SU)(t).start_time)),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.unsubscribeLink")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(1===(0,s.SU)(t).unsubscribe?e.$t("market.task.detail.yes"):e.$t("market.task.detail.no")),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.threads")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)(0===(0,s.SU)(t).threads?e.$t("market.task.detail.auto"):(0,s.SU)(t).threads),1)]),_:1},8,["label"]),(0,s.Wm)(j,{label:e.$t("market.task.detail.remark")},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t).remark||"--"),1)]),_:1},8,["label"])]),_:1})):(0,s.kq)("",!0)]),_:1},8,["title"])}}});var P=a(35409);let R=(0,s.aZ)({__name:"TaskStatusDetails",setup(e){let t=(0,s.iH)(""),{loading:a,tableParams:o,tableList:n,tableTotal:d,getTableData:c}=(0,b.Z)({loading:!0,immediate:!1,params:{page:1,page_size:10,task_id:0,status:0,domain:""},fetchFn:h.oS}),p=(0,s.iH)([{key:"recipient",title:"Recipient",width:160,render:e=>(0,s.Wm)(P.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?999:1,tooltip:!1},{default:()=>[e.recipient]})},{key:"dsn",title:"Dsn",width:60},{key:"delay",title:"Delay",width:70},{key:"delays",title:"Delays",width:150},{key:"relay",title:"Relay",width:200,render:e=>(0,s.Wm)(P.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.relay]})},{key:"description",title:"Details",render:e=>(0,s.Wm)(P.ZP,{class:e.tooltip?"":"break-all!","line-clamp":e.tooltip?9999:1,tooltip:!1},{default:()=>[e.description]})}]),u=e=>({onMousemove:()=>{e.tooltip=!0},onMouseleave:()=>{e.tooltip=!1}}),[g,k]=(0,m.d)({onChangeState:e=>{if(e){let{status:e,taskId:a,row:r}=k.getState();r&&(t.value=`Failure Details [${r.domain}]`,o.value.page=1,o.value.status=e,o.value.task_id=a,o.value.domain=r.domain,c())}else n.value=[]}});return(e,m)=>{let b=i.Z,h=l.Z,k=(0,s.up)("details-modal"),f=r.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(g),{title:(0,s.SU)(t),width:1e3,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(f,null,{table:(0,s.w5)(()=>[(0,s.Wm)(b,{bordered:!1,loading:(0,s.SU)(a),columns:(0,s.SU)(p),data:(0,s.SU)(n),"row-props":u},null,8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(h,{page:(0,s.SU)(o).page,"onUpdate:page":m[0]||(m[0]=e=>(0,s.SU)(o).page=e),"page-size":(0,s.SU)(o).page_size,"onUpdate:pageSize":m[1]||(m[1]=e=>(0,s.SU)(o).page_size=e),"item-count":(0,s.SU)(d),onRefresh:(0,s.SU)(c)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)(k)]),_:1})]),_:1},8,["title"])}}}),O=(0,s.aZ)({__name:"TaskStatus",setup(e){let t=(0,s.iH)("Error tasks"),a=(0,s.iH)(!1),l=(0,s.qj)({status:0,task_id:0}),o=(0,s.iH)([]),n=(0,s.iH)([{key:"domain",title:"Domain"},{key:"count",title:"Count"},{key:"active",title:"Operator",align:"right",render:e=>(0,s.Wm)(d.ZP,{text:!0,type:"primary",onClick:()=>{u(e)}},{default:()=>[(0,s.Uk)("Details")]})}]),[c,p]=(0,m.d)({component:R}),u=e=>{p.setState({taskId:l.task_id,status:l.status,row:e}),p.open()},b=async()=>{let e=await (0,h.ke)((0,s.IU)(l));(0,g.kJ)(e)&&(o.value=e)},[k,f]=(0,m.d)({onChangeState:e=>{if(e){let{row:e}=f.getState();e&&(o.value=[],l.task_id=e.id,t.value=`Error tasks [${e.subject}]`,b())}else o.value=[]}});return(e,l)=>{let d=i.Z,p=r.Z;return(0,s.wg)(),(0,s.j4)((0,s.SU)(k),{title:(0,s.SU)(t),width:600,footer:!1},{default:(0,s.w5)(()=>[(0,s.Wm)(p,null,{toolsLeft:(0,s.w5)(()=>l[0]||(l[0]=[])),toolsRight:(0,s.w5)(()=>l[1]||(l[1]=[])),table:(0,s.w5)(()=>[(0,s.Wm)(d,{bordered:!1,loading:(0,s.SU)(a),columns:(0,s.SU)(n),data:(0,s.SU)(o)},null,8,["loading","columns","data"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(c))]),_:1})]),_:1},8,["title"])}}});var D=a(52495),T=a(65965);function A(e){return"function"==typeof e||"[object Object]"===Object.prototype.toString.call(e)&&!(0,s.lA)(e)}let M=(0,s.aZ)({__name:"index",setup(e){let{t}=(0,D.QT)(),{loading:a,tableParams:k,tableList:f,tableTotal:w,getTableData:y}=(0,b.Z)({loading:!0,immediate:!0,params:{page:1,page_size:10,keyword:""},fetchFn:h.ZS}),v=(0,s.iH)([{key:"create_time",title:t("market.task.columns.time"),width:"9%",minWidth:130,ellipsis:{tooltip:!0},render:e=>(0,g.mr)(e.create_time)},{key:"subject",title:t("market.task.columns.subject"),minWidth:120,ellipsis:{tooltip:!0}},{key:"addresser",title:t("market.task.columns.sender"),minWidth:130,ellipsis:{tooltip:!0}},{key:"recipient_count",title:t("market.task.columns.recipients"),width:"6%",minWidth:80},{key:"success_count",title:t("market.task.columns.success"),width:"6%",minWidth:80},{key:"error_count",title:t("market.task.columns.failed"),width:"6%",minWidth:80,render:e=>(0,s.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{W(e)}},{default:()=>[e.error_count]})},{key:"active",title:t("market.task.columns.status"),width:"8%",minWidth:90,render:e=>{let a,r,l;return 0===e.task_process||3===e.task_process?(0,s.Wm)(c.ZP,{size:"small",bordered:!1,type:"warning"},A(a=t("market.task.status.pending"))?a:{default:()=>[a]}):1===e.task_process?(0,s.Wm)(c.ZP,{size:"small",bordered:!1,type:"info"},A(r=t("market.task.status.processing"))?r:{default:()=>[r]}):(0,s.Wm)(c.ZP,{size:"small",bordered:!1,type:"success"},A(l=t("market.task.status.done"))?l:{default:()=>[l]})}},{key:"remark",title:t("market.task.columns.remark"),width:"8%",minWidth:80,ellipsis:{tooltip:!0},render:e=>e.remark||"--"},{key:"estimated_time_with_warmup",title:t("market.task.columns.estimatedTime"),width:"11%",minWidth:110,ellipsis:{tooltip:!0},render:e=>2===e.task_process?"--":e.estimated_time_with_warmup>=0?(0,g.NY)(e.estimated_time_with_warmup):t("market.task.status.noIpWarmup")},{key:"progress",title:t("market.task.columns.progress"),width:"8%",minWidth:130,render:e=>(0,s.Wm)("div",{class:"max-w-160px"},[(0,s.Wm)(p.Z,{type:"line",status:"success","indicator-placement":"inside",processing:100!==e.progress,percentage:e.progress,"show-indicator":!1},null)])},{title:t("common.columns.actions"),key:"actions",align:"right",width:220,render:e=>{let a,r,l;return(0,s.Wm)(u.Z,{inline:!0},{default:()=>[2!==e.task_process&&(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{U(e)}},{default:()=>[3===e.task_process?t("market.task.actions.send"):t("market.task.actions.pause")]}),(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{x(e)}},A(a=t("market.task.actions.analytics"))?a:{default:()=>[a]}),(0,s.Wm)(d.ZP,{type:"primary",text:!0,onClick:()=>{j(e)}},A(r=t("market.task.actions.detail"))?r:{default:()=>[r]}),(0,s.Wm)(d.ZP,{type:"error",text:!0,onClick:()=>{P(e)}},A(l=t("common.actions.delete"))?l:{default:()=>[l]})]})}}]),S=(0,T.tv)(),_=()=>{S.push("/market/task/edit")},x=e=>{S.push(`/market/task/analytics/${e.id}`)},U=e=>{(0,g.iG)({title:t("market.task.changeStatus.title",{subject:e.subject}),content:3===e.task_process?t("market.task.changeStatus.startConfirm"):t("market.task.changeStatus.pauseConfirm"),onConfirm:async()=>{3===e.task_process?await (0,h.Q5)({task_id:e.id}):await (0,h.Xr)({task_id:e.id}),y()}})},[z,Z]=(0,m.d)({component:O}),W=e=>{Z.setState({row:e}),Z.open()},[$,B]=(0,m.d)({component:C}),j=e=>{B.setState({row:e}),B.open()},P=e=>{(0,g.iG)({title:t("market.task.delete.title"),content:t("market.task.delete.confirm",{subject:e.subject}),confirmText:t("common.actions.delete"),confirmType:"error",onConfirm:async()=>{await (0,h._5)({id:e.id}),y()}})};return(e,c)=>{let p=n.Z,u=o.Z,m=i.Z,b=l.Z,g=r.Z;return(0,s.wg)(),(0,s.iD)("div",null,[(0,s.Wm)(g,null,{toolsLeft:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(d.ZP),{type:"primary",onClick:_},{default:(0,s.w5)(()=>[(0,s.Uk)((0,s.zw)((0,s.SU)(t)("market.task.actions.add")),1)]),_:1})]),toolsRight:(0,s.w5)(()=>[(0,s.Wm)(p,{value:(0,s.SU)(k).keyword,"onUpdate:value":c[0]||(c[0]=e=>(0,s.SU)(k).keyword=e),width:320,placeholder:(0,s.SU)(t)("market.task.search.subjectPlaceholder"),onSearch:c[1]||(c[1]=()=>(0,s.SU)(y)(!0))},null,8,["value","placeholder"])]),table:(0,s.w5)(()=>[(0,s.Wm)(m,{loading:(0,s.SU)(a),columns:(0,s.SU)(v),data:(0,s.SU)(f)},{empty:(0,s.w5)(()=>[(0,s.Wm)(u)]),_:1},8,["loading","columns","data"])]),pageRight:(0,s.w5)(()=>[(0,s.Wm)(b,{page:(0,s.SU)(k).page,"onUpdate:page":c[2]||(c[2]=e=>(0,s.SU)(k).page=e),"page-size":(0,s.SU)(k).page_size,"onUpdate:pageSize":c[3]||(c[3]=e=>(0,s.SU)(k).page_size=e),"item-count":(0,s.SU)(w),onRefresh:(0,s.SU)(y)},null,8,["page","page-size","item-count","onRefresh"])]),modal:(0,s.w5)(()=>[(0,s.Wm)((0,s.SU)(z)),(0,s.Wm)((0,s.SU)($))]),_:1})])}}})}}]);
\ No newline at end of file
diff --git a/core/public/dist/static/js/index.d7d80900.js b/core/public/dist/static/js/index.d7d80900.js
deleted file mode 100644
index 33c23d68..00000000
--- a/core/public/dist/static/js/index.d7d80900.js
+++ /dev/null
@@ -1 +0,0 @@
-(()=>{var e={12052:function(e,t,a){var i={"./api.ts":"25735","./automation.ts":"63768","./contacts.ts":"52345","./domain.ts":"78280","./mailbox.ts":"5987","./market.ts":"30794","./overview.ts":"65449","./settings.ts":"84609","./smtp.ts":"48296"};function r(e){return a(o(e))}function o(e){if(!a.o(i,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=12052},34541:function(e,t,a){"use strict";a.d(t,{e:()=>s});var i=a(64767),r=a(52672),o=a(31708),n=a(68271);let s=i.Z.create({baseURL:n.FZ,timeout:25e4,headers:{"Content-Type":"application/json"},fetchOptions:{prefix:"/api",successMessage:!1}}),l=["/login"];s.interceptors.request.use(e=>{let{headers:t,url:a}=e;if(!l.includes(a||"")){let e=(0,o.LM)();t.Authorization=`Bearer ${e.login.token}`}return e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;return(0,n.Kn)(t)&&(e.url=`${t.prefix}`+e.url),e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;if((0,n.Kn)(t)&&t.loading){let{close:e}=n.v0.loading(t.loading);t.loadFn=e}return e}),s.interceptors.response.use(e=>{let{fetchOptions:t}=e.config,{code:a,data:i,msg:s,success:l}=e.data||{};if((null==t?void 0:t.loadFn)&&t.loadFn(),"application/force-download"===e.data.type){let t=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=t;let r=e.headers["content-disposition"],o=r?decodeURIComponent(r.split("filename=")[1]):"downloaded_file";return a.setAttribute("download",o),document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(t),Promise.resolve(i)}return 0===a&&l?((null==t?void 0:t.successMessage)&&n.v0.success(s),Promise.resolve(i)):(!l&&s&&n.v0.error(s,{close:!0}),401===a&&((0,o.LM)().resetLoginInfo(),r.Z.push("/login")),Promise.reject(e.data))},e=>Promise.reject(e))},98003:function(e,t,a){"use strict";a.d(t,{Sv:()=>o,Vb:()=>n,cT:()=>r,m0:()=>s});var i=a(34541);let r=(e,t)=>i.e.post("/file/upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{null==t||t(e)}}),o=e=>i.e.get("/file/download",{params:e,responseType:"blob"}),n=()=>i.e.get("/languages/get"),s=e=>i.e.post("/languages/set",e,{fetchOptions:{loading:"正在设置语言,请稍候...",successMessage:!0}})},73282:function(e,t,a){"use strict";a.d(t,{kS:()=>n,o1:()=>s,x4:()=>o});var i=a(34541);let{t:r}=a(76882).Z.global,o=e=>i.e.post("/login",e,{fetchOptions:{successMessage:!0}}),n=()=>i.e.post("/logout",{},{fetchOptions:{loading:r("user.api.loading.logout"),successMessage:!0}}),s=()=>i.e.get("/get_validate_code")},76882:function(e,t,a){"use strict";a.d(t,{m:()=>l,Z:()=>d});var i=a(52495),r=JSON.parse('{"common":{"all":{"text":"All","domain":"All Domains"},"time":{"today":"Today","yesterday":"Yesterday","last7days":"Last 7 Days","custom":"Custom"},"unit":{"days":"Days","hours":"Hours","minutes":"Minutes","seconds":"Seconds"},"columns":{"actions":"Operator"},"actions":{"view":"View","edit":"Edit","delete":"Delete","add":"Add","create":"Create","update":"Update","save":"Save","cancel":"Cancel","confirm":"Confirm","back":"Back","search":"Search","reset":"Reset","more":"More","refresh":"Refresh","copy":"Copy","restart":"Restart","import":"Import","export":"Export","download":"Download","upload":"Upload","apply":"Apply","test":"Test","rename":"Rename","preview":"Preview","modify":"Modify","config":"Config","help":"Help"},"useCopy":{"noText":"No text to copy","success":"Copy successful","failed":"Copy failed"}},"components":{"tableHelp":{"text1":"Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.","text2":"We highly value your active participation. Thank you."},"upload":{"error":{"fileSizeExceeded":"The size of file [{fileName}] cannot exceed {maxSize}MB","uploadFailed":"File upload failed. Please try again"},"prompt":{"dragText":"Click or drag files to this area","supportedFiles":"Only {suffix} files are supported"}}},"layout":{"header":{"submit":"Submit a Request"},"menu":{"overview":"Overview","market":"Email Marketing","task":"Task","template":"Template","sendApi":"Send API","contacts":"Contacts","subscribers":"Subscribers","group":"Group","domain":"Domain","mailboxes":"Mailboxes","settings":"Settings","common":"Common Settings","bcc":"BCC","forward":"Mail Forward","logout":"Logout"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"Username","passwordPlaceholder":"Password","loginButton":"Login","captchaPlaceholder":"Verification code","changeCaptcha":"Click to change","captcha":"Verification code"},"validation":{"usernameRequired":"Username cannot be empty!","passwordRequired":"Password cannot be empty!","captchaRequired":"Please enter the verification code"},"messages":{"loginSuccess":"Login successful","loginFailed":"Login failed","networkError":"Network error, please try again later"}},"user":{"logout":{"title":"Tips","content":"Are you sure you want to logout?"},"api":{"loading":{"logout":"Logging out, please wait..."}}},"overview":{"delivered":"Delivered","opened":"Opened","clicked":"Clicked","bounced":"Bounced","mailProviders":"Mail Providers","sendStats":"Send Statistics","provider":{"mailProvider":"Mail Provider","delivered":"Delivered","open":"Open","click":"Click","bounce":"Bounce"},"send":{"successRate":"Success Rate","success":"Success","fail":"Failed","sendSuccess":"Send Success","sendFail":"Send Failed"},"rate":{"openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate"},"sendFailDetails":{"title":"Send Failed Details","columns":{"recipient":"Recipient","dsn":"Dsn","delay":"Delay","delays":"Delays","status":"Status","relay":"Relay","details":"Details"}}},"market":{"task":{"title":"Task","actions":{"add":"Add Task","detail":"View","export":"Export","send":"Send","pause":"Pause","analytics":"Analytics"},"columns":{"time":"Time","subject":"Subject","sender":"Sender","recipients":"To","success":"Success","failed":"Failed","status":"Status","remark":"Remark","estimatedTime":"Estimated Complet Time","progress":"Progress","email":"Email","errorMsg":"Error Message"},"status":{"pending":"Pending","processing":"Processing","done":"Done","noIpWarmup":"No IP Warmup"},"search":{"subjectPlaceholder":"Search by subject"},"changeStatus":{"title":"Change Task Status [{subject}]","startConfirm":"Start sending task now?","pauseConfirm":"After pausing the task, you can continue sending it!"},"delete":{"title":"Delete Task","confirm":"Are you sure you want to delete the task \\"{subject}\\"?"},"detail":{"title":"Task Details","displayName":"Display Name","sender":"Sender","subject":"Mail Subject","groups":"Groups","sendTime":"Send Time","unsubscribeLink":"Unsubscribe Link","threads":"Threads Num","remark":"Remark","yes":"Yes","no":"No","auto":"Auto"},"edit":{"addTitle":"Add Task","from":"From","to":"To","displayName":"Display Name","displayNamePlaceholder":"Please enter display name","subject":"Subject","subjectPlaceholder":"Please enter mail subject","recipients":"Recipients","recipientsPlaceholder":"Please select recipient groups","recipientsCount":"Send emails ({count} recipients)","template":"Email template","saveOutbox":"Save to outbox","ipWarmup":"Associate IP Warmup System","ipWarmupTip":"Enabling this will limit the sending rate","unsubscribeLink":"Unsubscribe link","threads":"Threads","threadsAuto":"Auto","threadsCustom":"Custom","sendTime":"Send time","sendTimeNow":"Send now","sendTimeSchedule":"Schedule","remark":"Remark","remarkPlaceholder":"Please enter remark","testEmail":"Test email","testEmailPlaceholder":"Please enter test email","sendTest":"Send test mail","viewCase":"View case","preview":{"empty":"Please select an email template to preview"},"validation":{"displayNameRequired":"Please enter display name","subjectRequired":"Please enter mail subject","recipientsRequired":"Please select contact person","sendTimeRequired":"Please select send time","testEmailRequired":"Please enter test email","templateRequired":"Please select email template"},"discard":{"title":"Tips","content":"Do you want to discard your current edits?"}},"createGroup":{"title":"Create Group","groupName":"Group Name","email":"Email","groupNamePlaceholder":"Please enter group name","validation":{"groupNameRequired":"Please enter group name"}},"loading":{"creating":"Creating task, please wait...","deleting":"Deleting task, please wait...","pausing":"Pausing task, please wait...","resuming":"Resuming task, please wait...","sendingTest":"Sending test email, please wait..."}},"template":{"title":"Template","name":"Template Name","content":"Template Content","uploadHtml":"Upload HTML File","file":"Template File","actions":{"add":"Add Template","preview":"Preview","duplicate":"Duplicate","export":"Export","import":"Import"},"columns":{"name":"Template Name","type":"Type","createdAt":"Created At"},"search":{"namePlaceholder":"Search template name"},"delete":{"title":"Delete Template","confirm":"Are you sure to delete template {name}?"},"form":{"name":"Template Name","type":"Template Type","content":"Template Content"},"add":{"title":"Add Template","namePlaceholder":"Please enter template name","validation":{"nameRequired":"Please enter template name","uploadRequired":"Please upload HTML file"}},"preview":{"title":"Template Preview"},"loading":{"creating":"Creating template, please wait...","updating":"Updating template, please wait...","copying":"Copying template, please wait...","deleting":"Deleting template, please wait..."}}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"Enter an email address to search"},"columns":{"email":"Email","name":"Group Name","createdAt":"Creation Time"},"status":{"subscribed":"Subscribed","unsubscribed":"Unsubscribed"},"actions":{"changeGroup":"Change Group"},"delete":{"title":"Delete Subscriber","confirm":"Are you sure you want to delete the subscriber {email}?"},"select":{"prefix":"Group: "},"edit":{"title":"Change Group","email":"Email","group":"Group","validation":{"emailRequired":"Please enter email","groupRequired":"Please select group"}},"import":{"title":"Import Contacts","group":"Group","data":"Data","pasteData":"Paste Data","uploadFile":"Upload File","pastePlaceholder":"Please paste data, one email, attributes(can be empty) per line\\ne.g., [email protected]\\[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\"","fileTypeHint":"File type: csv, not exceeding 5 MB","overwriteLabel":"Overwrite Existing Users","overwriteDescription":"Whether to overwrite existing customer information in the list according to imported data during import","subscriptionStatus":"Subscription Status","status":"Status","exampleCsvLabel":"Example CSV","overwriteOptions":{"no":"No","yes":"Yes"},"subscriptionOptions":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"statusOptions":{"confirmed":"Confirmed","unconfirmed":"Unconfirmed"},"validation":{"groupRequired":"Please select group","dataRequired":"Please paste data, one email per line","fileRequired":"Please upload file"}},"loading":{"importSubscribers":"Importing contacts, please wait...","updateSubscriberGroup":"Updating group, please wait...","deleteSubscriber":"Deleting contacts, please wait..."}},"group":{"search":{"namePlaceholder":"Search by group name"},"columns":{"name":"Group Name","subscribers":"Subscribers","unsubscribe":"Unsubscribed","createdAt":"Created At"},"form":{"name":"Group Name","file":"File","nameRequired":"Please enter group name"},"add":{"title":"Add Group"},"rename":{"title":"Rename Group"},"delete":{"title":"Delete Group","confirm":"Are you sure to delete group {name}?"},"fileUpload":{"hint":"File type: csv, not exceeding 5 MB","emptyHint":"An empty group will be created when no file is uploaded"},"loading":{"createGroup":"Creating group, please wait...","updateGroup":"Updating group, please wait...","deleteGroup":"Deleting group, please wait..."}}},"domain":{"title":"MailDomain","addDomain":"Add Domain","help":"Add the domain you want to use to send emails","columns":{"domain":"Domain","quota":"Quota","mailboxes":"Mailboxes","defaultMailboxSize":"Default Mailbox Size","actions":"Actions"},"actions":{"dnsRecord":"DNS Records"},"delete":{"title":"Delete Domain","confirm":"Are you sure you want to delete domain [{domain}]?"},"form":{"addTitle":"Add Domain","editTitle":"Edit Domain","domain":"Domain","domainPlaceholder":"Please enter domain, e.g.: billionmail.com","aRecord":"A Record","aRecordPlaceholder":"Please enter A record, e.g.: mail.aapanel.com","quota":"Domain Quota","mailboxCount":"Mailbox Count","globalCatch":"Global Catch","globalCatchPlaceholder":"Forward non-existent emails to this address","validation":{"domainRequired":"Domain name cannot be empty!"},"tips":{"aRecordFailed":"A record resolution failed. Please check if the A record domain is resolved to the server IP","dnsSetup":"You need to add an A record in your DNS provider\'s console","cloudflare":"If using CloudFlare, please select [DNS only] when adding records"}},"dns":{"title":"DNS Records","verify":"Records set, verify DNS resolution","status":{"ok":"OK","notSet":"Not Set"},"columns":{"domain":"Domain"},"table":{"recordType":"Record Type","host":"Host","value":"Value","mxPriority":"MX Priority"},"step1":{"title":"Step 1: Add A Record"},"step2":{"title":"Step 2: Add MX Record","description":"Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"},"step3":{"title":"Step 3: Add TXT Record","description":"Add TXT records for email anti-spam (please copy the following parameters directly)"},"step4":{"title":"Step 4: Add PTR Record","description1":"(Optional) PTR record is used for reverse DNS lookup","description2":"Contact your IP provider to create PTR record"}},"ssl":{"expired":"Expired","daysLeft":"{days} days","notSet":"Not Set","title":"Domain SSL","tabs":{"otherCertificate":"Other Certificate"},"cert":{"brand":"Brand","domains":"Certificate Domains","privateKey":"Private Key (KEY)","certificate":"Certificate (CRT/PEM)","keyPlaceholder":"Enter private key content","certPlaceholder":"Enter certificate content"},"actions":{"applyFree":"Apply Free Certificate"},"tips":{"paste":"Paste your KEY and CRT content, then save","chainCheck":"If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated","pemFormat":"PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt","defaultSite":"When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"}},"api":{"loading":{"creating":"Creating Domain, please wait...","updating":"Updating Domain, please wait...","deleting":"Deleting Domain, please wait...","settingSSL":"Setting SSL, please wait...","applyingCert":"Applying SSL Certificate, please wait...","refreshingDns":"Refreshing DNS records, please wait..."}}},"mailbox":{"title":"Mailbox Management","actions":{"add":"Add Mailbox"},"search":{"usernamePlaceholder":"Search username"},"domain":{"selectPlaceholder":"Select domain"},"columns":{"username":"Username","password":"Password","loginInfo":"Login Info","quota":"Quota","type":"Type","status":"Status"},"userType":{"admin":"Admin","general":"General User"},"form":{"addTitle":"Add Mailbox","editTitle":"Edit Mailbox","emailAddress":"Email Address","password":"Password","passwordPlaceholder":"Enter your mailbox password","quota":"Quota","userType":"User Type","status":"Status"},"validation":{"emailRequired":"Please enter email address","passwordLength":"Password must be at least 8 characters","passwordFormat":"Password must contain at least one uppercase letter, one lowercase letter and one number"},"delete":{"title":"Delete Mailbox","confirm":"Are you sure you want to delete mailbox [{name}]?"},"loginInfo":{"template":"WebMail: {webmail}\\nUsername: {username}\\nPassword: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"Creating Mailbox, please wait...","updating":"Updating Mailbox, please wait...","deleting":"Deleting Mailbox, please wait..."}}},"smtp":{"title":"SMTP Relay Service Management","description":"Manage your SMTP relay services with support for multiple service providers","empty":"No SMTP relay services available","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"Custom SMTP"},"delete":{"title":"Delete Relay","confirm":"Are you sure you want to delete this relay service [{name}]?"},"card":{"domain":"Bound Domain","server":"Server","port":"Port","username":"Username"},"form":{"addTitle":"Add SMTP","editTitle":"Edit SMTP","remark":"Remark","domain":"Bound Domain","server":"SMTP Server","port":"SMTP Port","username":"Username","password":"Password","testConnection":"Test Connection","bind":" [Bound]","validation":{"nameRequired":"Please enter a relay name","domainRequired":"Please select a bound domain","serverRequired":"Please enter an SMTP server","portRequired":"Please enter an SMTP port","usernameRequired":"Please enter a username","passwordRequired":"Please enter a password"}},"status":{"online":"Online","offline":"Offline"},"api":{"loading":{"adding":"Adding SMTP, please wait...","editing":"Editing SMTP, please wait...","testing":"Testing SMTP connection, please wait...","deleting":"Deleting SMTP, please wait..."}}},"settings":{"title":"Settings","service":{"title":"Service Status","tips":"Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace","editTitle":"Online Edit {name}","columns":{"name":"Service Name","status":"Status"},"status":{"running":"Running","stopped":"Stopped"},"actions":{"restart":"Restart"},"restart":{"title":"Restart Service","confirm":"Are you sure you want to restart [{name}]?"}},"bcc":{"title":"BCC Management","add":"Add BCC","edit":"Edit BCC","needCopy":"Need Copy","copyTo":"Copy to","domain":"Domain","type":"BCC Type","status":"Status","active":"Active","types":{"sender":"When sending","recipient":"When receiving"},"delete":{"title":"Delete BCC [{address}]","content":"Whether to delete the BCC setting?"},"placeholders":{"needCopy":"Enter the users you need to BCC","copyTo":"Enter the email you need to receive the BCC"},"loading":{"adding":"Adding BCC, please wait...","saving":"Saving BCC, please wait...","deleting":"Deleting BCC, please wait..."}},"forward":{"add":"Add Forward","edit":"Edit Forward","columns":{"address":"Address","goto":"Goto","domain":"Domain","created":"Created","modified":"Modified","status":"Status"},"form":{"status":"Status","forwardedUsers":"Forwarded users","forwardedUsersPlaceholder":"Enter the mailbox that needs to be forwarded","domain":"Domain","domainPlaceholder":"Domain name of the Forwarded users","receivingUser":"Receiving user","receivingUserPlaceholder":"Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"},"delete":{"title":"Delete mail forward","content":"Are you sure you want to delete mail forward [{address}]?"},"loading":{"adding":"Adding mail forward, please wait...","editing":"Editing mail forward, please wait...","deleting":"Deleting mail forward, please wait..."}},"common":{"confirm":"Update","security":{"title":"Security Settings","username":"Change Username","currentUsername":"Current Username","newUsernamePlaceholder":"Enter new username","usernameRule":"4-20 characters, letters and numbers","usernameExists":"Username already exists","changePassword":"Change Password","currentPassword":"Current Password","newPassword":"New Password","confirmPassword":"Confirm New Password","passwordStrength":"Password Strength","passwordMismatch":"Passwords do not match","strength":{"weak":"Weak","medium":"Medium","strong":"Strong"},"securityPath":"Change Security Path","currentPath":"Current Path","newPathPlaceholder":"Enter new path, e.g. admin-abc123","pathRule":"Recommend using complex path for enhanced security","usernameValidation":{"lengthError":"Username length must be between 4 and 20 characters","formatError":"Username must consist of letters, numbers or underscores","duplicateError":"Username cannot be the same as current username"}},"network":{"title":"Network Configuration","domain":"Domain Settings","currentDomain":"The access domain name of the console","newDomainPlaceholder":"Enter new domain, e.g. admin.yourdomain.com","domainRule":"Please enter a valid domain","ssl":"SSL Certificate Configuration","sslEnabled":"SSL Enabled","certStatus":"Certificate Status","certValid":"({days} days remaining)","sslCert":"SSL Certificate (PEM format)","sslKey":"Private Key (PEM format)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"Update SSL Certificate","certValidStatus":"Certificate Valid","certExpiredStatus":"Certificate Expired","certExpireTime":"Certificate expires: {time}"},"system":{"title":"System Configuration","port":"Port Settings","currentPort":"Current Port","terminalRequired":"This setting requires terminal operation","copyCommand":"Copy the above command and execute it in the server terminal","commandCopied":"Command copied to clipboard","timezone":"Timezone Settings","currentTime":"Current System Timezone"}},"api":{"loading":{"restarting":"Restarting service, please wait...","saving":"Saving configuration, please wait..."}}},"api":{"title":"Send API","timeRange":"Time Range: ","status":"Status: ","search":"Search: ","searchPlaceholder":"Please enter API name","refreshData":"Refresh Data","createNew":"Create API","statusOptions":{"all":"All","active":"Active","inactive":"Inactive"},"columns":{"apiName":"API Name","apiKey":"API Key","sendCount":"Send Count","openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate","status":"Status"},"statusLabels":{"active":"Active","inactive":"Inactive"},"confirmDelete":{"title":"Delete API [{apiName}]","content":"Are you sure you want to delete this API?"},"overview":{"totalSend":"Total Sent","avgOpenRate":"Avg Open Rate","avgClickRate":"Avg Click Rate","avgBounceRate":"Avg Bounce Rate"},"form":{"apiName":"API Name","status":"Status","ipWhitelist":"IP Whitelist","apiNamePlaceholder":"Please enter API name","ipWhitelistPlaceholder":"Multiple IPs separated by commas, empty means no restriction","validation":{"apiNameRequired":"Please enter API name","addresserRequired":"Please select sender","templateRequired":"Please select template"},"title":{"edit":"Edit API","add":"Add API"}},"loading":{"creating":"Creating, please wait...","updating":"Updating, please wait...","deleting":"Deleting, please wait...","testing":"Testing, please wait..."}}}'),o=JSON.parse('{"common":{"all":{"text":"全部","domain":"全部域名"},"time":{"today":"今天","yesterday":"昨天","last7days":"近7天","custom":"自定义"},"columns":{"actions":"操作"},"unit":{"days":"天","hours":"小时","minutes":"分钟","seconds":"秒"},"actions":{"view":"查看","edit":"编辑","delete":"删除","add":"添加","create":"创建","update":"更新","save":"保存","cancel":"取消","confirm":"确认","back":"返回","search":"搜索","reset":"重置","more":"更多","refresh":"刷新","copy":"复制","restart":"重启","import":"导入","export":"导出","download":"下载","upload":"上传","apply":"应用","test":"测试","rename":"重命名","preview":"预览","modify":"修改","config":"配置","help":"Help"},"useCopy":{"noText":"没有要复制的文本","success":"复制成功","failed":"复制失败"}},"components":{"tableHelp":{"text1":"有问题或建议可提{issues},也可在Github给我们{star},","text2":"我们高度重视您的积极参与,谢谢。"},"upload":{"error":{"fileSizeExceeded":"文件【{fileName}】大小不能超过{maxSize}MB","uploadFailed":"上传文件失败,请重试"},"prompt":{"dragText":"点击或将文件拖拽到该区域","supportedFiles":"仅支持{suffix}文件"}}},"layout":{"header":{"submit":"提交需求"},"menu":{"overview":"概览","market":"邮件营销","task":"任务","template":"模板","sendApi":"发件API","contacts":"联系人","subscribers":"订阅","group":"分组","domain":"域名","mailboxes":"邮箱","settings":"设置","common":"常用设置","bcc":"BCC","forward":"邮件转发","logout":"退出"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"用户名","passwordPlaceholder":"密码","loginButton":"登录","captchaPlaceholder":"验证码","changeCaptcha":"点击切换验证码","captcha":"验证码"},"validation":{"usernameRequired":"用户名不能为空!","passwordRequired":"密码不能为空!","captchaRequired":"请输入验证码"},"messages":{"loginSuccess":"登录成功","loginFailed":"登录失败","networkError":"网络错误,请稍后重试"}},"user":{"logout":{"title":"提示","content":"是否确认退出登录?","confirm":"确认","cancel":"取消"},"api":{"loading":{"logout":"正在退出登录,请稍候..."}}},"overview":{"delivered":"已送达","opened":"已打开","clicked":"已点击","bounced":"已退回","mailProviders":"邮件提供商","sendStats":"发送统计","provider":{"mailProvider":"邮件提供商","delivered":"送达率","open":"打开率","click":"点击率","bounce":"退回率"},"send":{"successRate":"成功率","success":"成功","fail":"失败","sendSuccess":"发送成功","sendFail":"发送失败"},"rate":{"openRate":"打开率","clickRate":"点击率","bounceRate":"退回率"},"sendFailDetails":{"title":"发送失败详情","columns":{"recipient":"收件人","dsn":"Dsn","delay":"延迟","delays":"延迟详情","status":"状态","relay":"中继","details":"详情"}}},"market":{"task":{"title":"任务","actions":{"add":"添加任务","detail":"查看详情","export":"导出","send":"发送","pause":"暂停","analytics":"分析"},"columns":{"time":"时间","subject":"邮件主题","sender":"发件人","recipients":"收件人","success":"成功","failed":"失败","status":"状态","remark":"备注","estimatedTime":"预计完成时间","progress":"进度","email":"邮箱","errorMsg":"错误信息"},"status":{"pending":"等待中","processing":"处理中","done":"已完成","noIpWarmup":"未关联IP预热"},"search":{"subjectPlaceholder":"搜索邮件主题"},"changeStatus":{"title":"更改任务状态【{subject}】","startConfirm":"立即开始发送任务吗?","pauseConfirm":"暂停任务后,可以继续发送任务!"},"delete":{"title":"删除任务","confirm":"确定要删除任务 \\"{subject}\\" 吗?"},"detail":{"title":"任务详情","displayName":"显示名称","sender":"发件人","subject":"邮件主题","groups":"分组","sendTime":"发送时间","unsubscribeLink":"退订链接","threads":"线程数","remark":"备注","yes":"是","no":"否","auto":"自动"},"edit":{"addTitle":"添加任务","from":"发件人","to":"收件人","displayName":"显示名称","displayNamePlaceholder":"请输入显示名称","subject":"主题","subjectPlaceholder":"请输入邮件主题","recipients":"收件人","recipientsPlaceholder":"请选择收件人分组","recipientsCount":"发送邮件 ({count} 收件人)","template":"邮件模板","saveOutbox":"保存到发件箱","ipWarmup":"关联IP预热系统","ipWarmupTip":"开启后将会限制发件速率","unsubscribeLink":"退订链接","threads":"线程数","threadsAuto":"自动","threadsCustom":"自定义","sendTime":"发送时间","sendTimeNow":"立即发送","sendTimeSchedule":"定时发送","remark":"备注","remarkPlaceholder":"请输入备注","testEmail":"测试邮件","testEmailPlaceholder":"请输入测试邮箱","sendTest":"发送测试邮件","viewCase":"查看案例","preview":{"empty":"请选择邮件模板查看预览"},"validation":{"displayNameRequired":"请输入显示名称","subjectRequired":"请输入邮件主题","recipientsRequired":"请选择联系人","sendTimeRequired":"请选择发送时间","testEmailRequired":"请输入测试邮箱","templateRequired":"请选择邮件模板"},"discard":{"title":"提示","content":"是否放弃当前编辑?"}},"createGroup":{"title":"创建分组","groupName":"分组名称","email":"邮箱","groupNamePlaceholder":"请输入分组名称","validation":{"groupNameRequired":"请输入分组名称"}},"loading":{"creating":"正在创建任务,请稍候...","deleting":"正在删除任务,请稍候...","pausing":"正在暂停任务,请稍候...","resuming":"正在恢复任务,请稍候...","sendingTest":"正在发送测试邮件,请稍候..."}},"template":{"title":"模板","name":"模板名称","content":"模板内容","uploadHtml":"上传HTML文件","file":"模板文件","actions":{"add":"添加模板","preview":"预览","duplicate":"复制","export":"导出","import":"导入"},"columns":{"name":"模板名称","type":"类型","createdAt":"创建时间"},"search":{"namePlaceholder":"搜索模板名称"},"delete":{"title":"删除模板","confirm":"确定要删除模板 {name} 吗?"},"form":{"name":"模板名称","type":"模板类型","content":"模板内容","html":"HTML","drag":"拖拽"},"add":{"title":"添加模板","namePlaceholder":"请输入模板名称","validation":{"nameRequired":"请输入模板名称","uploadRequired":"请上传HTML文件"}},"preview":{"title":"预览模板"},"loading":{"creating":"正在创建模板,请稍候...","updating":"正在更新模板,请稍候...","copying":"正在复制模板,请稍候...","deleting":"正在删除模板,请稍候..."}}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"请输入邮箱地址搜索"},"columns":{"email":"邮箱","name":"分组名称","createdAt":"创建时间"},"status":{"subscribed":"订阅","unsubscribed":"取消订阅"},"actions":{"changeGroup":"更改分组"},"delete":{"title":"删除订阅者","confirm":"确定要删除订阅者 {email} 吗?"},"select":{"prefix":"分组:"},"edit":{"title":"更改分组","email":"邮箱","group":"分组","validation":{"emailRequired":"请填写邮箱","groupRequired":"请选择分组"}},"import":{"title":"导入联系人","group":"分组","data":"数据","pasteData":"粘贴数据","uploadFile":"上传文件","pastePlaceholder":"请粘贴数据,每行一个邮箱,属性(可为空)\\n例如:[email protected]\\[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\"","fileTypeHint":"文件类型:csv,不超过5 MB","overwriteLabel":"覆盖现有用户","overwriteDescription":"在导入时是否按照导入数据来覆盖列表中存在的客户信息","subscriptionStatus":"订阅状态","status":"状态","exampleCsvLabel":"CSV示例","overwriteOptions":{"no":"否","yes":"是"},"subscriptionOptions":{"subscribe":"订阅","unsubscribe":"取消订阅"},"statusOptions":{"confirmed":"已确认","unconfirmed":"未确认"},"validation":{"groupRequired":"请选择分组","dataRequired":"请粘贴数据,每行一个邮箱","fileRequired":"请上传文件"}}},"group":{"search":{"namePlaceholder":"请输入分组名称搜索"},"columns":{"name":"分组名称","subscribers":"订阅者数量","unsubscribe":"取消订阅","createdAt":"创建时间"},"form":{"name":"分组名称","file":"文件","nameRequired":"请输入分组名称"},"add":{"title":"添加分组"},"rename":{"title":"重命名分组"},"delete":{"title":"删除分组","confirm":"确定要删除分组 {name} 吗?"},"fileUpload":{"hint":"文件类型:csv,不超过5 MB","emptyHint":"文件传空时,会自动创建一个空分组"},"loading":{"createGroup":"正在创建分组,请稍候...","updateGroup":"正在更新分组,请稍候...","deleteGroup":"正在删除分组,请稍候...","importSubscribers":"正在导入联系人,请稍候...","updateSubscriberGroup":"正在修改分组,请稍候...","deleteSubscriber":"正在删除联系人,请稍候..."}}},"domain":{"title":"MailDomain","addDomain":"添加域名","help":"添加你要用来发邮件的域名","columns":{"domain":"域名","quota":"配额","mailboxes":"邮箱数量","defaultMailboxSize":"默认邮箱大小","actions":"操作"},"actions":{"dnsRecord":"DNS记录"},"delete":{"title":"删除域名","confirm":"确定要删除域名【{domain}】吗?","confirmButton":"删除"},"form":{"addTitle":"添加域名","editTitle":"编辑域名","domain":"域名","domainPlaceholder":"请输入域名,例如:billionmail.com","aRecord":"A记录","aRecordPlaceholder":"请输入A记录,例如:mailAapanelCom","quota":"域名配额","mailboxCount":"邮箱数量","globalCatch":"全局捕获","globalCatchPlaceholder":"捕获不存在的邮件,转发至此邮件","validation":{"domainRequired":"邮箱域名不能为空!"},"tips":{"aRecordFailed":"提示A记录解析失败。请检查填写的A记录域名是否已解析到服务器 IP","dnsSetup":"需要在您的DNS服务提供商控制台添加A记录","cloudflare":"如果使用CloudFlare,请在添加记录时选择【仅DNS】"}},"dns":{"title":"DNS 记录","verify":"已设置,验证域名解析","status":{"ok":"正常","notSet":"未设置"},"columns":{"domain":"域名"},"table":{"recordType":"记录类型","host":"主机记录","value":"记录值","mxPriority":"MX优先级"},"step1":{"title":"步骤1:添加A记录"},"step2":{"title":"步骤2:添加MX记录","description":"登录到域名服务提供商,添加记录类型为MX的记录用于邮箱服务(请直接复制以下参数)"},"step3":{"title":"步骤3:添加TXT记录","description":"添加记录类型为TXT的记录用于邮箱反垃圾邮件(请直接复制以下参数)"},"step4":{"title":"步骤4:添加PTR记录","description1":"(可选)PTR记录用于反向 DNS 查找","description2":"联系您的IP提供商创建 PTR 记录"}},"ssl":{"expired":"已过期","daysLeft":"{days}天","notSet":"未设置","title":"域名 SSL","tabs":{"otherCertificate":"其他证书"},"cert":{"brand":"品牌","domains":"证书域名","privateKey":"私钥 (KEY)","certificate":"证书 (CRT/PEM)","keyPlaceholder":"请输入私钥内容","certPlaceholder":"请输入证书内容"},"actions":{"save":"保存","applyFree":"申请免费证书"},"tips":{"paste":"粘贴您的 KEY 和 CRT 内容,然后保存","chainCheck":"如果浏览器提示证书链不完整,请检查 PEM 证书是否正确拼接","pemFormat":"PEM 格式证书 = 域名证书 Crt + 根证书 (root_bundle)Crt","defaultSite":"当未指定 SSL 默认站点时,未配置 SSL 的站点将使用 HTTPS 访问启用了 SSL 的站点"}},"api":{"loading":{"creating":"正在创建域名,请稍候...","updating":"正在更新域名,请稍候...","deleting":"正在删除域名,请稍候...","settingSSL":"正在设置 SSL,请稍候...","applyingCert":"正在申请 SSL 证书,请稍候...","refreshingDns":"正在刷新DNS记录,请稍候..."}}},"mailbox":{"title":"邮箱管理","actions":{"add":"添加邮箱"},"search":{"usernamePlaceholder":"搜索用户名"},"domain":{"selectPlaceholder":"请选择域名"},"columns":{"username":"用户名","password":"密码","loginInfo":"登录信息","quota":"配额","type":"类型","status":"状态"},"userType":{"admin":"管理员","general":"普通用户"},"form":{"addTitle":"添加邮箱","editTitle":"编辑邮箱","emailAddress":"邮箱地址","password":"密码","passwordPlaceholder":"请输入您的邮箱密码","quota":"配额","userType":"用户类型","status":"状态"},"validation":{"emailRequired":"请输入邮箱地址","passwordLength":"密码长度少于8位,请重新输入","passwordFormat":"密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入"},"delete":{"title":"删除邮箱","confirm":"确定要删除邮箱【{name}】吗?"},"loginInfo":{"template":"WebMail: {webmail}\\n用户名: {username}\\n密码: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"正在创建邮箱,请稍候...","updating":"正在更新邮箱,请稍候...","deleting":"正在删除邮箱,请稍候..."}}},"smtp":{"title":"SMTP中继服务管理","description":"管理您的SMTP中继服务,支持多种服务提供商","empty":"暂无SMTP中继服务","providers":{"custom":"自定义SMTP"},"delete":{"title":"删除中继","confirm":"确定要删除此中继服务【{name}】吗?"},"card":{"domain":"绑定域名","server":"服务器","port":"端口","username":"用户名"},"form":{"addTitle":"添加SMTP","editTitle":"编辑SMTP","remark":"备注","domain":"绑定域名","server":"SMTP服务器","port":"SMTP端口","username":"用户名","password":"密码","testConnection":"测试链接","bind":"【已绑定】","validation":{"nameRequired":"请输入中继名称","domainRequired":"请选择绑定域名","serverRequired":"请输入SMTP服务器","portRequired":"请输入SMTP端口","usernameRequired":"请输入用户名","passwordRequired":"请输入密码"}},"status":{"online":"在线","offline":"离线"},"api":{"loading":{"adding":"正在添加SMTP,请稍等...","editing":"正在编辑SMTP,请稍等...","testing":"正在测试SMTP连接,请稍等...","deleting":"正在删除SMTP,请稍等..."}}},"settings":{"title":"系统设置","service":{"title":"服务状态","tips":"提示:Ctrl+F 搜索关键词,Ctrl+S 保存,Ctrl+H 搜索和替换","editTitle":"在线编辑 {name}","columns":{"name":"服务名称","status":"状态"},"status":{"running":"运行中","stopped":"已停止"},"restart":{"title":"重启服务","confirm":"确定要重启【{name}】吗?"}},"bcc":{"title":"BCC管理","add":"添加BCC","edit":"编辑BCC","needCopy":"需要复制","copyTo":"复制到","domain":"域名","type":"BCC类型","status":"状态","active":"激活","types":{"sender":"发送时","recipient":"接收时"},"delete":{"title":"删除BCC [{address}]","content":"是否删除此BCC设置?"},"placeholders":{"needCopy":"请输入需要BCC的用户","copyTo":"请输入需要接收BCC的邮箱"},"loading":{"adding":"正在添加BCC,请稍候...","saving":"正在保存BCC,请稍候...","deleting":"正在删除BCC,请稍候..."}},"forward":{"add":"添加转发","edit":"编辑转发","columns":{"address":"地址","goto":"转发至","domain":"域名","created":"创建时间","modified":"修改时间","status":"状态"},"form":{"status":"状态","forwardedUsers":"转发用户","forwardedUsersPlaceholder":"输入需要转发的邮箱","domain":"域名","domainPlaceholder":"转发用户的域名","receivingUser":"接收用户","receivingUserPlaceholder":"需要接收转发邮件的用户。如果有多个,请用换行符分隔"},"delete":{"title":"删除邮件转发","content":"您确定要删除邮件转发【{address}】吗?"},"loading":{"adding":"正在添加邮件转发,请稍候...","editing":"正在编辑邮件转发,请稍候...","deleting":"正在删除邮件转发,请稍候..."}},"common":{"confirm":"确认修改","security":{"title":"账户安全设置","username":"修改用户名","currentUsername":"当前用户名","newUsernamePlaceholder":"输入新用户名","usernameRule":"4-20位字母数字组合","usernameExists":"用户名已存在","changePassword":"修改密码","currentPassword":"当前密码","newPassword":"新密码","confirmPassword":"确认新密码","passwordStrength":"密码强度","passwordMismatch":"两次输入的密码不一致","strength":{"weak":"弱","medium":"中","strong":"强"},"securityPath":"修改安全入口","currentPath":"当前入口路径","newPathPlaceholder":"输入新路径,如admin-abc123","pathRule":"建议使用复杂路径增强安全性","usernameValidation":{"lengthError":"用户名长度不能小于4位,不能大于20位","formatError":"用户名必须由字母、数字或下划线组成","duplicateError":"用户名不能与当前用户名相同"}},"network":{"title":"网络配置","domain":"域名设置","currentDomain":"控制台的访问域名","newDomainPlaceholder":"输入新域名,如admin.yourdomain.com","domainRule":"请输入有效的域名","ssl":"SSL证书配置","sslEnabled":"SSL已启用","certStatus":"证书状态","certValid":"(剩余 {days} 天)","sslCert":"SSL证书 (PEM格式)","sslKey":"私钥 (PEM格式)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"更新SSL证书","certValidStatus":"证书有效","certExpiredStatus":"证书过期","certExpireTime":"证书到期:{time}"},"system":{"title":"系统配置","port":"端口设置","currentPort":"当前端口","terminalRequired":"此设置需要终端操作","copyCommand":"复制以上命令并在服务器终端执行","commandCopied":"命令已复制到剪贴板","timezone":"时区设置","currentTime":"当前系统时区"}},"api":{"loading":{"restarting":"正在重启服务,请稍候...","saving":"正在保存配置,请稍候..."}}},"api":{"title":"发件API","timeRange":"时间范围:","status":"状态:","search":"搜索:","searchPlaceholder":"请输入API名称","refreshData":"刷新数据","createNew":"新建API","statusOptions":{"all":"全部","active":"可用","inactive":"停用"},"columns":{"apiName":"API名称","apiKey":"API密钥","sendCount":"发送量","openRate":"打开率","clickRate":"点击率","bounceRate":"退信率","status":"状态"},"statusLabels":{"active":"可用","inactive":"停用"},"confirmDelete":{"title":"删除API【{apiName}】","content":"确认删除该API吗?"},"overview":{"totalSend":"发送总量","avgOpenRate":"平均打开率","avgClickRate":"平均点击率","avgBounceRate":"平均退信率"},"form":{"apiName":"API名称","status":"状态","ipWhitelist":"IP白名单","apiNamePlaceholder":"请输入API名称","ipWhitelistPlaceholder":"多个IP用逗号分隔,为空则不限制","validation":{"apiNameRequired":"请输入API名称","addresserRequired":"请选择发送者","templateRequired":"请选择模板"},"title":{"edit":"编辑API","add":"新建API"}},"loading":{"creating":"正在创建,请稍候...","updating":"正在编辑,请稍候...","deleting":"正在删除,请稍候...","testing":"正在测试,请稍候..."}}}'),n=JSON.parse('{"common":{"all":{"text":"すべて","domain":"すべてのドメイン"},"time":{"today":"今日","yesterday":"昨日","last7days":"過去7日間","custom":"カスタム"},"columns":{"actions":"操作"},"actions":{"view":"閲覧","edit":"編集","delete":"削除","add":"追加","create":"作成","update":"更新","save":"保存","cancel":"キャンセル","confirm":"確認","back":"戻る","search":"検索","reset":"リセット","more":"その他","refresh":"再読み込み","copy":"コピー","restart":"再起動","import":"インポート","export":"エクスポート","download":"ダウンロード","upload":"アップロード","apply":"適用","test":"テスト","rename":"名前変更","preview":"プレビュー","modify":"修正","config":"設定","help":"ヘルプ"},"useCopy":{"noText":"コピーするテキストがありません","success":"コピーに成功しました","failed":"コピーに失敗しました"}},"components":{"tableHelp":{"text1":"質問や提案は {issues} に投稿し、プロジェクトを応援するために Github で {star} を付けてください。","text2":"皆様の積極的な参加を高く評価しています。ありがとうございます。"},"upload":{"error":{"fileSizeExceeded":"ファイル [{fileName}] のサイズは {maxSize}MB を超えることはできません","uploadFailed":"ファイルのアップロードに失敗しました。もう一度お試しください"},"prompt":{"dragText":"クリックまたはファイルをドラッグしてこのエリアに追加","supportedFiles":"{suffix} 形式のファイルのみ対応"}}},"layout":{"header":{"submit":"リクエストを送信"},"menu":{"overview":"概要","market":"マーケティング","task":"タスク","template":"テンプレート","contacts":"連絡先","subscribers":"購読者","group":"グループ","domain":"ドメイン","mailboxes":"メールボックス","settings":"設定","common":"共通設定","bcc":"BCC","forward":"メール転送","logout":"ログアウト"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"ユーザー名","passwordPlaceholder":"パスワード","loginButton":"ログイン","captchaPlaceholder":"認証コード","changeCaptcha":"クリックして変更","captcha":"認証コード"},"validation":{"usernameRequired":"ユーザー名を入力してください!","passwordRequired":"パスワードを入力してください!","captchaRequired":"認証コードを入力してください"},"messages":{"loginSuccess":"ログインに成功しました","loginFailed":"ログインに失敗しました","networkError":"ネットワークエラーです。後で再試行してください"}},"user":{"logout":{"title":"確認","content":"ログアウトしてもよろしいですか?"},"api":{"loading":{"logout":"ログアウト中です。お待ちください..."}}},"overview":{"delivered":"配信済み","opened":"開封済み","clicked":"クリック済み","bounced":"バウンス(送信失敗)","mailProviders":"メールプロバイダー","sendStats":"送信統計","provider":{"mailProvider":"メールプロバイダー","delivered":"配信","open":"開封","click":"クリック","bounce":"バウンス"},"send":{"successRate":"成功率","success":"成功","fail":"失敗","sendSuccess":"送信成功","sendFail":"送信失敗"},"rate":{"openRate":"開封率","clickRate":"クリック率","bounceRate":"バウンス率"},"sendFailDetails":{"title":"送信失敗の詳細","columns":{"recipient":"受信者","dsn":"DSN","delay":"遅延","delays":"遅延数","status":"ステータス","relay":"リレー","details":"詳細"}}},"market":{"task":{"title":"タスク","actions":{"add":"タスク追加","detail":"表示","export":"エクスポート","send":"送信","pause":"一時停止"},"columns":{"time":"時間","subject":"件名","sender":"送信者","recipients":"宛先","success":"成功","failed":"失敗","status":"ステータス","remark":"備考","progress":"進捗","email":"メール","errorMsg":"エラーメッセージ"},"status":{"pending":"保留中","processing":"処理中","done":"完了"},"search":{"subjectPlaceholder":"件名で検索"},"changeStatus":{"title":"タスクステータス変更 [{subject}]","startConfirm":"今すぐタスクを開始しますか?","pauseConfirm":"タスクを一時停止後、再開できます!"},"delete":{"title":"タスク削除","confirm":"タスク「{subject}」を削除してもよろしいですか?"},"detail":{"title":"タスク詳細","displayName":"表示名","sender":"送信者","subject":"メール件名","groups":"グループ","sendTime":"送信時間","unsubscribeLink":"購読解除リンク","threads":"スレッド数","remark":"備考","yes":"はい","no":"いいえ","auto":"自動"},"edit":{"addTitle":"タスク追加","from":"送信元","to":"宛先","displayName":"表示名","displayNamePlaceholder":"表示名を入力してください","subject":"件名","subjectPlaceholder":"メール件名を入力してください","recipients":"受信者","recipientsPlaceholder":"受信者グループを選択してください","recipientsCount":"メール送信({count} 件)","template":"メールテンプレート","saveOutbox":"送信済みに保存","unsubscribeLink":"購読解除リンク","threads":"スレッド数","threadsAuto":"自動","threadsCustom":"カスタム","sendTime":"送信時間","sendTimeNow":"今すぐ送信","sendTimeSchedule":"スケジュール","remark":"備考","remarkPlaceholder":"備考を入力してください","testEmail":"テストメール","testEmailPlaceholder":"テストメールを入力してください","sendTest":"テストメール送信","viewCase":"ケースを見る","preview":{"empty":"プレビューするメールテンプレートを選択してください"},"validation":{"displayNameRequired":"表示名を入力してください","subjectRequired":"メール件名を入力してください","recipientsRequired":"連絡先を選択してください","sendTimeRequired":"送信時間を選択してください","testEmailRequired":"テストメールを入力してください","templateRequired":"メールテンプレートを選択してください"},"discard":{"title":"確認","content":"現在の編集を破棄しますか?"}},"createGroup":{"title":"グループ作成","groupName":"グループ名","email":"メール","groupNamePlaceholder":"グループ名を入力してください","validation":{"groupNameRequired":"グループ名を入力してください"}}},"template":{"title":"テンプレート","name":"テンプレート名","content":"テンプレート内容","uploadHtml":"HTML ファイルをアップロード","file":"テンプレートファイル","actions":{"add":"テンプレート追加","preview":"プレビュー","duplicate":"複製","export":"エクスポート","import":"インポート"},"columns":{"name":"テンプレート名","type":"タイプ","createdAt":"作成日"},"search":{"namePlaceholder":"テンプレート名で検索"},"delete":{"title":"テンプレート削除","confirm":"テンプレート {name} を削除してもよろしいですか?"},"form":{"name":"テンプレート名","type":"テンプレートタイプ","content":"テンプレート内容"},"add":{"title":"テンプレート追加","namePlaceholder":"テンプレート名を入力してください","validation":{"nameRequired":"テンプレート名を入力してください","uploadRequired":"HTML ファイルをアップロードしてください"}},"preview":{"title":"テンプレートプレビュー"}}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"メールアドレスを入力して検索"},"columns":{"email":"メール","name":"グループ名","createdAt":"作成日時"},"status":{"subscribed":"購読中","unsubscribed":"購読解除"},"actions":{"changeGroup":"グループ変更"},"delete":{"title":"購読者削除","confirm":"購読者 {email} を削除してもよろしいですか?"},"select":{"prefix":"グループ: "},"edit":{"title":"グループ変更","email":"メール","group":"グループ","validation":{"emailRequired":"メールを入力してください","groupRequired":"グループを選択してください"}},"import":{"title":"連絡先インポート","group":"グループ","data":"データ","pasteData":"データを貼り付け","uploadFile":"ファイルをアップロード","pastePlaceholder":"1行につき1メールでデータを貼り付けてください","fileTypeHint":"ファイル形式: txt、1行につき1メール、5MB以内","validation":{"groupRequired":"グループを選択してください","dataRequired":"1行につき1メールでデータを貼り付けてください","fileRequired":"ファイルをアップロードしてください"}},"loading":{"importSubscribers":"連絡先をインポート中... お待ちください","updateSubscriberGroup":"グループを更新中... お待ちください","deleteSubscriber":"連絡先を削除中... お待ちください"}},"group":{"search":{"namePlaceholder":"グループ名で検索"},"columns":{"name":"グループ名","subscribers":"購読者数","unsubscribe":"解除数","createdAt":"作成日"},"form":{"name":"グループ名","file":"ファイル","nameRequired":"グループ名を入力してください"},"add":{"title":"グループ追加"},"rename":{"title":"グループ名変更"},"delete":{"title":"グループ削除","confirm":"グループ {name} を削除してもよろしいですか?"},"fileUpload":{"hint":"ファイル形式: txt、1行につき1メール、5MB以内","emptyHint":"ファイルをアップロードしない場合は空のグループが作成されます"},"loading":{"createGroup":"グループ作成中... お待ちください","updateGroup":"グループ更新中... お待ちください","deleteGroup":"グループ削除中... お待ちください"}}},"domain":{"title":"メールドメイン","addDomain":"ドメイン追加","help":"メール送信に使用するドメインを追加してください","columns":{"domain":"ドメイン","quota":"クォータ","mailboxes":"メールボックス","defaultMailboxSize":"デフォルトメールボックスサイズ","actions":"操作"},"actions":{"dnsRecord":"DNS レコード"},"delete":{"title":"ドメイン削除","confirm":"ドメイン [{domain}] を削除してもよろしいですか?"},"form":{"addTitle":"ドメイン追加","editTitle":"ドメイン編集","domain":"ドメイン","domainPlaceholder":"例: aapanel.com","aRecord":"A レコード","aRecordPlaceholder":"例: mail.aapanel.com","quota":"ドメインクォータ","mailboxCount":"メールボックス数","globalCatch":"グローバルキャッチ","globalCatchPlaceholder":"存在しないメールをこのアドレスへ転送","validation":{"domainRequired":"ドメイン名は空にできません!"},"tips":{"aRecordFailed":"A レコードの解決に失敗しました。A レコードが正しくサーバーIPに向いているか確認してください","dnsSetup":"DNS プロバイダーのコンソールで A レコードを追加する必要があります","cloudflare":"CloudFlare を使用している場合、レコード追加時に [DNS only] を選択してください"}},"dns":{"title":"DNS レコード","verify":"レコードを設定したら、DNS 解決を検証","status":{"ok":"OK","notSet":"未設定"},"columns":{"domain":"ドメイン"},"table":{"recordType":"レコードタイプ","host":"ホスト","value":"値","mxPriority":"MX 優先度"},"step1":{"title":"ステップ1: A レコードを追加"},"step2":{"title":"ステップ2: MX レコードを追加","description":"ドメインサービスプロバイダーにログインし、メールサービス用の MX レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step3":{"title":"ステップ3: TXT レコードを追加","description":"メールスパム対策の TXT レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step4":{"title":"ステップ4: PTR レコードを追加","description1":"(任意)PTR レコードは逆引きDNSに使用されます","description2":"IP プロバイダーに連絡して PTR レコードを作成してください"}},"ssl":{"expired":"期限切れ","daysLeft":"{days} 日","notSet":"未設定","title":"ドメイン SSL","tabs":{"otherCertificate":"他の証明書"},"cert":{"brand":"ブランド","domains":"証明書対象ドメイン","privateKey":"秘密鍵 (KEY)","certificate":"証明書 (CRT/PEM)","keyPlaceholder":"秘密鍵を入力","certPlaceholder":"証明書を入力"},"actions":{"applyFree":"無料証明書を申請"},"tips":{"paste":"KEY と CRT の内容を貼り付けて保存してください","chainCheck":"ブラウザで証明書チェーンの不備が表示された場合、PEM 証明書が正しく連結されているか確認してください","pemFormat":"PEM 形式証明書 = ドメイン証明書 .crt + ルート証明書 (root_bundle).crt","defaultSite":"SSL デフォルトサイトが指定されていない場合、SSL 未設定サイトは SSL 設定済みサイトの HTTPS を使用します"}},"api":{"loading":{"creating":"ドメインを作成中... お待ちください","updating":"ドメインを更新中... お待ちください","deleting":"ドメインを削除中... お待ちください","settingSSL":"SSL を設定中... お待ちください","applyingCert":"SSL 証明書を申請中... お待ちください","refreshingDns":"DNS レコードを更新中... お待ちください"}}},"mailbox":{"title":"メールボックス管理","actions":{"add":"メールボックス追加"},"search":{"usernamePlaceholder":"ユーザー名検索"},"domain":{"selectPlaceholder":"ドメイン選択"},"columns":{"username":"ユーザー名","password":"パスワード","loginInfo":"ログイン情報","quota":"クォータ","type":"タイプ","status":"ステータス"},"userType":{"admin":"管理者","general":"一般ユーザー"},"form":{"addTitle":"メールボックス追加","editTitle":"メールボックス編集","emailAddress":"メールアドレス","password":"パスワード","passwordPlaceholder":"メールボックスのパスワードを入力","quota":"クォータ","userType":"ユーザータイプ","status":"ステータス"},"validation":{"emailRequired":"メールアドレスを入力してください","passwordLength":"パスワードは8文字以上である必要があります","passwordFormat":"パスワードは大文字・小文字・数字をそれぞれ1文字以上含む必要があります"},"delete":{"title":"メールボックス削除","confirm":"メールボックス [{name}] を削除してもよろしいですか?"},"loginInfo":{"template":"WebMail: {webmail}\\nユーザー名: {username}\\nパスワード: {password}\\nPOP サービス [ アドレス: {mx} ポート: 110/995 ]\\nIMAP サービス [ アドレス: {mx} ポート: 143/993 ]\\nSMTP サービス [ アドレス: {mx} ポート: 25/465/587 ]"},"api":{"loading":{"creating":"メールボックスを作成中... お待ちください","updating":"メールボックスを更新中... お待ちください","deleting":"メールボックスを削除中... お待ちください"}}},"smtp":{"title":"SMTP リレーサービス管理","description":"複数のサービスプロバイダーに対応した SMTP リレーサービスを管理","empty":"SMTP リレーサービスがありません","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"カスタム SMTP"},"delete":{"title":"リレー削除","confirm":"リレーサービス [{name}] を削除してもよろしいですか?"},"card":{"domain":"紐付けドメイン","server":"サーバー","port":"ポート","username":"ユーザー名"},"form":{"addTitle":"SMTP 追加","editTitle":"SMTP 編集","remark":"備考","domain":"紐付けドメイン","server":"SMTP サーバー","port":"SMTP ポート","username":"ユーザー名","password":"パスワード","testConnection":"接続テスト","bind":" [紐付け済み]","validation":{"nameRequired":"リレー名を入力してください","domainRequired":"紐付けドメインを選択してください","serverRequired":"SMTP サーバーを入力してください","portRequired":"SMTP ポートを入力してください","usernameRequired":"ユーザー名を入力してください","passwordRequired":"パスワードを入力してください"}},"status":{"online":"オンライン","offline":"オフライン"},"api":{"loading":{"adding":"SMTP を追加中... お待ちください","editing":"SMTP を編集中... お待ちください","testing":"SMTP 接続をテスト中... お待ちください","deleting":"SMTP を削除中... お待ちください"}}},"settings":{"title":"設定","service":{"title":"サービス状態","tips":"ヒント: Ctrl+F で検索、Ctrl+S で保存、Ctrl+H で検索置換","editTitle":"{name} をオンライン編集","columns":{"name":"サービス名","status":"状態"},"status":{"running":"稼働中","stopped":"停止中"},"actions":{"restart":"再起動"},"restart":{"title":"サービス再起動","confirm":"[{name}] を再起動してもよろしいですか?"}},"bcc":{"title":"BCC 管理","add":"BCC 追加","edit":"BCC 編集","needCopy":"コピー元","copyTo":"コピー先","domain":"ドメイン","type":"BCC タイプ","status":"状態","active":"有効","types":{"sender":"送信時","recipient":"受信時"},"delete":{"title":"BCC [{address}] を削除","content":"BCC 設定を削除しますか?"},"placeholders":{"needCopy":"BCC 対象ユーザーを入力","copyTo":"BCC 受信メールを入力"},"loading":{"adding":"BCC を追加中... お待ちください","saving":"BCC を保存中... お待ちください","deleting":"BCC を削除中... お待ちください"}},"forward":{"add":"転送追加","edit":"転送編集","columns":{"address":"アドレス","goto":"転送先","domain":"ドメイン","created":"作成日","modified":"更新日","status":"状態"},"form":{"status":"状態","forwardedUsers":"転送元ユーザー","forwardedUsersPlaceholder":"転送元メールを入力","domain":"ドメイン","domainPlaceholder":"転送元ユーザーのドメイン名","receivingUser":"受信ユーザー","receivingUserPlaceholder":"転送メール受信者。複数ある場合は改行区切り"},"delete":{"title":"メール転送削除","content":"メール転送 [{address}] を削除してもよろしいですか?"},"loading":{"adding":"メール転送を追加中... お待ちください","editing":"メール転送を編集中... お待ちください","deleting":"メール転送を削除中... お待ちください"}},"api":{"loading":{"restarting":"サービスを再起動中... お待ちください","saving":"設定を保存中... お待ちください"}}}}');let s=(0,i.o)({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:{en:r,zh:o,ja:n}}),l=e=>{s.global.locale.value=e},d=s},27775:function(e,t,a){"use strict";a.d(t,{l:()=>d});var i=a(58786),r=a(76882),o=a(31708),n=a(52672),s=a(60066);let l=(0,i.aZ)({__name:"App",setup(e){let t=(0,o.fl)();return(0,i.YP)(()=>t.theme,()=>{t.changeTheme()},{immediate:!0}),(e,t)=>{let a=(0,i.up)("router-view"),r=s.Z;return(0,i.wg)(),(0,i.j4)(r,null,{default:(0,i.w5)(()=>[(0,i.Wm)(a)]),_:1})}}});a(60308),a(76);let d=(0,i.ri)(l);d.use(r.Z),d.use(o.ZP),d.use(n.Z),d.mount("#root")},53431:function(e,t,a){"use strict";a.d(t,{A:()=>i});let i=()=>Promise.all([a.e("579"),a.e("69"),a.e("2137"),a.e("6194"),a.e("5436")]).then(a.bind(a,35714))},52672:function(e,t,a){"use strict";a.d(t,{Z:()=>l});var i=a(31708),r=a(76882),o=a(66746);let{loadingBar:n}=(0,a(65215).M)(["loadingBar"],{configProviderProps:{themeOverrides:{LoadingBar:{colorLoading:"#20a53a",colorError:"#ef0808"}}}}),s=["/login"];o.ZP.beforeEach(async(e,t,a)=>{n.start();let l=(0,i.s6)();try{await l.getLang(),(0,r.m)(l.lang)}catch{(0,r.m)(l.lang)}if(!o._j.some(t=>t.path===e.path))return void a();(0,i.LM)().isLogin?s.includes(e.path)?a("/"):a():s.includes(e.path)?a():a("/login")}),o.ZP.afterEach(()=>{n.finish()});let l=o.ZP},25735:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/send",component:a(53431).A,meta:{sort:3,key:"api",title:"Send API",titleKey:"layout.menu.sendApi"},children:[{path:"/send",name:"Api",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("6235"),a.e("371"),a.e("3547")]).then(a.bind(a,19458))}]}},63768:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/automation",component:a(53431).A,meta:{sort:3,key:"automation",title:"Automation",icon:"i-mdi-refresh-auto",hidden:!0},children:[{path:"/automation",name:"Automation",component:()=>a.e("3606").then(a.bind(a,37539))}]}},52345:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/contacts",redirect:"/contacts/subscribers",name:"ContactsLayout",component:a(53431).A,meta:{sort:4,key:"contacts",title:"Contacts",titleKey:"layout.menu.contacts"},children:[{path:"/contacts",name:"Contacts",redirect:"/contacts/subscribers",component:()=>Promise.all([a.e("7303"),a.e("4602")]).then(a.bind(a,43898)),children:[{path:"subscribers",name:"ContactsSubscribers",meta:{title:"Subscribers",titleKey:"layout.menu.subscribers"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8212"),a.e("8164"),a.e("586"),a.e("3118")]).then(a.bind(a,76582))},{path:"group",name:"ContactsGroup",meta:{title:"Group",titleKey:"layout.menu.group"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8164"),a.e("586"),a.e("2076")]).then(a.bind(a,33273))}]}]}},78280:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/domain",component:a(53431).A,meta:{sort:5,key:"domain",title:"MailDomain",titleKey:"layout.menu.domain"},children:[{path:"/domain",name:"Domain",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("7303"),a.e("9780"),a.e("8775"),a.e("8164"),a.e("8756")]).then(a.bind(a,48249))}]}},5987:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/mailbox",component:a(53431).A,meta:{sort:6,key:"mailbox",title:"MailBoxes",titleKey:"layout.menu.mailboxes"},children:[{path:"/mailbox",name:"Mailbox",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("9780"),a.e("6779"),a.e("8164"),a.e("8946")]).then(a.bind(a,17743))}]}},30794:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/market",redirect:"/market/task",name:"MarketLayout",component:a(53431).A,meta:{sort:2,key:"market",title:"Email Marketing",titleKey:"layout.menu.market"},children:[{path:"/market",redirect:"/market/task",name:"Market",component:()=>Promise.all([a.e("7303"),a.e("3535")]).then(a.bind(a,77369)),children:[{path:"task",name:"MarketTask",meta:{title:"Task",titleKey:"layout.menu.task"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("8164"),a.e("8559")]).then(a.bind(a,66469))},{path:"template",name:"MarketTemplate",meta:{title:"Template",titleKey:"layout.menu.template"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("5530"),a.e("8164"),a.e("586"),a.e("8013")]).then(a.bind(a,11646))}]},{path:"template/edit/:id",name:"MarketTemplateEdit",meta:{title:"Template",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("9372"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("586"),a.e("5668")]).then(a.bind(a,80637))},{path:"task/edit",name:"MarketTaskEdit",meta:{title:"Task",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6803"),a.e("9780"),a.e("2017"),a.e("7244"),a.e("7222"),a.e("5658"),a.e("586"),a.e("371"),a.e("45")]).then(a.bind(a,4513))},{path:"task/analytics/:id",name:"MarketTaskAnalytics",meta:{title:"Analytics",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("3990")]).then(a.bind(a,6342))}]}},65449:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/overview",component:a(53431).A,meta:{sort:0,key:"overview",title:"Overview",titleKey:"layout.menu.overview"},children:[{path:"/overview",name:"Overview",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("8275")]).then(a.bind(a,67377))}]}},84609:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/settings",name:"SettingsLayout",redirect:"/settings/common",meta:{sort:9,key:"settings",title:"Settings",titleKey:"layout.menu.settings"},component:a(53431).A,children:[{path:"/settings",name:"Settings",redirect:"/settings/common",component:()=>Promise.all([a.e("7303"),a.e("9468")]).then(a.bind(a,69052)),children:[{path:"common",name:"SettingsCommon",meta:{title:"Common",titleKey:"layout.menu.common"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("9372"),a.e("7283"),a.e("8642")]).then(a.bind(a,74055))},{path:"service",name:"SettingsService",meta:{title:"Service",titleKey:""},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("4636"),a.e("3215")]).then(a.bind(a,69046))},{path:"bcc",name:"SettingsBcc",meta:{title:"BCC",titleKey:"layout.menu.bcc"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("8396"),a.e("8164"),a.e("2880")]).then(a.bind(a,88559))},{path:"forward",name:"SettingsForward",meta:{title:"Forward",titleKey:"layout.menu.forward"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("5498"),a.e("8164"),a.e("8128")]).then(a.bind(a,92004))}]}]}},48296:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/smtp",component:a(53431).A,meta:{sort:8,hidden:!1,key:"smtp",title:"SMTP",titleKey:""},children:[{path:"/smtp",name:"SMTP",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("9780"),a.e("1245"),a.e("5734")]).then(a.bind(a,61514))}]}},66746:function(e,t,a){"use strict";a.d(t,{ZP:()=>c,_j:()=>d,sh:()=>s});var i=a(94904),r=a(65965),o=a(68271);let n=a(12052),s=[];for(let e of n.keys()){let t=n(e);(0,o.is)(t,"Module")&&s.push(t.default)}s.sort((e,t)=>(0,i.Z)(e,"meta.sort",0)-(0,i.Z)(t,"meta.sort",0));let l=[];o.r8&&l.push({path:"/test",name:"Test",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("7303"),a.e("9780"),a.e("5513"),a.e("6366"),a.e("7502"),a.e("7235")]).then(a.bind(a,92382))});let d=[{path:"/login",name:"Login",component:()=>Promise.all([a.e("9602"),a.e("9372"),a.e("5621")]).then(a.bind(a,24680))},{path:"/",redirect:"/overview"},...s,...l],c=(0,r.p7)({history:(0,r.PO)("/"),routes:d,strict:!1,scrollBehavior:()=>({left:0,top:0})})},31708:function(e,t,a){"use strict";a.d(t,{ZP:()=>f,Ls:()=>n,fl:()=>g,s6:()=>p,LM:()=>u});var i=a(30989),r=a(57953),o=a(58786);let n=(0,i.Q_)("MenuStore",()=>{let e=(0,o.iH)(!1),t=(0,o.iH)([]);return{isCollapse:e,menuList:t,setCollapse:()=>{e.value=!e.value},setMenuList:e=>{t.value=e},closeSidebar:()=>{e.value=!1}}});var s=a(68271),l=a(73282),d=a(76882),c=a(52672);let u=(0,i.Q_)("UserStore",()=>{let{t:e}=d.Z.global,t=(0,o.iH)({token:"",refresh_token:"",ttl:0,expire:0}),a=(0,o.Fl)(()=>t.value.token&&t.value.expire>Date.now()),i=()=>{t.value.token="",t.value.refresh_token="",t.value.ttl=0,t.value.expire=0};return{login:t,isLogin:a,logout:()=>{(0,s.iG)({title:e("user.logout.title"),content:e("user.logout.content"),onConfirm:async()=>{await (0,l.kS)(),i(),c.Z.push("/login")}})},setLoginInfo:e=>{t.value.token=e.token,t.value.refresh_token=e.refresh_token,t.value.ttl=e.ttl,t.value.expire=1e3*e.ttl+Date.now()},resetLoginInfo:i}},{persist:{pick:["login"]}});var m=a(98003);let p=(0,i.Q_)("GlobalStore",()=>{let e=(0,o.iH)("en"),t=(0,o.iH)([]),a=(0,o.iH)(!1),i=async()=>{if(t.value.length>0)return;let a=await (0,m.Vb)();(0,s.Kn)(a)&&(e.value=a.current_language,t.value=a.available_languages)};return{lang:e,langList:t,isCollapse:a,getLang:i,setLang:async e=>{await (0,m.m0)({language:e})},setCollapse:()=>{a.value=!a.value}}}),g=(0,i.Q_)("ThemeStore",()=>{let e=(0,o.iH)("light"),t=e=>getComputedStyle(document.documentElement).getPropertyValue(e).trim(),a=()=>({common:{lineHeight:"normal",fontSize:"12px",fontSizeSmall:"12px",fontSizeMedium:"12px",fontSizeLarge:"14px",borderRadius:"4px",baseColor:"#fff",textColor1:t("--color-text-1"),textColor2:t("--color-text-2"),primaryColor:t("--color-primary-1"),primaryColorHover:t("--color-primary-hover-1"),successColor:t("--color-primary-1"),successColorHover:t("--color-primary-hover-1"),warningColor:t("--color-warning-1"),errorColor:t("--color-error-1")},Layout:{color:t("--color-bg-2"),textColor:t("--color-text-1"),headerColor:t("--color-bg-1"),siderColor:t("--color-bg-1"),siderTextColor:t("--color-sider-text-1")},Menu:{fontSize:"14px",itemTextColor:t("--color-menu-1"),itemIconColor:t("--color-menu-1"),itemColorActive:t("--color-menu-active-1"),itemTextColorActive:t("--color-menu-active-2"),itemIconColorActive:t("--color-menu-active-2"),itemColorActiveHover:t("--color-menu-active-1"),itemTextColorActiveHover:t("--color-menu-active-2"),itemIconColorActiveHover:t("--color-menu-active-2"),itemColorActiveCollapsed:t("--color-menu-active-1")},Card:{color:t("--color-bg-1"),borderColor:"transparent",borderRadius:"6px"},Form:{feedbackHeightMedium:"20px",feedbackHeightLarge:"22px",feedbackFontSizeMedium:"12px",feedbackFontSizeLarge:"12px",feedbackPadding:"2px 0 0",labelFontSizeTopMedium:"13px",labelFontSizeLeftMedium:"13px",labelPaddingHorizontal:"0 20px 0 0",labelFontWeight:"700"},Radio:{buttonColor:t("--color-radio-1"),buttonColorActive:t("--color-radio-2"),buttonTextColor:t("--color-text-2"),buttonTextColorHover:t("--color-text-1"),buttonTextColorActive:t("--color-text-1"),buttonBorderColor:"transparent",buttonBorderColorHover:"transparent",buttonBorderColorActive:"transparent",buttonBoxShadowHover:"none",buttonBoxShadowFocus:"none",buttonBorderRadius:"4px",labelPadding:"0 0 0 8px"},Dialog:{contentMargin:"16px 0",textColor:t("--color-text-1")},DataTable:{thPaddingMedium:"10px",tdPaddingMedium:"10px",thColor:t("--color-table-th-1"),tdColor:t("--color-table-td-1"),tdColorHover:t("--color-table-th-1"),borderRadius:"4px"},Breadcrumb:{fontSize:"14px"},Switch:{railColorActive:t("--color-primary-1")},Tabs:{tabBorderRadius:"4px"},Progress:{textColorLineInner:"#fff"}}),i=(0,o.iH)(a());return{theme:e,themeOverrides:i,setTheme:t=>{e.value=t},changeTheme:()=>{let t="dark"===e.value;document.documentElement.setAttribute("theme-mode",t?"dark":""),(0,o.Y3)(()=>{i.value=a()})}}},{persist:{pick:["theme"]}}),h=(0,i.WB)();h.use(r.Z);let f=h},68271:function(e,t,a){"use strict";a.d(t,{kJ:()=>N,NY:()=>Z,o8:()=>D,Dx:()=>O,UO:()=>q,qQ:()=>z,mf:()=>E,HD:()=>M,FZ:()=>L,mr:()=>_,r8:()=>B,hj:()=>A,Kn:()=>R,wb:()=>G,v0:()=>x,is:()=>k,J_:()=>I,iG:()=>l,$o:()=>K});var i=a(58786),r=a(96616),o=a(27775),n=a(49247),s=a(60066);function l(e){let t=document.createElement("div"),a=()=>{(0,i.sY)(null,t),t.parentNode&&t.parentNode.removeChild(t)},l=(0,i.Wm)(n.Z,{show:!0,width:e.width||420,title:e.title,onCancel:e.onCancel,onConfirm:e.onConfirm,confirmText:e.confirmText,confirmType:e.confirmType,onAfterLeave:()=>{a()}},{default:()=>(0,i.Wm)("div",{class:"pt-6px pb-10px text-14px"},[(0,r.s)(e.content)])}),d=(0,i.Wm)(s.Z,{},{default:()=>[l]});d.appContext=o.l._context,(0,i.sY)(d,t)}var d=a(40833),c=a(71465),u=a(73023),m=a(56357),p=a(89620),g=a(62594),h=a(87075),f=a(62198),b=a(64812),v=a(52317);let y=(0,i.aZ)({__name:"index",emits:["click"],setup(e,t){let{emit:a}=t,r=e=>{a("click",e)};return(e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:"bt-close-btn",onClick:r},t[0]||(t[0]=[(0,i._)("div",{class:"close-icon"},null,-1)])))}}),P=(0,a(41748).default)(y,[["__scopeId","data-v-52951952"]]),S=(0,i.aZ)({name:"BtMessage",props:{type:{type:String,default:"info"},content:{type:[String,Function],default:""},duration:{type:Number,default:2500},close:{type:Boolean,default:!1},isHtml:{type:Boolean,default:!1},maxWidth:{type:[String,Number],default:360},zIndex:Number},emits:["close"],setup(e,t){let{emit:a}=t,r=(0,i.iH)(null),o={success:{icon:()=>(0,i.Wm)(h.Z,null,null),color:"#20a53a"},error:{icon:()=>(0,i.Wm)(f.Z,null,null),color:"#E85445"},warning:{icon:()=>(0,i.Wm)(b.Z,null,null),color:"#e6a23c"},info:{icon:()=>(0,i.Wm)(v.Z,null,null),color:"#2080F0"},loading:{icon:()=>(0,i.Wm)(g.Z,{clsPrefix:"bt",strokeWidth:24,scale:.85},null),color:"#20a53a"}},n=(0,i.Fl)(()=>o[e.type]),s=0,l=()=>{a("close")},d=()=>{let{duration:t}=e;t>0&&(s=window.setTimeout(l,t))},c=()=>{s&&(window.clearTimeout(s),s=0)},m=()=>{let e=r.value;if(!e)return;let t=window.document.body,a=(t.clientWidth-e.clientWidth)/2,i=(t.clientHeight-e.clientHeight)/2;e.style.left=a+"px",e.style.top=i+"px"},p=!0,y=new u.Z(()=>{if(p){p=!1;return}m()}),P=()=>{(0,i.Y3)(()=>{let e=r.value;e&&(e.style.opacity="1")})};return(0,i.bv)(()=>{m(),P(),d(),y.observe(window.document.body)}),(0,i.Jd)(()=>{c(),y.disconnect()}),{iconInfo:n,messageRef:r,handleClose:l}},render(){var e;let t;return(0,i.wy)((0,i.Wm)("div",{ref:"messageRef",class:["bt-message-ke2eaH",`bt-message-${this.type}`],style:{maxWidth:(0,p.N)(this.maxWidth)}},[this.close&&(0,i.Wm)(P,{onClick:()=>{this.handleClose()}},null),(0,i.Wm)("div",{class:"flex-basis-30px"},[(0,i.Wm)(m.g,{size:30,color:this.iconInfo.color},"function"!=typeof(e=t=this.iconInfo.icon())&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)]),(0,i.Wm)("div",{class:"flex-1 ml-10px max-h-600px leading-20px text-14px overflow-auto"},[!this.isHtml&&(0,i.Wm)("div",null,[(0,r.s)(this.content)]),this.isHtml&&(0,i.Wm)("div",{innerHTML:this.content},null)])]),[[c.Z,{zIndex:this.zIndex,enabled:!0}]])}}),C=(0,i.aZ)({name:"MessageList",props:{messages:{type:Array,default:()=>[]},type:{type:String,default:"success"},position:{type:String,default:"center"}},emits:["close","afterClose"],setup(){},render(){var e;let t;return(0,i.Wm)(i.HY,null,[this.messages.map(e=>{if(e.mask)return(0,i.wy)((0,i.Wm)("div",{class:"n-modal-mask"},null),[[c.Z,{zIndex:void 0,enabled:!0}]])}),(0,i.Wm)(i.W3,{name:"bounce",onAfterLeave:()=>{this.$emit("afterClose")}},"function"!=typeof(e=t=this.messages.map(e=>(0,i.Wm)(S,{key:e.id,type:e.type,close:e.close,isHtml:e.isHtml,content:e.content,duration:e.duration,maxWidth:e.maxWidth,onClose:()=>{this.$emit("close",e.id)}},null)))&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)])}});class w{constructor(e){(0,d._)(this,"messageIds",void 0),(0,d._)(this,"messages",void 0),(0,d._)(this,"position",void 0),(0,d._)(this,"container",void 0),(0,d._)(this,"messageCount",0),(0,d._)(this,"add",e=>{this.messageCount++;let t=e.id??`__bt_message_${this.messageCount}`;if(this.messageIds.has(t))return this.update(t,e);let a=(0,i.qj)({id:t,...e});return this.messages.value.push(a),this.messageIds.add(t),{close:()=>this.remove(t)}}),(0,d._)(this,"update",(e,t)=>{for(let a=0;a<this.messages.value.length;a++)if(this.messages.value[a].id===e){let i=!D(t.duration);Object.assign(this.messages.value[a],{...t,id:e,resetOnUpdate:i});break}return{close:()=>this.remove(e)}}),(0,d._)(this,"remove",e=>{for(let t=0;t<this.messages.value.length;t++){let a=this.messages.value[t];if(a.id===e){E(a.onClose)&&a.onClose(e),this.messages.value.splice(t,1),this.messageIds.delete(e);break}}}),(0,d._)(this,"clear",()=>{this.messages.value.splice(0)}),(0,d._)(this,"destroy",()=>{0===this.messages.value.length&&this.container&&((0,i.sY)(null,this.container),document.body.removeChild(this.container),this.container=null,T[this.position]=void 0)});let{position:t="center"}=e,a=document.createElement("div");a.classList.add("bt-message-container"),this.container=a,this.messages=(0,i.iH)([]),this.messageIds=new Set,this.position=t;let r=(0,i.Wm)(C,{position:t,messages:this.messages.value,type:e.type,onClose:this.remove,onAfterClose:this.destroy});(0,i.sY)(r,this.container),document.body.appendChild(this.container)}}let T={},x=["info","success","warning","error","loading"].reduce((e,t)=>(e[t]=(e,a)=>{M(e)||E(e)?a?a.content=e:a={content:e}:a={...e},"loading"===t?(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0):a.close&&(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0);let i={type:t,...a},{position:r="center"}=i;return T[r]||(T[r]=new w(i)),T[r].add(i)},e),{});function k(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function R(e){return null!==e&&k(e,"Object")}x.clear=e=>{if(e){var t;null==(t=T[e])||t.clear()}else Object.values(T).forEach(e=>null==e?void 0:e.clear())};let A=e=>k(e,"Number"),M=e=>k(e,"String"),E=e=>k(e,"Function"),D=e=>void 0===e,N=e=>Array.isArray(e),I=e=>k(e,"Date"),B=!1,L="",q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!A(e)&&isNaN(e=Number(e)))return"";let r=["B","KB","MB","GB","TB","PB","EB","ZB","YB","BB","NB","DB"],o=e;for(let e=0;e<r.length;e++){let n=r[e],s=0===a?Math.round(o).toString():o.toFixed(a);if(i&&n===i.trim()||o<1024)return t?`${s} ${n}`:s;o/=1024}return"--"};var F=a(20157);let O=e=>Number.isNaN((0,F.Z)(e))?0:(0,F.Z)(e);var U=a(92824),j=a(36760),H=a(49468),W=a(76882);let _=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd HH:mm:ss";if(!e)return"--";try{if(M(e))t=isNaN((0,F.Z)(e))?new Date(e).getTime():O(e);else if(I(e))t=e.getTime();else{if(!A(e))return"--";let a=e.toString();t=10===a.length?1e3*e:e}return(0,U.WU)(t,a)}catch{return"--"}},G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=(0,j.b)(e),a=(0,H.i)(e);return[t.getTime(),a.getTime()]},Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e||e<0)return`0 ${W.Z.global.t("common.unit.seconds")}`;let a=e/86400,i=e/3600,r=e/60;return a>=1?`${a.toFixed(t)} ${W.Z.global.t("common.unit.days")}`:i>=1?`${i.toFixed(t)} ${W.Z.global.t("common.unit.hours")}`:r>=1?`${r.toFixed(t)} ${W.Z.global.t("common.unit.minutes")}`:`${Math.floor(e)} ${W.Z.global.t("common.unit.seconds")}`},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{let a=localStorage.getItem(e);if(null===a)return t;if(R(t))return JSON.parse(a);return a}catch{return t}},z=(e,t)=>{let a=R(t)?JSON.stringify(t):String(t);localStorage.setItem(e,a)}},60066:function(e,t,a){"use strict";a.d(t,{Z:()=>g});var i=a(48238),r=a(58786),o=a(30989),n=a(86831),s=a(44488),l=a(38325),d=a(24924),c=a(89462),u=a(79203),m=a(58249),p=a(31708);let g=(0,r.aZ)({__name:"index",setup(e){let t=(0,p.s6)(),{lang:a}=(0,o.Jk)(t),g=(0,p.fl)(),{theme:h,themeOverrides:f}=(0,o.Jk)(g),b={zh:{locale:n.Z,dateLocale:s.Z},en:{locale:l.Z,dateLocale:d.Z},ja:{locale:c.Z,dateLocale:u.Z}},v=(0,r.Fl)(()=>"dark"===h.value?m.$:null),y=(0,r.Fl)(()=>b[a.value].locale),P=(0,r.Fl)(()=>b[a.value].dateLocale);return(e,t)=>{let a=i.Z;return(0,r.wg)(),(0,r.j4)(a,{abstract:"","inline-theme-disabled":"",theme:(0,r.SU)(v),locale:(0,r.SU)(y),"date-locale":(0,r.SU)(P),"theme-overrides":(0,r.SU)(f)},{default:(0,r.w5)(()=>[(0,r.WI)(e.$slots,"default")]),_:3},8,["theme","locale","date-locale","theme-overrides"])}}})},49247:function(e,t,a){"use strict";a.d(t,{Z:()=>c});var i=a(5057),r=a(67655),o=a(58786),n=a(94821),s=a(89620);let l={class:"flex justify-between flex-1"},d={class:"flex gap-12px"},c=(0,o.aZ)({__name:"index",props:(0,o.Vf)({zIndex:Number,onAfterLeave:Function,title:{type:String,default:""},width:{type:[String,Number],default:"auto"},minHeight:{type:[Number,String],default:"auto"},footer:{type:Boolean,default:!0},transformOrigin:{type:String,default:"center"},confirmText:{type:String,default:""},confirmType:{type:String,default:"primary"},onCancel:{type:Function,default:()=>!0},onConfirm:{type:Function,default:()=>!0}},{show:{type:Boolean},showModifiers:{}}),emits:["update:show"],setup(e){let t=(0,o.tT)(e,"show"),{height:a}=(0,n.iPe)(),c=(0,o.Fl)(()=>a.value?`${a.value-32}px`:"auto"),u=()=>{t.value=!1},m=()=>{!1!==e.onCancel()&&(t.value=!1)},p=()=>{Promise.resolve(e.onConfirm()).then(e=>{!1!==e&&u()})},g=()=>{var t;null==(t=e.onAfterLeave)||t.call(e)};return(a,n)=>{let u=r.ZP,h=i.Z;return(0,o.wg)(),(0,o.j4)(h,{show:t.value,"onUpdate:show":n[0]||(n[0]=e=>t.value=e),preset:"dialog","z-index":e.zIndex,draggable:!0,"auto-focus":!1,"show-icon":!1,"mask-closable":!1,"internal-appear":!0,"internal-dialog":!0,"transform-origin":e.transformOrigin,style:(0,o.j5)({width:(0,o.SU)(s.N)(e.width)}),onAfterLeave:g},(0,o.Nv)({header:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.title),1)]),default:(0,o.w5)(()=>[(0,o._)("div",{style:(0,o.j5)({maxHeight:(0,o.SU)(c),overflow:"auto"})},[(0,o.WI)(a.$slots,"default")],4)]),_:2},[e.footer?{name:"action",fn:(0,o.w5)(()=>[(0,o._)("div",l,[(0,o._)("div",null,[(0,o.WI)(a.$slots,"footer-left")]),(0,o._)("div",d,[(0,o.Wm)(u,{secondary:"",onClick:m},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(a.$t("common.actions.cancel")),1)]),_:1}),(0,o.Wm)(u,{type:e.confirmType,onClick:p},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.confirmText||a.$t("common.actions.confirm")),1)]),_:1},8,["type"])])])]),key:"0"}:void 0]),1032,["show","z-index","transform-origin","style"])}}})}},t={};function a(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,a),o.exports}a.m=e,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,i)=>(a.f[i](e,t),t),[])),a.u=e=>"static/js/async/"+e+"."+({1245:"c5729a5d",156:"e71e5560",2017:"ed71b520",2076:"c76eb567",2137:"31d4654f",2880:"59e695c4",3118:"9b384f6b",3215:"8e46f34a",3354:"af31be73",3535:"339f476b",3547:"5d3c5ff1",3606:"c5bd7813",3703:"774b6e9f",371:"d96f062a",3765:"1c94058e",3990:"08d9f40b",45:"a4cc971a",4602:"850ba1d6",4636:"a6e49596",5436:"86c2f72e",5498:"56da57d8",5513:"ead8a1d8",5530:"ddd3c262",5621:"34a18da4",5658:"a76a1ab8",5668:"cca3e279",5734:"b9ab020e",579:"573b6199",586:"63de9350",6194:"33ecbd1c",6235:"edad05e0",6366:"11e68ac4",6779:"5db504d6",6803:"12301c63",69:"07f369ca",7222:"7569012d",7235:"0893b9e1",7244:"f212f88b",7283:"344213bd",7303:"1f99ded4",7502:"9d1cd23e",8013:"81869de4",8128:"4d493a6b",8164:"429506fd",8212:"634870a9",8275:"2a254d10",8396:"b4461a1b",8559:"dc95d308",8642:"229a5c24",8756:"57066731",8775:"8c37b635",8946:"297502cb",9372:"19031b29",9468:"06d7af2f",9602:"b4037dad",9780:"742711c8"})[e]+".js",a.miniCssF=e=>"static/css/async/"+e+"."+({2076:"08667584",3118:"96d2c645",3215:"a5c6d0c0",3535:"a98f8847",3547:"d8fd2f0b",3990:"eed6a12e",45:"cad35dd3",4602:"a98f8847",5436:"1742fcff",5621:"fd2f892d",5668:"bf7e8158",5734:"25a912c0",7502:"e7a70efd",8013:"f659b7dc",8275:"0fc96432",8642:"d9ef7c35",8756:"312b1920",8946:"8982743b",9468:"a98f8847"})[e]+".css",a.h=()=>"88364c5a373bb0e7",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="frontend:";a.l=function(i,r,o,n){if(e[i])return void e[i].push(r);if(void 0!==o)for(var s,l,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+o),s.src=i),e[i]=[r];var m=function(t,a){s.onerror=s.onload=null,clearTimeout(p);var r=e[i];if(delete e[i],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach(function(e){return e(a)}),t)return t(a)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),l&&document.head.appendChild(s)}})(),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];a.O=(t,i,r,o)=>{if(i){o=o||0;for(var n=e.length;n>0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[i,r,o];return}for(var s=1/0,n=0;n<e.length;n++){for(var[i,r,o]=e[n],l=!0,d=0;d<i.length;d++)(!1&o||s>=o)&&Object.keys(a.O).every(e=>a.O[e](i[d]))?i.splice(d--,1):(l=!1,o<s&&(s=o));if(l){e.splice(n--,1);var c=r();void 0!==c&&(t=c)}}return t}})(),a.p="/",a.rv=()=>"1.3.12",(()=>{if("undefined"!=typeof document){var e=function(e,t,i,r,o){var n=document.createElement("link");return n.rel="stylesheet",n.type="text/css",a.nc&&(n.nonce=a.nc),n.onerror=n.onload=function(a){if(n.onerror=n.onload=null,"load"===a.type)r();else{var i=a&&("load"===a.type?"missing":a.type),s=a&&a.target&&a.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,n.parentNode&&n.parentNode.removeChild(n),o(l)}},n.href=t,i?i.parentNode.insertBefore(n,i.nextSibling):document.head.appendChild(n),n},t=function(e,t){for(var a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var r=a[i],o=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===e||o===t))return r}for(var n=document.getElementsByTagName("style"),i=0;i<n.length;i++){var r=n[i],o=r.getAttribute("data-href");if(o===e||o===t)return r}},i={2980:0};a.f.miniCss=function(r,o){if(i[r])o.push(i[r]);else 0!==i[r]&&({4602:1,2076:1,8642:1,8013:1,5436:1,3990:1,8756:1,3215:1,3535:1,3547:1,8946:1,3118:1,5621:1,7502:1,5734:1,8275:1,9468:1,5668:1,45:1})[r]&&o.push(i[r]=new Promise(function(i,o){var n=a.miniCssF(r),s=a.p+n;if(t(n,s))return i();e(r,s,null,i,o)}).then(function(){i[r]=0},function(e){throw delete i[r],e}))}}})(),(()=>{var e={2980:0};a.f.j=function(t,i){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var o=new Promise((a,i)=>r=e[t]=[a,i]);i.push(r[2]=o);var n=a.p+a.u(t),s=Error();a.l(n,function(i){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",s.name="ChunkLoadError",s.type=o,s.request=n,r[1](s)}},"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[n,s,l]=i,d=0;if(n.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var c=l(a)}for(t&&t(i);d<n.length;d++)o=n[d],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(c)},i=self.webpackChunkfrontend=self.webpackChunkfrontend||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),a.ruid="[email protected]";var i=a.O(void 0,["2072","5139","2118","6746"],function(){return a(27775)});i=a.O(i)})();
\ No newline at end of file
diff --git a/core/public/dist/static/js/index.ea06bf61.js b/core/public/dist/static/js/index.ea06bf61.js
new file mode 100644
index 00000000..4a2ef702
--- /dev/null
+++ b/core/public/dist/static/js/index.ea06bf61.js
@@ -0,0 +1 @@
+(()=>{var e={12052:function(e,t,a){var i={"./api.ts":"25735","./automation.ts":"63768","./contacts.ts":"52345","./domain.ts":"78280","./mailbox.ts":"5987","./market.ts":"30794","./overview.ts":"65449","./settings.ts":"84609","./smtp.ts":"48296"};function r(e){return a(o(e))}function o(e){if(!a.o(i,e)){var t=Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}r.keys=function(){return Object.keys(i)},r.resolve=o,e.exports=r,r.id=12052},34541:function(e,t,a){"use strict";a.d(t,{e:()=>s});var i=a(64767),r=a(52672),o=a(31708),n=a(68271);let s=i.Z.create({baseURL:n.FZ,timeout:25e4,headers:{"Content-Type":"application/json"},fetchOptions:{prefix:"/api",successMessage:!1}}),l=["/login"];s.interceptors.request.use(e=>{let{headers:t,url:a}=e;if(!l.includes(a||"")){let e=(0,o.LM)();t.Authorization=`Bearer ${e.login.token}`}return e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;return(0,n.Kn)(t)&&(e.url=`${t.prefix}`+e.url),e}),s.interceptors.request.use(e=>{let{fetchOptions:t}=e;if((0,n.Kn)(t)&&t.loading){let{close:e}=n.v0.loading(t.loading);t.loadFn=e}return e}),s.interceptors.response.use(e=>{let{fetchOptions:t}=e.config,{code:a,data:i,msg:s,success:l}=e.data||{};if((null==t?void 0:t.loadFn)&&t.loadFn(),"application/force-download"===e.data.type){let t=window.URL.createObjectURL(new Blob([e.data])),a=document.createElement("a");a.href=t;let r=e.headers["content-disposition"],o=r?decodeURIComponent(r.split("filename=")[1]):"downloaded_file";return a.setAttribute("download",o),document.body.appendChild(a),a.click(),document.body.removeChild(a),window.URL.revokeObjectURL(t),Promise.resolve(i)}return 0===a&&l?((null==t?void 0:t.successMessage)&&n.v0.success(s),Promise.resolve(i)):(!l&&s&&n.v0.error(s,{close:!0}),401===a&&((0,o.LM)().resetLoginInfo(),r.Z.push("/login")),Promise.reject(e.data))},e=>Promise.reject(e))},98003:function(e,t,a){"use strict";a.d(t,{Sv:()=>o,Vb:()=>n,cT:()=>r,m0:()=>s});var i=a(34541);let r=(e,t)=>i.e.post("/file/upload",e,{headers:{"Content-Type":"multipart/form-data"},onUploadProgress:e=>{null==t||t(e)}}),o=e=>i.e.get("/file/download",{params:e,responseType:"blob"}),n=()=>i.e.get("/languages/get"),s=e=>i.e.post("/languages/set",e,{fetchOptions:{loading:"正在设置语言,请稍候...",successMessage:!0}})},73282:function(e,t,a){"use strict";a.d(t,{kS:()=>n,o1:()=>s,x4:()=>o});var i=a(34541);let{t:r}=a(76882).Z.global,o=e=>i.e.post("/login",e,{fetchOptions:{successMessage:!0}}),n=()=>i.e.post("/logout",{},{fetchOptions:{loading:r("user.api.loading.logout"),successMessage:!0}}),s=()=>i.e.get("/get_validate_code")},76882:function(e,t,a){"use strict";a.d(t,{m:()=>l,Z:()=>d});var i=a(52495),r=JSON.parse('{"common":{"all":{"text":"All","domain":"All Domains"},"time":{"today":"Today","yesterday":"Yesterday","last7days":"Last 7 Days","custom":"Custom"},"unit":{"days":"Days","hours":"Hours","minutes":"Minutes","seconds":"Seconds"},"columns":{"actions":"Operator"},"actions":{"view":"View","edit":"Edit","delete":"Delete","add":"Add","create":"Create","update":"Update","save":"Save","cancel":"Cancel","confirm":"Confirm","back":"Back","search":"Search","reset":"Reset","more":"More","refresh":"Refresh","copy":"Copy","restart":"Restart","import":"Import","export":"Export","download":"Download","upload":"Upload","apply":"Apply","test":"Test","rename":"Rename","preview":"Preview","modify":"Modify","config":"Config","help":"Help"},"useCopy":{"noText":"No text to copy","success":"Copy successful","failed":"Copy failed"}},"components":{"tableHelp":{"text1":"Submit {issues} for questions or suggestions, and light up a {star} on Github to support the project.","text2":"We highly value your active participation. Thank you."},"upload":{"error":{"fileSizeExceeded":"The size of file [{fileName}] cannot exceed {maxSize}MB","uploadFailed":"File upload failed. Please try again"},"prompt":{"dragText":"Click or drag files to this area","supportedFiles":"Only {suffix} files are supported"}}},"layout":{"header":{"submit":"Submit a Request"},"menu":{"overview":"Overview","market":"Email Marketing","task":"Task","template":"Template","sendApi":"Send API","contacts":"Contacts","subscribers":"Subscribers","group":"Group","domain":"Domain","mailboxes":"Mailboxes","settings":"Settings","common":"Common Settings","bcc":"BCC","forward":"Mail Forward","logout":"Logout"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"Username","passwordPlaceholder":"Password","loginButton":"Login","captchaPlaceholder":"Verification code","changeCaptcha":"Click to change","captcha":"Verification code"},"validation":{"usernameRequired":"Username cannot be empty!","passwordRequired":"Password cannot be empty!","captchaRequired":"Please enter the verification code"},"messages":{"loginSuccess":"Login successful","loginFailed":"Login failed","networkError":"Network error, please try again later"}},"user":{"logout":{"title":"Tips","content":"Are you sure you want to logout?"},"api":{"loading":{"logout":"Logging out, please wait..."}}},"overview":{"delivered":"Delivered","opened":"Opened","clicked":"Clicked","bounced":"Bounced","mailProviders":"Mail Providers","sendStats":"Send Statistics","provider":{"mailProvider":"Mail Provider","delivered":"Delivered","open":"Open","click":"Click","bounce":"Bounce"},"send":{"successRate":"Success Rate","success":"Success","fail":"Failed","sendSuccess":"Send Success","sendFail":"Send Failed"},"rate":{"openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate"},"sendFailDetails":{"title":"Send Failed Details","columns":{"recipient":"Recipient","dsn":"Dsn","delay":"Delay","delays":"Delays","status":"Status","relay":"Relay","details":"Details"}}},"market":{"task":{"title":"Task","actions":{"add":"Add Task","detail":"View","export":"Export","send":"Send","pause":"Pause","analytics":"Analytics"},"columns":{"time":"Time","subject":"Subject","sender":"Sender","recipients":"To","success":"Success","failed":"Failed","status":"Status","remark":"Remark","estimatedTime":"Estimated Complet Time","progress":"Progress","email":"Email","errorMsg":"Error Message"},"status":{"pending":"Pending","processing":"Processing","done":"Done","noIpWarmup":"No IP Warmup"},"search":{"subjectPlaceholder":"Search by subject"},"changeStatus":{"title":"Change Task Status [{subject}]","startConfirm":"Start sending task now?","pauseConfirm":"After pausing the task, you can continue sending it!"},"delete":{"title":"Delete Task","confirm":"Are you sure you want to delete the task \\"{subject}\\"?"},"detail":{"title":"Task Details","displayName":"Display Name","sender":"Sender","subject":"Mail Subject","groups":"Groups","sendTime":"Send Time","unsubscribeLink":"Unsubscribe Link","threads":"Threads Num","remark":"Remark","yes":"Yes","no":"No","auto":"Auto"},"edit":{"addTitle":"Add Task","from":"From","to":"To","displayName":"Display Name","displayNamePlaceholder":"Please enter display name","subject":"Subject","subjectPlaceholder":"Please enter mail subject","recipients":"Recipients","recipientsPlaceholder":"Please select recipient groups","recipientsCount":"Send emails ({count} recipients)","template":"Email template","saveOutbox":"Save to outbox","ipWarmup":"Associate IP Warmup System","ipWarmupTip":"Enabling this will limit the sending rate","unsubscribeLink":"Unsubscribe link","threads":"Threads","threadsAuto":"Auto","threadsCustom":"Custom","sendTime":"Send time","sendTimeNow":"Send now","sendTimeSchedule":"Schedule","remark":"Remark","remarkPlaceholder":"Please enter remark","testEmail":"Test email","testEmailPlaceholder":"Please enter test email","sendTest":"Send test mail","viewCase":"View case","preview":{"empty":"Please select an email template to preview"},"validation":{"displayNameRequired":"Please enter display name","subjectRequired":"Please enter mail subject","recipientsRequired":"Please select contact person","sendTimeRequired":"Please select send time","testEmailRequired":"Please enter test email","templateRequired":"Please select email template"},"discard":{"title":"Tips","content":"Do you want to discard your current edits?"}},"createGroup":{"title":"Create Group","groupName":"Group Name","email":"Email","groupNamePlaceholder":"Please enter group name","validation":{"groupNameRequired":"Please enter group name"}},"loading":{"creating":"Creating task, please wait...","deleting":"Deleting task, please wait...","pausing":"Pausing task, please wait...","resuming":"Resuming task, please wait...","sendingTest":"Sending test email, please wait..."}},"template":{"title":"Template","name":"Template Name","content":"Template Content","uploadHtml":"Upload HTML File","file":"Template File","actions":{"add":"Add Template","preview":"Preview","duplicate":"Duplicate","export":"Export","import":"Import"},"columns":{"name":"Template Name","type":"Type","createdAt":"Created At"},"search":{"namePlaceholder":"Search template name"},"delete":{"title":"Delete Template","confirm":"Are you sure to delete template {name}?"},"form":{"name":"Template Name","type":"Template Type","content":"Template Content"},"add":{"title":"Add Template","namePlaceholder":"Please enter template name","validation":{"nameRequired":"Please enter template name","uploadRequired":"Please upload HTML file"}},"preview":{"title":"Template Preview"},"loading":{"creating":"Creating template, please wait...","updating":"Updating template, please wait...","copying":"Copying template, please wait...","deleting":"Deleting template, please wait..."}}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"Enter an email address to search"},"columns":{"email":"Email","name":"Group Name","createdAt":"Creation Time"},"status":{"subscribed":"Subscribed","unsubscribed":"Unsubscribed"},"actions":{"changeGroup":"Change Group"},"delete":{"title":"Delete Subscriber","confirm":"Are you sure you want to delete the subscriber {email}?"},"select":{"prefix":"Group: "},"edit":{"title":"Change Group","email":"Email","group":"Group","validation":{"emailRequired":"Please enter email","groupRequired":"Please select group"}},"import":{"title":"Import Contacts","group":"Group","data":"Data","pasteData":"Paste Data","uploadFile":"Upload File","pastePlaceholder":["Please paste data, one email, attributes(can be empty) per line","e.g., [email protected]","[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\""],"fileTypeHint":"File type: csv, not exceeding 5 MB","overwriteLabel":"Overwrite Existing Users","overwriteDescription":"Whether to overwrite existing customer information in the list according to imported data during import","subscriptionStatus":"Subscription Status","status":"Status","exampleCsvLabel":"Example CSV","overwriteOptions":{"no":"No","yes":"Yes"},"subscriptionOptions":{"subscribe":"Subscribe","unsubscribe":"Unsubscribe"},"statusOptions":{"confirmed":"Confirmed","unconfirmed":"Unconfirmed"},"validation":{"groupRequired":"Please select group","dataRequired":"Please paste data, one email per line","fileRequired":"Please upload file"}},"loading":{"importSubscribers":"Importing contacts, please wait...","updateSubscriberGroup":"Updating group, please wait...","deleteSubscriber":"Deleting contacts, please wait..."}},"group":{"search":{"namePlaceholder":"Search by group name"},"columns":{"name":"Group Name","subscribers":"Subscribers","unsubscribe":"Unsubscribed","createdAt":"Created At"},"form":{"name":"Group Name","file":"File","nameRequired":"Please enter group name"},"add":{"title":"Add Group"},"rename":{"title":"Rename Group"},"delete":{"title":"Delete Group","confirm":"Are you sure to delete group {name}?"},"fileUpload":{"hint":"File type: csv, not exceeding 5 MB","emptyHint":"An empty group will be created when no file is uploaded"},"loading":{"createGroup":"Creating group, please wait...","updateGroup":"Updating group, please wait...","deleteGroup":"Deleting group, please wait..."}}},"domain":{"title":"MailDomain","addDomain":"Add Domain","help":"Add the domain you want to use to send emails","columns":{"domain":"Domain","quota":"Quota","mailboxes":"Mailboxes","defaultMailboxSize":"Default Mailbox Size","actions":"Actions"},"actions":{"dnsRecord":"DNS Records"},"delete":{"title":"Delete Domain","confirm":"Are you sure you want to delete domain [{domain}]?"},"form":{"addTitle":"Add Domain","editTitle":"Edit Domain","domain":"Domain","domainPlaceholder":"Please enter domain, e.g.: billionmail.com","aRecord":"A Record","aRecordPlaceholder":"Please enter A record, e.g.: mail.aapanel.com","quota":"Domain Quota","mailboxCount":"Mailbox Count","globalCatch":"Global Catch","globalCatchPlaceholder":"Forward non-existent emails to this address","validation":{"domainRequired":"Domain name cannot be empty!"},"tips":{"aRecordFailed":"A record resolution failed. Please check if the A record domain is resolved to the server IP","dnsSetup":"You need to add an A record in your DNS provider\'s console","cloudflare":"If using CloudFlare, please select [DNS only] when adding records"}},"dns":{"title":"DNS Records","verify":"Records set, verify DNS resolution","status":{"ok":"OK","notSet":"Not Set"},"columns":{"domain":"Domain"},"table":{"recordType":"Record Type","host":"Host","value":"Value","mxPriority":"MX Priority"},"step1":{"title":"Step 1: Add A Record"},"step2":{"title":"Step 2: Add MX Record","description":"Login to your domain service provider and add an MX record for email service (please copy the following parameters directly)"},"step3":{"title":"Step 3: Add TXT Record","description":"Add TXT records for email anti-spam (please copy the following parameters directly)"},"step4":{"title":"Step 4: Add PTR Record","description1":"(Optional) PTR record is used for reverse DNS lookup","description2":"Contact your IP provider to create PTR record"}},"ssl":{"expired":"Expired","daysLeft":"{days} days","notSet":"Not Set","title":"Domain SSL","tabs":{"otherCertificate":"Other Certificate"},"cert":{"brand":"Brand","domains":"Certificate Domains","privateKey":"Private Key (KEY)","certificate":"Certificate (CRT/PEM)","keyPlaceholder":"Enter private key content","certPlaceholder":"Enter certificate content"},"actions":{"applyFree":"Apply Free Certificate"},"tips":{"paste":"Paste your KEY and CRT content, then save","chainCheck":"If the browser prompts that the certificate chain is incomplete, please check if the PEM certificate is correctly concatenated","pemFormat":"PEM format certificate = Domain certificate .crt + Root certificate (root_bundle).crt","defaultSite":"When no SSL default site is specified, sites without SSL configuration will use HTTPS to access sites with SSL enabled"}},"api":{"loading":{"creating":"Creating Domain, please wait...","updating":"Updating Domain, please wait...","deleting":"Deleting Domain, please wait...","settingSSL":"Setting SSL, please wait...","applyingCert":"Applying SSL Certificate, please wait...","refreshingDns":"Refreshing DNS records, please wait..."}}},"mailbox":{"title":"Mailbox Management","actions":{"add":"Add Mailbox"},"search":{"usernamePlaceholder":"Search username"},"domain":{"selectPlaceholder":"Select domain"},"columns":{"username":"Username","password":"Password","loginInfo":"Login Info","quota":"Quota","type":"Type","status":"Status"},"userType":{"admin":"Admin","general":"General User"},"form":{"addTitle":"Add Mailbox","editTitle":"Edit Mailbox","emailAddress":"Email Address","password":"Password","passwordPlaceholder":"Enter your mailbox password","quota":"Quota","userType":"User Type","status":"Status"},"validation":{"emailRequired":"Please enter email address","passwordLength":"Password must be at least 8 characters","passwordFormat":"Password must contain at least one uppercase letter, one lowercase letter and one number"},"delete":{"title":"Delete Mailbox","confirm":"Are you sure you want to delete mailbox [{name}]?"},"loginInfo":{"template":"WebMail: {webmail}\\nUsername: {username}\\nPassword: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"Creating Mailbox, please wait...","updating":"Updating Mailbox, please wait...","deleting":"Deleting Mailbox, please wait..."}}},"smtp":{"title":"SMTP Relay Service Management","description":"Manage your SMTP relay services with support for multiple service providers","empty":"No SMTP relay services available","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"Custom SMTP"},"delete":{"title":"Delete Relay","confirm":"Are you sure you want to delete this relay service [{name}]?"},"card":{"domain":"Bound Domain","server":"Server","port":"Port","username":"Username"},"form":{"addTitle":"Add SMTP","editTitle":"Edit SMTP","remark":"Remark","domain":"Bound Domain","server":"SMTP Server","port":"SMTP Port","username":"Username","password":"Password","testConnection":"Test Connection","bind":" [Bound]","validation":{"nameRequired":"Please enter a relay name","domainRequired":"Please select a bound domain","serverRequired":"Please enter an SMTP server","portRequired":"Please enter an SMTP port","usernameRequired":"Please enter a username","passwordRequired":"Please enter a password"}},"status":{"online":"Online","offline":"Offline"},"api":{"loading":{"adding":"Adding SMTP, please wait...","editing":"Editing SMTP, please wait...","testing":"Testing SMTP connection, please wait...","deleting":"Deleting SMTP, please wait..."}}},"settings":{"title":"Settings","service":{"title":"Service Status","tips":"Tips: Ctrl+F Search keywords, Ctrl+S Save, Ctrl+H Search and replace","editTitle":"Online Edit {name}","columns":{"name":"Service Name","status":"Status"},"status":{"running":"Running","stopped":"Stopped"},"actions":{"restart":"Restart"},"restart":{"title":"Restart Service","confirm":"Are you sure you want to restart [{name}]?"}},"bcc":{"title":"BCC Management","add":"Add BCC","edit":"Edit BCC","needCopy":"Need Copy","copyTo":"Copy to","domain":"Domain","type":"BCC Type","status":"Status","active":"Active","types":{"sender":"When sending","recipient":"When receiving"},"delete":{"title":"Delete BCC [{address}]","content":"Whether to delete the BCC setting?"},"placeholders":{"needCopy":"Enter the users you need to BCC","copyTo":"Enter the email you need to receive the BCC"},"loading":{"adding":"Adding BCC, please wait...","saving":"Saving BCC, please wait...","deleting":"Deleting BCC, please wait..."}},"forward":{"add":"Add Forward","edit":"Edit Forward","columns":{"address":"Address","goto":"Goto","domain":"Domain","created":"Created","modified":"Modified","status":"Status"},"form":{"status":"Status","forwardedUsers":"Forwarded users","forwardedUsersPlaceholder":"Enter the mailbox that needs to be forwarded","domain":"Domain","domainPlaceholder":"Domain name of the Forwarded users","receivingUser":"Receiving user","receivingUserPlaceholder":"Users who need to accept forwarded mail. If there are multiple, please separate them with newlines"},"delete":{"title":"Delete mail forward","content":"Are you sure you want to delete mail forward [{address}]?"},"loading":{"adding":"Adding mail forward, please wait...","editing":"Editing mail forward, please wait...","deleting":"Deleting mail forward, please wait..."}},"common":{"confirm":"Update","security":{"title":"Security Settings","username":"Change Username","currentUsername":"Current Username","newUsernamePlaceholder":"Enter new username","usernameRule":"4-20 characters, letters and numbers","usernameExists":"Username already exists","changePassword":"Change Password","currentPassword":"Current Password","newPassword":"New Password","confirmPassword":"Confirm New Password","passwordStrength":"Password Strength","passwordMismatch":"Passwords do not match","strength":{"weak":"Weak","medium":"Medium","strong":"Strong"},"securityPath":"Change Security Path","currentPath":"Current Path","newPathPlaceholder":"Enter new path, e.g. admin-abc123","pathRule":"Recommend using complex path for enhanced security","usernameValidation":{"lengthError":"Username length must be between 4 and 20 characters","formatError":"Username must consist of letters, numbers or underscores","duplicateError":"Username cannot be the same as current username"}},"network":{"title":"Network Configuration","domain":"Domain Settings","currentDomain":"The access domain name of the console","newDomainPlaceholder":"Enter new domain, e.g. admin.yourdomain.com","domainRule":"Please enter a valid domain","ssl":"SSL Certificate Configuration","sslEnabled":"SSL Enabled","certStatus":"Certificate Status","certValid":"({days} days remaining)","sslCert":"SSL Certificate (PEM format)","sslKey":"Private Key (PEM format)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"Update SSL Certificate","certValidStatus":"Certificate Valid","certExpiredStatus":"Certificate Expired","certExpireTime":"Certificate expires: {time}"},"system":{"title":"System Configuration","port":"Port Settings","currentPort":"Current Port","terminalRequired":"This setting requires terminal operation","copyCommand":"Copy the above command and execute it in the server terminal","commandCopied":"Command copied to clipboard","timezone":"Timezone Settings","currentTime":"Current System Timezone"}},"api":{"loading":{"restarting":"Restarting service, please wait...","saving":"Saving configuration, please wait..."}}},"api":{"title":"Send API","timeRange":"Time Range: ","status":"Status: ","search":"Search: ","searchPlaceholder":"Please enter API name","refreshData":"Refresh Data","createNew":"Create API","statusOptions":{"all":"All","active":"Active","inactive":"Inactive"},"columns":{"apiName":"API Name","apiKey":"API Key","sendCount":"Send Count","openRate":"Open Rate","clickRate":"Click Rate","bounceRate":"Bounce Rate","status":"Status"},"statusLabels":{"active":"Active","inactive":"Inactive"},"confirmDelete":{"title":"Delete API [{apiName}]","content":"Are you sure you want to delete this API?"},"overview":{"totalSend":"Total Sent","avgOpenRate":"Avg Open Rate","avgClickRate":"Avg Click Rate","avgBounceRate":"Avg Bounce Rate"},"form":{"apiName":"API Name","status":"Status","ipWhitelist":"IP Whitelist","apiNamePlaceholder":"Please enter API name","ipWhitelistPlaceholder":"Multiple IPs separated by commas, empty means no restriction","validation":{"apiNameRequired":"Please enter API name","addresserRequired":"Please select sender","templateRequired":"Please select template"},"title":{"edit":"Edit API","add":"Add API"}},"loading":{"creating":"Creating, please wait...","updating":"Updating, please wait...","deleting":"Deleting, please wait...","testing":"Testing, please wait..."}}}'),o=JSON.parse('{"common":{"all":{"text":"全部","domain":"全部域名"},"time":{"today":"今天","yesterday":"昨天","last7days":"近7天","custom":"自定义"},"columns":{"actions":"操作"},"unit":{"days":"天","hours":"小时","minutes":"分钟","seconds":"秒"},"actions":{"view":"查看","edit":"编辑","delete":"删除","add":"添加","create":"创建","update":"更新","save":"保存","cancel":"取消","confirm":"确认","back":"返回","search":"搜索","reset":"重置","more":"更多","refresh":"刷新","copy":"复制","restart":"重启","import":"导入","export":"导出","download":"下载","upload":"上传","apply":"应用","test":"测试","rename":"重命名","preview":"预览","modify":"修改","config":"配置","help":"Help"},"useCopy":{"noText":"没有要复制的文本","success":"复制成功","failed":"复制失败"}},"components":{"tableHelp":{"text1":"有问题或建议可提{issues},也可在Github给我们{star},","text2":"我们高度重视您的积极参与,谢谢。"},"upload":{"error":{"fileSizeExceeded":"文件【{fileName}】大小不能超过{maxSize}MB","uploadFailed":"上传文件失败,请重试"},"prompt":{"dragText":"点击或将文件拖拽到该区域","supportedFiles":"仅支持{suffix}文件"}}},"layout":{"header":{"submit":"提交需求"},"menu":{"overview":"概览","market":"邮件营销","task":"任务","template":"模板","sendApi":"发件API","contacts":"联系人","subscribers":"订阅","group":"分组","domain":"域名","mailboxes":"邮箱","settings":"设置","common":"常用设置","bcc":"BCC","forward":"邮件转发","logout":"退出"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"用户名","passwordPlaceholder":"密码","loginButton":"登录","captchaPlaceholder":"验证码","changeCaptcha":"点击切换验证码","captcha":"验证码"},"validation":{"usernameRequired":"用户名不能为空!","passwordRequired":"密码不能为空!","captchaRequired":"请输入验证码"},"messages":{"loginSuccess":"登录成功","loginFailed":"登录失败","networkError":"网络错误,请稍后重试"}},"user":{"logout":{"title":"提示","content":"是否确认退出登录?","confirm":"确认","cancel":"取消"},"api":{"loading":{"logout":"正在退出登录,请稍候..."}}},"overview":{"delivered":"已送达","opened":"已打开","clicked":"已点击","bounced":"已退回","mailProviders":"邮件提供商","sendStats":"发送统计","provider":{"mailProvider":"邮件提供商","delivered":"送达率","open":"打开率","click":"点击率","bounce":"退回率"},"send":{"successRate":"成功率","success":"成功","fail":"失败","sendSuccess":"发送成功","sendFail":"发送失败"},"rate":{"openRate":"打开率","clickRate":"点击率","bounceRate":"退回率"},"sendFailDetails":{"title":"发送失败详情","columns":{"recipient":"收件人","dsn":"Dsn","delay":"延迟","delays":"延迟详情","status":"状态","relay":"中继","details":"详情"}}},"market":{"task":{"title":"任务","actions":{"add":"添加任务","detail":"查看详情","export":"导出","send":"发送","pause":"暂停","analytics":"分析"},"columns":{"time":"时间","subject":"邮件主题","sender":"发件人","recipients":"收件人","success":"成功","failed":"失败","status":"状态","remark":"备注","estimatedTime":"预计完成时间","progress":"进度","email":"邮箱","errorMsg":"错误信息"},"status":{"pending":"等待中","processing":"处理中","done":"已完成","noIpWarmup":"未关联IP预热"},"search":{"subjectPlaceholder":"搜索邮件主题"},"changeStatus":{"title":"更改任务状态【{subject}】","startConfirm":"立即开始发送任务吗?","pauseConfirm":"暂停任务后,可以继续发送任务!"},"delete":{"title":"删除任务","confirm":"确定要删除任务 \\"{subject}\\" 吗?"},"detail":{"title":"任务详情","displayName":"显示名称","sender":"发件人","subject":"邮件主题","groups":"分组","sendTime":"发送时间","unsubscribeLink":"退订链接","threads":"线程数","remark":"备注","yes":"是","no":"否","auto":"自动"},"edit":{"addTitle":"添加任务","from":"发件人","to":"收件人","displayName":"显示名称","displayNamePlaceholder":"请输入显示名称","subject":"主题","subjectPlaceholder":"请输入邮件主题","recipients":"收件人","recipientsPlaceholder":"请选择收件人分组","recipientsCount":"发送邮件 ({count} 收件人)","template":"邮件模板","saveOutbox":"保存到发件箱","ipWarmup":"关联IP预热系统","ipWarmupTip":"开启后将会限制发件速率","unsubscribeLink":"退订链接","threads":"线程数","threadsAuto":"自动","threadsCustom":"自定义","sendTime":"发送时间","sendTimeNow":"立即发送","sendTimeSchedule":"定时发送","remark":"备注","remarkPlaceholder":"请输入备注","testEmail":"测试邮件","testEmailPlaceholder":"请输入测试邮箱","sendTest":"发送测试邮件","viewCase":"查看案例","preview":{"empty":"请选择邮件模板查看预览"},"validation":{"displayNameRequired":"请输入显示名称","subjectRequired":"请输入邮件主题","recipientsRequired":"请选择联系人","sendTimeRequired":"请选择发送时间","testEmailRequired":"请输入测试邮箱","templateRequired":"请选择邮件模板"},"discard":{"title":"提示","content":"是否放弃当前编辑?"}},"createGroup":{"title":"创建分组","groupName":"分组名称","email":"邮箱","groupNamePlaceholder":"请输入分组名称","validation":{"groupNameRequired":"请输入分组名称"}},"loading":{"creating":"正在创建任务,请稍候...","deleting":"正在删除任务,请稍候...","pausing":"正在暂停任务,请稍候...","resuming":"正在恢复任务,请稍候...","sendingTest":"正在发送测试邮件,请稍候..."}},"template":{"title":"模板","name":"模板名称","content":"模板内容","uploadHtml":"上传HTML文件","file":"模板文件","actions":{"add":"添加模板","preview":"预览","duplicate":"复制","export":"导出","import":"导入"},"columns":{"name":"模板名称","type":"类型","createdAt":"创建时间"},"search":{"namePlaceholder":"搜索模板名称"},"delete":{"title":"删除模板","confirm":"确定要删除模板 {name} 吗?"},"form":{"name":"模板名称","type":"模板类型","content":"模板内容","html":"HTML","drag":"拖拽"},"add":{"title":"添加模板","namePlaceholder":"请输入模板名称","validation":{"nameRequired":"请输入模板名称","uploadRequired":"请上传HTML文件"}},"preview":{"title":"预览模板"},"loading":{"creating":"正在创建模板,请稍候...","updating":"正在更新模板,请稍候...","copying":"正在复制模板,请稍候...","deleting":"正在删除模板,请稍候..."}}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"请输入邮箱地址搜索"},"columns":{"email":"邮箱","name":"分组名称","createdAt":"创建时间"},"status":{"subscribed":"订阅","unsubscribed":"取消订阅"},"actions":{"changeGroup":"更改分组"},"delete":{"title":"删除订阅者","confirm":"确定要删除订阅者 {email} 吗?"},"select":{"prefix":"分组:"},"edit":{"title":"更改分组","email":"邮箱","group":"分组","validation":{"emailRequired":"请填写邮箱","groupRequired":"请选择分组"}},"import":{"title":"导入联系人","group":"分组","data":"数据","pasteData":"粘贴数据","uploadFile":"上传文件","pastePlaceholder":["请粘贴数据,每行一个邮箱,属性(可为空)","例如:[email protected]","[email protected],\\"{\\"\\"age\\"\\": \\"\\"13\\"\\", \\"\\"Gender\\"\\": \\"\\"XXX\\"\\"}\\""],"fileTypeHint":"文件类型:csv,不超过5 MB","overwriteLabel":"覆盖现有用户","overwriteDescription":"在导入时是否按照导入数据来覆盖列表中存在的客户信息","subscriptionStatus":"订阅状态","status":"状态","exampleCsvLabel":"CSV示例","overwriteOptions":{"no":"否","yes":"是"},"subscriptionOptions":{"subscribe":"订阅","unsubscribe":"取消订阅"},"statusOptions":{"confirmed":"已确认","unconfirmed":"未确认"},"validation":{"groupRequired":"请选择分组","dataRequired":"请粘贴数据,每行一个邮箱","fileRequired":"请上传文件"}}},"group":{"search":{"namePlaceholder":"请输入分组名称搜索"},"columns":{"name":"分组名称","subscribers":"订阅者数量","unsubscribe":"取消订阅","createdAt":"创建时间"},"form":{"name":"分组名称","file":"文件","nameRequired":"请输入分组名称"},"add":{"title":"添加分组"},"rename":{"title":"重命名分组"},"delete":{"title":"删除分组","confirm":"确定要删除分组 {name} 吗?"},"fileUpload":{"hint":"文件类型:csv,不超过5 MB","emptyHint":"文件传空时,会自动创建一个空分组"},"loading":{"createGroup":"正在创建分组,请稍候...","updateGroup":"正在更新分组,请稍候...","deleteGroup":"正在删除分组,请稍候...","importSubscribers":"正在导入联系人,请稍候...","updateSubscriberGroup":"正在修改分组,请稍候...","deleteSubscriber":"正在删除联系人,请稍候..."}}},"domain":{"title":"MailDomain","addDomain":"添加域名","help":"添加你要用来发邮件的域名","columns":{"domain":"域名","quota":"配额","mailboxes":"邮箱数量","defaultMailboxSize":"默认邮箱大小","actions":"操作"},"actions":{"dnsRecord":"DNS记录"},"delete":{"title":"删除域名","confirm":"确定要删除域名【{domain}】吗?","confirmButton":"删除"},"form":{"addTitle":"添加域名","editTitle":"编辑域名","domain":"域名","domainPlaceholder":"请输入域名,例如:billionmail.com","aRecord":"A记录","aRecordPlaceholder":"请输入A记录,例如:mailAapanelCom","quota":"域名配额","mailboxCount":"邮箱数量","globalCatch":"全局捕获","globalCatchPlaceholder":"捕获不存在的邮件,转发至此邮件","validation":{"domainRequired":"邮箱域名不能为空!"},"tips":{"aRecordFailed":"提示A记录解析失败。请检查填写的A记录域名是否已解析到服务器 IP","dnsSetup":"需要在您的DNS服务提供商控制台添加A记录","cloudflare":"如果使用CloudFlare,请在添加记录时选择【仅DNS】"}},"dns":{"title":"DNS 记录","verify":"已设置,验证域名解析","status":{"ok":"正常","notSet":"未设置"},"columns":{"domain":"域名"},"table":{"recordType":"记录类型","host":"主机记录","value":"记录值","mxPriority":"MX优先级"},"step1":{"title":"步骤1:添加A记录"},"step2":{"title":"步骤2:添加MX记录","description":"登录到域名服务提供商,添加记录类型为MX的记录用于邮箱服务(请直接复制以下参数)"},"step3":{"title":"步骤3:添加TXT记录","description":"添加记录类型为TXT的记录用于邮箱反垃圾邮件(请直接复制以下参数)"},"step4":{"title":"步骤4:添加PTR记录","description1":"(可选)PTR记录用于反向 DNS 查找","description2":"联系您的IP提供商创建 PTR 记录"}},"ssl":{"expired":"已过期","daysLeft":"{days}天","notSet":"未设置","title":"域名 SSL","tabs":{"otherCertificate":"其他证书"},"cert":{"brand":"品牌","domains":"证书域名","privateKey":"私钥 (KEY)","certificate":"证书 (CRT/PEM)","keyPlaceholder":"请输入私钥内容","certPlaceholder":"请输入证书内容"},"actions":{"save":"保存","applyFree":"申请免费证书"},"tips":{"paste":"粘贴您的 KEY 和 CRT 内容,然后保存","chainCheck":"如果浏览器提示证书链不完整,请检查 PEM 证书是否正确拼接","pemFormat":"PEM 格式证书 = 域名证书 Crt + 根证书 (root_bundle)Crt","defaultSite":"当未指定 SSL 默认站点时,未配置 SSL 的站点将使用 HTTPS 访问启用了 SSL 的站点"}},"api":{"loading":{"creating":"正在创建域名,请稍候...","updating":"正在更新域名,请稍候...","deleting":"正在删除域名,请稍候...","settingSSL":"正在设置 SSL,请稍候...","applyingCert":"正在申请 SSL 证书,请稍候...","refreshingDns":"正在刷新DNS记录,请稍候..."}}},"mailbox":{"title":"邮箱管理","actions":{"add":"添加邮箱"},"search":{"usernamePlaceholder":"搜索用户名"},"domain":{"selectPlaceholder":"请选择域名"},"columns":{"username":"用户名","password":"密码","loginInfo":"登录信息","quota":"配额","type":"类型","status":"状态"},"userType":{"admin":"管理员","general":"普通用户"},"form":{"addTitle":"添加邮箱","editTitle":"编辑邮箱","emailAddress":"邮箱地址","password":"密码","passwordPlaceholder":"请输入您的邮箱密码","quota":"配额","userType":"用户类型","status":"状态"},"validation":{"emailRequired":"请输入邮箱地址","passwordLength":"密码长度少于8位,请重新输入","passwordFormat":"密码必须包含至少一个大写字母、一个小写字母和数字,请重新输入"},"delete":{"title":"删除邮箱","confirm":"确定要删除邮箱【{name}】吗?"},"loginInfo":{"template":"WebMail: {webmail}\\n用户名: {username}\\n密码: {password}\\nPOP service [ Address: {mx} Port: 110/995 ]\\nIMAP service [ Address: {mx} Port: 143/993 ]\\nSMTP service [ Address: {mx} Port: 25/465/587 ]"},"api":{"loading":{"creating":"正在创建邮箱,请稍候...","updating":"正在更新邮箱,请稍候...","deleting":"正在删除邮箱,请稍候..."}}},"smtp":{"title":"SMTP中继服务管理","description":"管理您的SMTP中继服务,支持多种服务提供商","empty":"暂无SMTP中继服务","providers":{"custom":"自定义SMTP"},"delete":{"title":"删除中继","confirm":"确定要删除此中继服务【{name}】吗?"},"card":{"domain":"绑定域名","server":"服务器","port":"端口","username":"用户名"},"form":{"addTitle":"添加SMTP","editTitle":"编辑SMTP","remark":"备注","domain":"绑定域名","server":"SMTP服务器","port":"SMTP端口","username":"用户名","password":"密码","testConnection":"测试链接","bind":"【已绑定】","validation":{"nameRequired":"请输入中继名称","domainRequired":"请选择绑定域名","serverRequired":"请输入SMTP服务器","portRequired":"请输入SMTP端口","usernameRequired":"请输入用户名","passwordRequired":"请输入密码"}},"status":{"online":"在线","offline":"离线"},"api":{"loading":{"adding":"正在添加SMTP,请稍等...","editing":"正在编辑SMTP,请稍等...","testing":"正在测试SMTP连接,请稍等...","deleting":"正在删除SMTP,请稍等..."}}},"settings":{"title":"系统设置","service":{"title":"服务状态","tips":"提示:Ctrl+F 搜索关键词,Ctrl+S 保存,Ctrl+H 搜索和替换","editTitle":"在线编辑 {name}","columns":{"name":"服务名称","status":"状态"},"status":{"running":"运行中","stopped":"已停止"},"restart":{"title":"重启服务","confirm":"确定要重启【{name}】吗?"}},"bcc":{"title":"BCC管理","add":"添加BCC","edit":"编辑BCC","needCopy":"需要复制","copyTo":"复制到","domain":"域名","type":"BCC类型","status":"状态","active":"激活","types":{"sender":"发送时","recipient":"接收时"},"delete":{"title":"删除BCC [{address}]","content":"是否删除此BCC设置?"},"placeholders":{"needCopy":"请输入需要BCC的用户","copyTo":"请输入需要接收BCC的邮箱"},"loading":{"adding":"正在添加BCC,请稍候...","saving":"正在保存BCC,请稍候...","deleting":"正在删除BCC,请稍候..."}},"forward":{"add":"添加转发","edit":"编辑转发","columns":{"address":"地址","goto":"转发至","domain":"域名","created":"创建时间","modified":"修改时间","status":"状态"},"form":{"status":"状态","forwardedUsers":"转发用户","forwardedUsersPlaceholder":"输入需要转发的邮箱","domain":"域名","domainPlaceholder":"转发用户的域名","receivingUser":"接收用户","receivingUserPlaceholder":"需要接收转发邮件的用户。如果有多个,请用换行符分隔"},"delete":{"title":"删除邮件转发","content":"您确定要删除邮件转发【{address}】吗?"},"loading":{"adding":"正在添加邮件转发,请稍候...","editing":"正在编辑邮件转发,请稍候...","deleting":"正在删除邮件转发,请稍候..."}},"common":{"confirm":"确认修改","security":{"title":"账户安全设置","username":"修改用户名","currentUsername":"当前用户名","newUsernamePlaceholder":"输入新用户名","usernameRule":"4-20位字母数字组合","usernameExists":"用户名已存在","changePassword":"修改密码","currentPassword":"当前密码","newPassword":"新密码","confirmPassword":"确认新密码","passwordStrength":"密码强度","passwordMismatch":"两次输入的密码不一致","strength":{"weak":"弱","medium":"中","strong":"强"},"securityPath":"修改安全入口","currentPath":"当前入口路径","newPathPlaceholder":"输入新路径,如admin-abc123","pathRule":"建议使用复杂路径增强安全性","usernameValidation":{"lengthError":"用户名长度不能小于4位,不能大于20位","formatError":"用户名必须由字母、数字或下划线组成","duplicateError":"用户名不能与当前用户名相同"}},"network":{"title":"网络配置","domain":"域名设置","currentDomain":"控制台的访问域名","newDomainPlaceholder":"输入新域名,如admin.yourdomain.com","domainRule":"请输入有效的域名","ssl":"SSL证书配置","sslEnabled":"SSL已启用","certStatus":"证书状态","certValid":"(剩余 {days} 天)","sslCert":"SSL证书 (PEM格式)","sslKey":"私钥 (PEM格式)","certPlaceholder":"-----BEGIN CERTIFICATE-----\\nMIIFazCCA1OgAwIBAgIURv...\\n-----END CERTIFICATE-----","keyPlaceholder":"-----BEGIN PRIVATE KEY-----\\nMIIEvQIBADANBgkqhkiG...\\n-----END PRIVATE KEY-----","updateSSL":"更新SSL证书","certValidStatus":"证书有效","certExpiredStatus":"证书过期","certExpireTime":"证书到期:{time}"},"system":{"title":"系统配置","port":"端口设置","currentPort":"当前端口","terminalRequired":"此设置需要终端操作","copyCommand":"复制以上命令并在服务器终端执行","commandCopied":"命令已复制到剪贴板","timezone":"时区设置","currentTime":"当前系统时区"}},"api":{"loading":{"restarting":"正在重启服务,请稍候...","saving":"正在保存配置,请稍候..."}}},"api":{"title":"发件API","timeRange":"时间范围:","status":"状态:","search":"搜索:","searchPlaceholder":"请输入API名称","refreshData":"刷新数据","createNew":"新建API","statusOptions":{"all":"全部","active":"可用","inactive":"停用"},"columns":{"apiName":"API名称","apiKey":"API密钥","sendCount":"发送量","openRate":"打开率","clickRate":"点击率","bounceRate":"退信率","status":"状态"},"statusLabels":{"active":"可用","inactive":"停用"},"confirmDelete":{"title":"删除API【{apiName}】","content":"确认删除该API吗?"},"overview":{"totalSend":"发送总量","avgOpenRate":"平均打开率","avgClickRate":"平均点击率","avgBounceRate":"平均退信率"},"form":{"apiName":"API名称","status":"状态","ipWhitelist":"IP白名单","apiNamePlaceholder":"请输入API名称","ipWhitelistPlaceholder":"多个IP用逗号分隔,为空则不限制","validation":{"apiNameRequired":"请输入API名称","addresserRequired":"请选择发送者","templateRequired":"请选择模板"},"title":{"edit":"编辑API","add":"新建API"}},"loading":{"creating":"正在创建,请稍候...","updating":"正在编辑,请稍候...","deleting":"正在删除,请稍候...","testing":"正在测试,请稍候..."}}}'),n=JSON.parse('{"common":{"all":{"text":"すべて","domain":"すべてのドメイン"},"time":{"today":"今日","yesterday":"昨日","last7days":"過去7日間","custom":"カスタム"},"columns":{"actions":"操作"},"actions":{"view":"閲覧","edit":"編集","delete":"削除","add":"追加","create":"作成","update":"更新","save":"保存","cancel":"キャンセル","confirm":"確認","back":"戻る","search":"検索","reset":"リセット","more":"その他","refresh":"再読み込み","copy":"コピー","restart":"再起動","import":"インポート","export":"エクスポート","download":"ダウンロード","upload":"アップロード","apply":"適用","test":"テスト","rename":"名前変更","preview":"プレビュー","modify":"修正","config":"設定","help":"ヘルプ"},"useCopy":{"noText":"コピーするテキストがありません","success":"コピーに成功しました","failed":"コピーに失敗しました"}},"components":{"tableHelp":{"text1":"質問や提案は {issues} に投稿し、プロジェクトを応援するために Github で {star} を付けてください。","text2":"皆様の積極的な参加を高く評価しています。ありがとうございます。"},"upload":{"error":{"fileSizeExceeded":"ファイル [{fileName}] のサイズは {maxSize}MB を超えることはできません","uploadFailed":"ファイルのアップロードに失敗しました。もう一度お試しください"},"prompt":{"dragText":"クリックまたはファイルをドラッグしてこのエリアに追加","supportedFiles":"{suffix} 形式のファイルのみ対応"}}},"layout":{"header":{"submit":"リクエストを送信"},"menu":{"overview":"概要","market":"マーケティング","task":"タスク","template":"テンプレート","contacts":"連絡先","subscribers":"購読者","group":"グループ","domain":"ドメイン","mailboxes":"メールボックス","settings":"設定","common":"共通設定","bcc":"BCC","forward":"メール転送","logout":"ログアウト"}},"login":{"title":"BillionMail","form":{"usernamePlaceholder":"ユーザー名","passwordPlaceholder":"パスワード","loginButton":"ログイン","captchaPlaceholder":"認証コード","changeCaptcha":"クリックして変更","captcha":"認証コード"},"validation":{"usernameRequired":"ユーザー名を入力してください!","passwordRequired":"パスワードを入力してください!","captchaRequired":"認証コードを入力してください"},"messages":{"loginSuccess":"ログインに成功しました","loginFailed":"ログインに失敗しました","networkError":"ネットワークエラーです。後で再試行してください"}},"user":{"logout":{"title":"確認","content":"ログアウトしてもよろしいですか?"},"api":{"loading":{"logout":"ログアウト中です。お待ちください..."}}},"overview":{"delivered":"配信済み","opened":"開封済み","clicked":"クリック済み","bounced":"バウンス(送信失敗)","mailProviders":"メールプロバイダー","sendStats":"送信統計","provider":{"mailProvider":"メールプロバイダー","delivered":"配信","open":"開封","click":"クリック","bounce":"バウンス"},"send":{"successRate":"成功率","success":"成功","fail":"失敗","sendSuccess":"送信成功","sendFail":"送信失敗"},"rate":{"openRate":"開封率","clickRate":"クリック率","bounceRate":"バウンス率"},"sendFailDetails":{"title":"送信失敗の詳細","columns":{"recipient":"受信者","dsn":"DSN","delay":"遅延","delays":"遅延数","status":"ステータス","relay":"リレー","details":"詳細"}}},"market":{"task":{"title":"タスク","actions":{"add":"タスク追加","detail":"表示","export":"エクスポート","send":"送信","pause":"一時停止"},"columns":{"time":"時間","subject":"件名","sender":"送信者","recipients":"宛先","success":"成功","failed":"失敗","status":"ステータス","remark":"備考","progress":"進捗","email":"メール","errorMsg":"エラーメッセージ"},"status":{"pending":"保留中","processing":"処理中","done":"完了"},"search":{"subjectPlaceholder":"件名で検索"},"changeStatus":{"title":"タスクステータス変更 [{subject}]","startConfirm":"今すぐタスクを開始しますか?","pauseConfirm":"タスクを一時停止後、再開できます!"},"delete":{"title":"タスク削除","confirm":"タスク「{subject}」を削除してもよろしいですか?"},"detail":{"title":"タスク詳細","displayName":"表示名","sender":"送信者","subject":"メール件名","groups":"グループ","sendTime":"送信時間","unsubscribeLink":"購読解除リンク","threads":"スレッド数","remark":"備考","yes":"はい","no":"いいえ","auto":"自動"},"edit":{"addTitle":"タスク追加","from":"送信元","to":"宛先","displayName":"表示名","displayNamePlaceholder":"表示名を入力してください","subject":"件名","subjectPlaceholder":"メール件名を入力してください","recipients":"受信者","recipientsPlaceholder":"受信者グループを選択してください","recipientsCount":"メール送信({count} 件)","template":"メールテンプレート","saveOutbox":"送信済みに保存","unsubscribeLink":"購読解除リンク","threads":"スレッド数","threadsAuto":"自動","threadsCustom":"カスタム","sendTime":"送信時間","sendTimeNow":"今すぐ送信","sendTimeSchedule":"スケジュール","remark":"備考","remarkPlaceholder":"備考を入力してください","testEmail":"テストメール","testEmailPlaceholder":"テストメールを入力してください","sendTest":"テストメール送信","viewCase":"ケースを見る","preview":{"empty":"プレビューするメールテンプレートを選択してください"},"validation":{"displayNameRequired":"表示名を入力してください","subjectRequired":"メール件名を入力してください","recipientsRequired":"連絡先を選択してください","sendTimeRequired":"送信時間を選択してください","testEmailRequired":"テストメールを入力してください","templateRequired":"メールテンプレートを選択してください"},"discard":{"title":"確認","content":"現在の編集を破棄しますか?"}},"createGroup":{"title":"グループ作成","groupName":"グループ名","email":"メール","groupNamePlaceholder":"グループ名を入力してください","validation":{"groupNameRequired":"グループ名を入力してください"}}},"template":{"title":"テンプレート","name":"テンプレート名","content":"テンプレート内容","uploadHtml":"HTML ファイルをアップロード","file":"テンプレートファイル","actions":{"add":"テンプレート追加","preview":"プレビュー","duplicate":"複製","export":"エクスポート","import":"インポート"},"columns":{"name":"テンプレート名","type":"タイプ","createdAt":"作成日"},"search":{"namePlaceholder":"テンプレート名で検索"},"delete":{"title":"テンプレート削除","confirm":"テンプレート {name} を削除してもよろしいですか?"},"form":{"name":"テンプレート名","type":"テンプレートタイプ","content":"テンプレート内容"},"add":{"title":"テンプレート追加","namePlaceholder":"テンプレート名を入力してください","validation":{"nameRequired":"テンプレート名を入力してください","uploadRequired":"HTML ファイルをアップロードしてください"}},"preview":{"title":"テンプレートプレビュー"}}},"contacts":{"subscribers":{"search":{"emailPlaceholder":"メールアドレスを入力して検索"},"columns":{"email":"メール","name":"グループ名","createdAt":"作成日時"},"status":{"subscribed":"購読中","unsubscribed":"購読解除"},"actions":{"changeGroup":"グループ変更"},"delete":{"title":"購読者削除","confirm":"購読者 {email} を削除してもよろしいですか?"},"select":{"prefix":"グループ: "},"edit":{"title":"グループ変更","email":"メール","group":"グループ","validation":{"emailRequired":"メールを入力してください","groupRequired":"グループを選択してください"}},"import":{"title":"連絡先インポート","group":"グループ","data":"データ","pasteData":"データを貼り付け","uploadFile":"ファイルをアップロード","pastePlaceholder":"1行につき1メールでデータを貼り付けてください","fileTypeHint":"ファイル形式: txt、1行につき1メール、5MB以内","validation":{"groupRequired":"グループを選択してください","dataRequired":"1行につき1メールでデータを貼り付けてください","fileRequired":"ファイルをアップロードしてください"}},"loading":{"importSubscribers":"連絡先をインポート中... お待ちください","updateSubscriberGroup":"グループを更新中... お待ちください","deleteSubscriber":"連絡先を削除中... お待ちください"}},"group":{"search":{"namePlaceholder":"グループ名で検索"},"columns":{"name":"グループ名","subscribers":"購読者数","unsubscribe":"解除数","createdAt":"作成日"},"form":{"name":"グループ名","file":"ファイル","nameRequired":"グループ名を入力してください"},"add":{"title":"グループ追加"},"rename":{"title":"グループ名変更"},"delete":{"title":"グループ削除","confirm":"グループ {name} を削除してもよろしいですか?"},"fileUpload":{"hint":"ファイル形式: txt、1行につき1メール、5MB以内","emptyHint":"ファイルをアップロードしない場合は空のグループが作成されます"},"loading":{"createGroup":"グループ作成中... お待ちください","updateGroup":"グループ更新中... お待ちください","deleteGroup":"グループ削除中... お待ちください"}}},"domain":{"title":"メールドメイン","addDomain":"ドメイン追加","help":"メール送信に使用するドメインを追加してください","columns":{"domain":"ドメイン","quota":"クォータ","mailboxes":"メールボックス","defaultMailboxSize":"デフォルトメールボックスサイズ","actions":"操作"},"actions":{"dnsRecord":"DNS レコード"},"delete":{"title":"ドメイン削除","confirm":"ドメイン [{domain}] を削除してもよろしいですか?"},"form":{"addTitle":"ドメイン追加","editTitle":"ドメイン編集","domain":"ドメイン","domainPlaceholder":"例: aapanel.com","aRecord":"A レコード","aRecordPlaceholder":"例: mail.aapanel.com","quota":"ドメインクォータ","mailboxCount":"メールボックス数","globalCatch":"グローバルキャッチ","globalCatchPlaceholder":"存在しないメールをこのアドレスへ転送","validation":{"domainRequired":"ドメイン名は空にできません!"},"tips":{"aRecordFailed":"A レコードの解決に失敗しました。A レコードが正しくサーバーIPに向いているか確認してください","dnsSetup":"DNS プロバイダーのコンソールで A レコードを追加する必要があります","cloudflare":"CloudFlare を使用している場合、レコード追加時に [DNS only] を選択してください"}},"dns":{"title":"DNS レコード","verify":"レコードを設定したら、DNS 解決を検証","status":{"ok":"OK","notSet":"未設定"},"columns":{"domain":"ドメイン"},"table":{"recordType":"レコードタイプ","host":"ホスト","value":"値","mxPriority":"MX 優先度"},"step1":{"title":"ステップ1: A レコードを追加"},"step2":{"title":"ステップ2: MX レコードを追加","description":"ドメインサービスプロバイダーにログインし、メールサービス用の MX レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step3":{"title":"ステップ3: TXT レコードを追加","description":"メールスパム対策の TXT レコードを追加してください(以下のパラメータをコピーして使用してください)"},"step4":{"title":"ステップ4: PTR レコードを追加","description1":"(任意)PTR レコードは逆引きDNSに使用されます","description2":"IP プロバイダーに連絡して PTR レコードを作成してください"}},"ssl":{"expired":"期限切れ","daysLeft":"{days} 日","notSet":"未設定","title":"ドメイン SSL","tabs":{"otherCertificate":"他の証明書"},"cert":{"brand":"ブランド","domains":"証明書対象ドメイン","privateKey":"秘密鍵 (KEY)","certificate":"証明書 (CRT/PEM)","keyPlaceholder":"秘密鍵を入力","certPlaceholder":"証明書を入力"},"actions":{"applyFree":"無料証明書を申請"},"tips":{"paste":"KEY と CRT の内容を貼り付けて保存してください","chainCheck":"ブラウザで証明書チェーンの不備が表示された場合、PEM 証明書が正しく連結されているか確認してください","pemFormat":"PEM 形式証明書 = ドメイン証明書 .crt + ルート証明書 (root_bundle).crt","defaultSite":"SSL デフォルトサイトが指定されていない場合、SSL 未設定サイトは SSL 設定済みサイトの HTTPS を使用します"}},"api":{"loading":{"creating":"ドメインを作成中... お待ちください","updating":"ドメインを更新中... お待ちください","deleting":"ドメインを削除中... お待ちください","settingSSL":"SSL を設定中... お待ちください","applyingCert":"SSL 証明書を申請中... お待ちください","refreshingDns":"DNS レコードを更新中... お待ちください"}}},"mailbox":{"title":"メールボックス管理","actions":{"add":"メールボックス追加"},"search":{"usernamePlaceholder":"ユーザー名検索"},"domain":{"selectPlaceholder":"ドメイン選択"},"columns":{"username":"ユーザー名","password":"パスワード","loginInfo":"ログイン情報","quota":"クォータ","type":"タイプ","status":"ステータス"},"userType":{"admin":"管理者","general":"一般ユーザー"},"form":{"addTitle":"メールボックス追加","editTitle":"メールボックス編集","emailAddress":"メールアドレス","password":"パスワード","passwordPlaceholder":"メールボックスのパスワードを入力","quota":"クォータ","userType":"ユーザータイプ","status":"ステータス"},"validation":{"emailRequired":"メールアドレスを入力してください","passwordLength":"パスワードは8文字以上である必要があります","passwordFormat":"パスワードは大文字・小文字・数字をそれぞれ1文字以上含む必要があります"},"delete":{"title":"メールボックス削除","confirm":"メールボックス [{name}] を削除してもよろしいですか?"},"loginInfo":{"template":"WebMail: {webmail}\\nユーザー名: {username}\\nパスワード: {password}\\nPOP サービス [ アドレス: {mx} ポート: 110/995 ]\\nIMAP サービス [ アドレス: {mx} ポート: 143/993 ]\\nSMTP サービス [ アドレス: {mx} ポート: 25/465/587 ]"},"api":{"loading":{"creating":"メールボックスを作成中... お待ちください","updating":"メールボックスを更新中... お待ちください","deleting":"メールボックスを削除中... お待ちください"}}},"smtp":{"title":"SMTP リレーサービス管理","description":"複数のサービスプロバイダーに対応した SMTP リレーサービスを管理","empty":"SMTP リレーサービスがありません","providers":{"gmail":"Gmail","mailgun":"Mailgun","aws":"AWS SES","sendgrid":"SendGrid","custom":"カスタム SMTP"},"delete":{"title":"リレー削除","confirm":"リレーサービス [{name}] を削除してもよろしいですか?"},"card":{"domain":"紐付けドメイン","server":"サーバー","port":"ポート","username":"ユーザー名"},"form":{"addTitle":"SMTP 追加","editTitle":"SMTP 編集","remark":"備考","domain":"紐付けドメイン","server":"SMTP サーバー","port":"SMTP ポート","username":"ユーザー名","password":"パスワード","testConnection":"接続テスト","bind":" [紐付け済み]","validation":{"nameRequired":"リレー名を入力してください","domainRequired":"紐付けドメインを選択してください","serverRequired":"SMTP サーバーを入力してください","portRequired":"SMTP ポートを入力してください","usernameRequired":"ユーザー名を入力してください","passwordRequired":"パスワードを入力してください"}},"status":{"online":"オンライン","offline":"オフライン"},"api":{"loading":{"adding":"SMTP を追加中... お待ちください","editing":"SMTP を編集中... お待ちください","testing":"SMTP 接続をテスト中... お待ちください","deleting":"SMTP を削除中... お待ちください"}}},"settings":{"title":"設定","service":{"title":"サービス状態","tips":"ヒント: Ctrl+F で検索、Ctrl+S で保存、Ctrl+H で検索置換","editTitle":"{name} をオンライン編集","columns":{"name":"サービス名","status":"状態"},"status":{"running":"稼働中","stopped":"停止中"},"actions":{"restart":"再起動"},"restart":{"title":"サービス再起動","confirm":"[{name}] を再起動してもよろしいですか?"}},"bcc":{"title":"BCC 管理","add":"BCC 追加","edit":"BCC 編集","needCopy":"コピー元","copyTo":"コピー先","domain":"ドメイン","type":"BCC タイプ","status":"状態","active":"有効","types":{"sender":"送信時","recipient":"受信時"},"delete":{"title":"BCC [{address}] を削除","content":"BCC 設定を削除しますか?"},"placeholders":{"needCopy":"BCC 対象ユーザーを入力","copyTo":"BCC 受信メールを入力"},"loading":{"adding":"BCC を追加中... お待ちください","saving":"BCC を保存中... お待ちください","deleting":"BCC を削除中... お待ちください"}},"forward":{"add":"転送追加","edit":"転送編集","columns":{"address":"アドレス","goto":"転送先","domain":"ドメイン","created":"作成日","modified":"更新日","status":"状態"},"form":{"status":"状態","forwardedUsers":"転送元ユーザー","forwardedUsersPlaceholder":"転送元メールを入力","domain":"ドメイン","domainPlaceholder":"転送元ユーザーのドメイン名","receivingUser":"受信ユーザー","receivingUserPlaceholder":"転送メール受信者。複数ある場合は改行区切り"},"delete":{"title":"メール転送削除","content":"メール転送 [{address}] を削除してもよろしいですか?"},"loading":{"adding":"メール転送を追加中... お待ちください","editing":"メール転送を編集中... お待ちください","deleting":"メール転送を削除中... お待ちください"}},"api":{"loading":{"restarting":"サービスを再起動中... お待ちください","saving":"設定を保存中... お待ちください"}}}}');let s=(0,i.o)({legacy:!1,globalInjection:!0,locale:"en",fallbackLocale:"en",messages:{en:r,zh:o,ja:n}}),l=e=>{s.global.locale.value=e},d=s},27775:function(e,t,a){"use strict";a.d(t,{l:()=>d});var i=a(58786),r=a(76882),o=a(31708),n=a(52672),s=a(60066);let l=(0,i.aZ)({__name:"App",setup(e){let t=(0,o.fl)();return(0,i.YP)(()=>t.theme,()=>{t.changeTheme()},{immediate:!0}),(e,t)=>{let a=(0,i.up)("router-view"),r=s.Z;return(0,i.wg)(),(0,i.j4)(r,null,{default:(0,i.w5)(()=>[(0,i.Wm)(a)]),_:1})}}});a(60308),a(76);let d=(0,i.ri)(l);d.use(r.Z),d.use(o.ZP),d.use(n.Z),d.mount("#root")},53431:function(e,t,a){"use strict";a.d(t,{A:()=>i});let i=()=>Promise.all([a.e("579"),a.e("69"),a.e("2137"),a.e("6194"),a.e("5436")]).then(a.bind(a,35714))},52672:function(e,t,a){"use strict";a.d(t,{Z:()=>l});var i=a(31708),r=a(76882),o=a(66746);let{loadingBar:n}=(0,a(65215).M)(["loadingBar"],{configProviderProps:{themeOverrides:{LoadingBar:{colorLoading:"#20a53a",colorError:"#ef0808"}}}}),s=["/login"];o.ZP.beforeEach(async(e,t,a)=>{n.start();let l=(0,i.s6)();try{await l.getLang(),(0,r.m)(l.lang)}catch{(0,r.m)(l.lang)}if(!o._j.some(t=>t.path===e.path))return void a();(0,i.LM)().isLogin?s.includes(e.path)?a("/"):a():s.includes(e.path)?a():a("/login")}),o.ZP.afterEach(()=>{n.finish()});let l=o.ZP},25735:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/send",component:a(53431).A,meta:{sort:3,key:"api",title:"Send API",titleKey:"layout.menu.sendApi"},children:[{path:"/send",name:"Api",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("6235"),a.e("371"),a.e("3547")]).then(a.bind(a,19458))}]}},63768:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/automation",component:a(53431).A,meta:{sort:3,key:"automation",title:"Automation",icon:"i-mdi-refresh-auto",hidden:!0},children:[{path:"/automation",name:"Automation",component:()=>a.e("3606").then(a.bind(a,37539))}]}},52345:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/contacts",redirect:"/contacts/subscribers",name:"ContactsLayout",component:a(53431).A,meta:{sort:4,key:"contacts",title:"Contacts",titleKey:"layout.menu.contacts"},children:[{path:"/contacts",name:"Contacts",redirect:"/contacts/subscribers",component:()=>Promise.all([a.e("7303"),a.e("4602")]).then(a.bind(a,43898)),children:[{path:"subscribers",name:"ContactsSubscribers",meta:{title:"Subscribers",titleKey:"layout.menu.subscribers"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8212"),a.e("8164"),a.e("586"),a.e("4536")]).then(a.bind(a,58695))},{path:"group",name:"ContactsGroup",meta:{title:"Group",titleKey:"layout.menu.group"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("8164"),a.e("586"),a.e("2076")]).then(a.bind(a,33273))}]}]}},78280:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/domain",component:a(53431).A,meta:{sort:5,key:"domain",title:"MailDomain",titleKey:"layout.menu.domain"},children:[{path:"/domain",name:"Domain",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("7303"),a.e("9780"),a.e("8775"),a.e("8164"),a.e("8756")]).then(a.bind(a,48249))}]}},5987:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/mailbox",component:a(53431).A,meta:{sort:6,key:"mailbox",title:"MailBoxes",titleKey:"layout.menu.mailboxes"},children:[{path:"/mailbox",name:"Mailbox",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("9780"),a.e("6779"),a.e("8164"),a.e("8946")]).then(a.bind(a,17743))}]}},30794:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/market",redirect:"/market/task",name:"MarketLayout",component:a(53431).A,meta:{sort:2,key:"market",title:"Email Marketing",titleKey:"layout.menu.market"},children:[{path:"/market",redirect:"/market/task",name:"Market",component:()=>Promise.all([a.e("7303"),a.e("3535")]).then(a.bind(a,77369)),children:[{path:"task",name:"MarketTask",meta:{title:"Task",titleKey:"layout.menu.task"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("8164"),a.e("8559")]).then(a.bind(a,66469))},{path:"template",name:"MarketTemplate",meta:{title:"Template",titleKey:"layout.menu.template"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("5530"),a.e("8164"),a.e("586"),a.e("8013")]).then(a.bind(a,11646))}]},{path:"template/edit/:id",name:"MarketTemplateEdit",meta:{title:"Template",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("9372"),a.e("2017"),a.e("7244"),a.e("4636"),a.e("586"),a.e("5668")]).then(a.bind(a,80637))},{path:"task/edit",name:"MarketTaskEdit",meta:{title:"Task",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("9372"),a.e("6803"),a.e("9780"),a.e("2017"),a.e("7244"),a.e("7222"),a.e("5658"),a.e("586"),a.e("371"),a.e("45")]).then(a.bind(a,4513))},{path:"task/analytics/:id",name:"MarketTaskAnalytics",meta:{title:"Analytics",hidden:!0},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("3990")]).then(a.bind(a,6342))}]}},65449:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/overview",component:a(53431).A,meta:{sort:0,key:"overview",title:"Overview",titleKey:"layout.menu.overview"},children:[{path:"/overview",name:"Overview",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("7222"),a.e("156"),a.e("3703"),a.e("8275")]).then(a.bind(a,67377))}]}},84609:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/settings",name:"SettingsLayout",redirect:"/settings/common",meta:{sort:9,key:"settings",title:"Settings",titleKey:"layout.menu.settings"},component:a(53431).A,children:[{path:"/settings",name:"Settings",redirect:"/settings/common",component:()=>Promise.all([a.e("7303"),a.e("9468")]).then(a.bind(a,69052)),children:[{path:"common",name:"SettingsCommon",meta:{title:"Common",titleKey:"layout.menu.common"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("9372"),a.e("7283"),a.e("8642")]).then(a.bind(a,74055))},{path:"service",name:"SettingsService",meta:{title:"Service",titleKey:""},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("6803"),a.e("3765"),a.e("4636"),a.e("3215")]).then(a.bind(a,69046))},{path:"bcc",name:"SettingsBcc",meta:{title:"BCC",titleKey:"layout.menu.bcc"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("8396"),a.e("8164"),a.e("2880")]).then(a.bind(a,88559))},{path:"forward",name:"SettingsForward",meta:{title:"Forward",titleKey:"layout.menu.forward"},component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("6803"),a.e("3765"),a.e("5498"),a.e("8164"),a.e("8128")]).then(a.bind(a,92004))}]}]}},48296:function(e,t,a){"use strict";a.r(t),a.d(t,{default:()=>i});let i={path:"/smtp",component:a(53431).A,meta:{sort:8,hidden:!1,key:"smtp",title:"SMTP",titleKey:""},children:[{path:"/smtp",name:"SMTP",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("2137"),a.e("9372"),a.e("9780"),a.e("1245"),a.e("5734")]).then(a.bind(a,61514))}]}},66746:function(e,t,a){"use strict";a.d(t,{ZP:()=>c,_j:()=>d,sh:()=>s});var i=a(94904),r=a(65965),o=a(68271);let n=a(12052),s=[];for(let e of n.keys()){let t=n(e);(0,o.is)(t,"Module")&&s.push(t.default)}s.sort((e,t)=>(0,i.Z)(e,"meta.sort",0)-(0,i.Z)(t,"meta.sort",0));let l=[];o.r8&&l.push({path:"/test",name:"Test",component:()=>Promise.all([a.e("579"),a.e("9602"),a.e("69"),a.e("3354"),a.e("7303"),a.e("9780"),a.e("5513"),a.e("6366"),a.e("7502"),a.e("7235")]).then(a.bind(a,92382))});let d=[{path:"/login",name:"Login",component:()=>Promise.all([a.e("9602"),a.e("9372"),a.e("5621")]).then(a.bind(a,24680))},{path:"/",redirect:"/overview"},...s,...l],c=(0,r.p7)({history:(0,r.PO)("/"),routes:d,strict:!1,scrollBehavior:()=>({left:0,top:0})})},31708:function(e,t,a){"use strict";a.d(t,{ZP:()=>f,Ls:()=>n,fl:()=>g,s6:()=>p,LM:()=>u});var i=a(30989),r=a(57953),o=a(58786);let n=(0,i.Q_)("MenuStore",()=>{let e=(0,o.iH)(!1),t=(0,o.iH)([]);return{isCollapse:e,menuList:t,setCollapse:()=>{e.value=!e.value},setMenuList:e=>{t.value=e},closeSidebar:()=>{e.value=!1}}});var s=a(68271),l=a(73282),d=a(76882),c=a(52672);let u=(0,i.Q_)("UserStore",()=>{let{t:e}=d.Z.global,t=(0,o.iH)({token:"",refresh_token:"",ttl:0,expire:0}),a=(0,o.Fl)(()=>t.value.token&&t.value.expire>Date.now()),i=()=>{t.value.token="",t.value.refresh_token="",t.value.ttl=0,t.value.expire=0};return{login:t,isLogin:a,logout:()=>{(0,s.iG)({title:e("user.logout.title"),content:e("user.logout.content"),onConfirm:async()=>{await (0,l.kS)(),i(),c.Z.push("/login")}})},setLoginInfo:e=>{t.value.token=e.token,t.value.refresh_token=e.refresh_token,t.value.ttl=e.ttl,t.value.expire=1e3*e.ttl+Date.now()},resetLoginInfo:i}},{persist:{pick:["login"]}});var m=a(98003);let p=(0,i.Q_)("GlobalStore",()=>{let e=(0,o.iH)("en"),t=(0,o.iH)([]),a=(0,o.iH)(!1),i=async()=>{if(t.value.length>0)return;let a=await (0,m.Vb)();(0,s.Kn)(a)&&(e.value=a.current_language,t.value=a.available_languages)};return{lang:e,langList:t,isCollapse:a,getLang:i,setLang:async e=>{await (0,m.m0)({language:e})},setCollapse:()=>{a.value=!a.value}}}),g=(0,i.Q_)("ThemeStore",()=>{let e=(0,o.iH)("light"),t=e=>getComputedStyle(document.documentElement).getPropertyValue(e).trim(),a=()=>({common:{lineHeight:"normal",fontSize:"12px",fontSizeSmall:"12px",fontSizeMedium:"12px",fontSizeLarge:"14px",borderRadius:"4px",baseColor:"#fff",textColor1:t("--color-text-1"),textColor2:t("--color-text-2"),primaryColor:t("--color-primary-1"),primaryColorHover:t("--color-primary-hover-1"),successColor:t("--color-primary-1"),successColorHover:t("--color-primary-hover-1"),warningColor:t("--color-warning-1"),errorColor:t("--color-error-1")},Layout:{color:t("--color-bg-2"),textColor:t("--color-text-1"),headerColor:t("--color-bg-1"),siderColor:t("--color-bg-1"),siderTextColor:t("--color-sider-text-1")},Menu:{fontSize:"14px",itemTextColor:t("--color-menu-1"),itemIconColor:t("--color-menu-1"),itemColorActive:t("--color-menu-active-1"),itemTextColorActive:t("--color-menu-active-2"),itemIconColorActive:t("--color-menu-active-2"),itemColorActiveHover:t("--color-menu-active-1"),itemTextColorActiveHover:t("--color-menu-active-2"),itemIconColorActiveHover:t("--color-menu-active-2"),itemColorActiveCollapsed:t("--color-menu-active-1")},Card:{color:t("--color-bg-1"),borderColor:"transparent",borderRadius:"6px"},Form:{feedbackHeightMedium:"20px",feedbackHeightLarge:"22px",feedbackFontSizeMedium:"12px",feedbackFontSizeLarge:"12px",feedbackPadding:"2px 0 0",labelFontSizeTopMedium:"13px",labelFontSizeLeftMedium:"13px",labelPaddingHorizontal:"0 20px 0 0",labelFontWeight:"700"},Radio:{buttonColor:t("--color-radio-1"),buttonColorActive:t("--color-radio-2"),buttonTextColor:t("--color-text-2"),buttonTextColorHover:t("--color-text-1"),buttonTextColorActive:t("--color-text-1"),buttonBorderColor:"transparent",buttonBorderColorHover:"transparent",buttonBorderColorActive:"transparent",buttonBoxShadowHover:"none",buttonBoxShadowFocus:"none",buttonBorderRadius:"4px",labelPadding:"0 0 0 8px"},Dialog:{contentMargin:"16px 0",textColor:t("--color-text-1")},DataTable:{thPaddingMedium:"10px",tdPaddingMedium:"10px",thColor:t("--color-table-th-1"),tdColor:t("--color-table-td-1"),tdColorHover:t("--color-table-th-1"),borderRadius:"4px"},Breadcrumb:{fontSize:"14px"},Switch:{railColorActive:t("--color-primary-1")},Tabs:{tabBorderRadius:"4px"},Progress:{textColorLineInner:"#fff"}}),i=(0,o.iH)(a());return{theme:e,themeOverrides:i,setTheme:t=>{e.value=t},changeTheme:()=>{let t="dark"===e.value;document.documentElement.setAttribute("theme-mode",t?"dark":""),(0,o.Y3)(()=>{i.value=a()})}}},{persist:{pick:["theme"]}}),h=(0,i.WB)();h.use(r.Z);let f=h},68271:function(e,t,a){"use strict";a.d(t,{kJ:()=>N,NY:()=>Z,o8:()=>D,Dx:()=>O,UO:()=>q,qQ:()=>z,mf:()=>E,HD:()=>M,FZ:()=>L,mr:()=>_,r8:()=>B,hj:()=>A,Kn:()=>R,wb:()=>G,v0:()=>x,is:()=>k,J_:()=>I,iG:()=>l,$o:()=>K});var i=a(58786),r=a(96616),o=a(27775),n=a(49247),s=a(60066);function l(e){let t=document.createElement("div"),a=()=>{(0,i.sY)(null,t),t.parentNode&&t.parentNode.removeChild(t)},l=(0,i.Wm)(n.Z,{show:!0,width:e.width||420,title:e.title,onCancel:e.onCancel,onConfirm:e.onConfirm,confirmText:e.confirmText,confirmType:e.confirmType,onAfterLeave:()=>{a()}},{default:()=>(0,i.Wm)("div",{class:"pt-6px pb-10px text-14px"},[(0,r.s)(e.content)])}),d=(0,i.Wm)(s.Z,{},{default:()=>[l]});d.appContext=o.l._context,(0,i.sY)(d,t)}var d=a(40833),c=a(71465),u=a(73023),m=a(56357),p=a(89620),g=a(62594),h=a(87075),f=a(62198),b=a(64812),v=a(52317);let y=(0,i.aZ)({__name:"index",emits:["click"],setup(e,t){let{emit:a}=t,r=e=>{a("click",e)};return(e,t)=>((0,i.wg)(),(0,i.iD)("div",{class:"bt-close-btn",onClick:r},t[0]||(t[0]=[(0,i._)("div",{class:"close-icon"},null,-1)])))}}),P=(0,a(41748).default)(y,[["__scopeId","data-v-52951952"]]),S=(0,i.aZ)({name:"BtMessage",props:{type:{type:String,default:"info"},content:{type:[String,Function],default:""},duration:{type:Number,default:2500},close:{type:Boolean,default:!1},isHtml:{type:Boolean,default:!1},maxWidth:{type:[String,Number],default:360},zIndex:Number},emits:["close"],setup(e,t){let{emit:a}=t,r=(0,i.iH)(null),o={success:{icon:()=>(0,i.Wm)(h.Z,null,null),color:"#20a53a"},error:{icon:()=>(0,i.Wm)(f.Z,null,null),color:"#E85445"},warning:{icon:()=>(0,i.Wm)(b.Z,null,null),color:"#e6a23c"},info:{icon:()=>(0,i.Wm)(v.Z,null,null),color:"#2080F0"},loading:{icon:()=>(0,i.Wm)(g.Z,{clsPrefix:"bt",strokeWidth:24,scale:.85},null),color:"#20a53a"}},n=(0,i.Fl)(()=>o[e.type]),s=0,l=()=>{a("close")},d=()=>{let{duration:t}=e;t>0&&(s=window.setTimeout(l,t))},c=()=>{s&&(window.clearTimeout(s),s=0)},m=()=>{let e=r.value;if(!e)return;let t=window.document.body,a=(t.clientWidth-e.clientWidth)/2,i=(t.clientHeight-e.clientHeight)/2;e.style.left=a+"px",e.style.top=i+"px"},p=!0,y=new u.Z(()=>{if(p){p=!1;return}m()}),P=()=>{(0,i.Y3)(()=>{let e=r.value;e&&(e.style.opacity="1")})};return(0,i.bv)(()=>{m(),P(),d(),y.observe(window.document.body)}),(0,i.Jd)(()=>{c(),y.disconnect()}),{iconInfo:n,messageRef:r,handleClose:l}},render(){var e;let t;return(0,i.wy)((0,i.Wm)("div",{ref:"messageRef",class:["bt-message-ke2eaH",`bt-message-${this.type}`],style:{maxWidth:(0,p.N)(this.maxWidth)}},[this.close&&(0,i.Wm)(P,{onClick:()=>{this.handleClose()}},null),(0,i.Wm)("div",{class:"flex-basis-30px"},[(0,i.Wm)(m.g,{size:30,color:this.iconInfo.color},"function"!=typeof(e=t=this.iconInfo.icon())&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)]),(0,i.Wm)("div",{class:"flex-1 ml-10px max-h-600px leading-20px text-14px overflow-auto"},[!this.isHtml&&(0,i.Wm)("div",null,[(0,r.s)(this.content)]),this.isHtml&&(0,i.Wm)("div",{innerHTML:this.content},null)])]),[[c.Z,{zIndex:this.zIndex,enabled:!0}]])}}),C=(0,i.aZ)({name:"MessageList",props:{messages:{type:Array,default:()=>[]},type:{type:String,default:"success"},position:{type:String,default:"center"}},emits:["close","afterClose"],setup(){},render(){var e;let t;return(0,i.Wm)(i.HY,null,[this.messages.map(e=>{if(e.mask)return(0,i.wy)((0,i.Wm)("div",{class:"n-modal-mask"},null),[[c.Z,{zIndex:void 0,enabled:!0}]])}),(0,i.Wm)(i.W3,{name:"bounce",onAfterLeave:()=>{this.$emit("afterClose")}},"function"!=typeof(e=t=this.messages.map(e=>(0,i.Wm)(S,{key:e.id,type:e.type,close:e.close,isHtml:e.isHtml,content:e.content,duration:e.duration,maxWidth:e.maxWidth,onClose:()=>{this.$emit("close",e.id)}},null)))&&("[object Object]"!==Object.prototype.toString.call(e)||(0,i.lA)(e))?{default:()=>[t]}:t)])}});class w{constructor(e){(0,d._)(this,"messageIds",void 0),(0,d._)(this,"messages",void 0),(0,d._)(this,"position",void 0),(0,d._)(this,"container",void 0),(0,d._)(this,"messageCount",0),(0,d._)(this,"add",e=>{this.messageCount++;let t=e.id??`__bt_message_${this.messageCount}`;if(this.messageIds.has(t))return this.update(t,e);let a=(0,i.qj)({id:t,...e});return this.messages.value.push(a),this.messageIds.add(t),{close:()=>this.remove(t)}}),(0,d._)(this,"update",(e,t)=>{for(let a=0;a<this.messages.value.length;a++)if(this.messages.value[a].id===e){let i=!D(t.duration);Object.assign(this.messages.value[a],{...t,id:e,resetOnUpdate:i});break}return{close:()=>this.remove(e)}}),(0,d._)(this,"remove",e=>{for(let t=0;t<this.messages.value.length;t++){let a=this.messages.value[t];if(a.id===e){E(a.onClose)&&a.onClose(e),this.messages.value.splice(t,1),this.messageIds.delete(e);break}}}),(0,d._)(this,"clear",()=>{this.messages.value.splice(0)}),(0,d._)(this,"destroy",()=>{0===this.messages.value.length&&this.container&&((0,i.sY)(null,this.container),document.body.removeChild(this.container),this.container=null,T[this.position]=void 0)});let{position:t="center"}=e,a=document.createElement("div");a.classList.add("bt-message-container"),this.container=a,this.messages=(0,i.iH)([]),this.messageIds=new Set,this.position=t;let r=(0,i.Wm)(C,{position:t,messages:this.messages.value,type:e.type,onClose:this.remove,onAfterClose:this.destroy});(0,i.sY)(r,this.container),document.body.appendChild(this.container)}}let T={},x=["info","success","warning","error","loading"].reduce((e,t)=>(e[t]=(e,a)=>{M(e)||E(e)?a?a.content=e:a={content:e}:a={...e},"loading"===t?(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0):a.close&&(a.mask=void 0===a.mask||a.mask,a.duration=a.duration?a.duration:0);let i={type:t,...a},{position:r="center"}=i;return T[r]||(T[r]=new w(i)),T[r].add(i)},e),{});function k(e,t){return Object.prototype.toString.call(e)===`[object ${t}]`}function R(e){return null!==e&&k(e,"Object")}x.clear=e=>{if(e){var t;null==(t=T[e])||t.clear()}else Object.values(T).forEach(e=>null==e?void 0:e.clear())};let A=e=>k(e,"Number"),M=e=>k(e,"String"),E=e=>k(e,"Function"),D=e=>void 0===e,N=e=>Array.isArray(e),I=e=>k(e,"Date"),B=!1,L="",q=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:0,t=!(arguments.length>1)||void 0===arguments[1]||arguments[1],a=arguments.length>2&&void 0!==arguments[2]?arguments[2]:2,i=arguments.length>3&&void 0!==arguments[3]?arguments[3]:"";if(!A(e)&&isNaN(e=Number(e)))return"";let r=["B","KB","MB","GB","TB","PB","EB","ZB","YB","BB","NB","DB"],o=e;for(let e=0;e<r.length;e++){let n=r[e],s=0===a?Math.round(o).toString():o.toFixed(a);if(i&&n===i.trim()||o<1024)return t?`${s} ${n}`:s;o/=1024}return"--"};var F=a(20157);let O=e=>Number.isNaN((0,F.Z)(e))?0:(0,F.Z)(e);var U=a(92824),j=a(36760),H=a(49468),W=a(76882);let _=function(e){let t,a=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"yyyy-MM-dd HH:mm:ss";if(!e)return"--";try{if(M(e))t=isNaN((0,F.Z)(e))?new Date(e).getTime():O(e);else if(I(e))t=e.getTime();else{if(!A(e))return"--";let a=e.toString();t=10===a.length?1e3*e:e}return(0,U.WU)(t,a)}catch{return"--"}},G=function(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:new Date,t=(0,j.b)(e),a=(0,H.i)(e);return[t.getTime(),a.getTime()]},Z=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:1;if(!e||e<0)return`0 ${W.Z.global.t("common.unit.seconds")}`;let a=e/86400,i=e/3600,r=e/60;return a>=1?`${a.toFixed(t)} ${W.Z.global.t("common.unit.days")}`:i>=1?`${i.toFixed(t)} ${W.Z.global.t("common.unit.hours")}`:r>=1?`${r.toFixed(t)} ${W.Z.global.t("common.unit.minutes")}`:`${Math.floor(e)} ${W.Z.global.t("common.unit.seconds")}`},K=function(e){let t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"";try{let a=localStorage.getItem(e);if(null===a)return t;if(R(t))return JSON.parse(a);return a}catch{return t}},z=(e,t)=>{let a=R(t)?JSON.stringify(t):String(t);localStorage.setItem(e,a)}},60066:function(e,t,a){"use strict";a.d(t,{Z:()=>g});var i=a(48238),r=a(58786),o=a(30989),n=a(86831),s=a(44488),l=a(38325),d=a(24924),c=a(89462),u=a(79203),m=a(58249),p=a(31708);let g=(0,r.aZ)({__name:"index",setup(e){let t=(0,p.s6)(),{lang:a}=(0,o.Jk)(t),g=(0,p.fl)(),{theme:h,themeOverrides:f}=(0,o.Jk)(g),b={zh:{locale:n.Z,dateLocale:s.Z},en:{locale:l.Z,dateLocale:d.Z},ja:{locale:c.Z,dateLocale:u.Z}},v=(0,r.Fl)(()=>"dark"===h.value?m.$:null),y=(0,r.Fl)(()=>b[a.value].locale),P=(0,r.Fl)(()=>b[a.value].dateLocale);return(e,t)=>{let a=i.Z;return(0,r.wg)(),(0,r.j4)(a,{abstract:"","inline-theme-disabled":"",theme:(0,r.SU)(v),locale:(0,r.SU)(y),"date-locale":(0,r.SU)(P),"theme-overrides":(0,r.SU)(f)},{default:(0,r.w5)(()=>[(0,r.WI)(e.$slots,"default")]),_:3},8,["theme","locale","date-locale","theme-overrides"])}}})},49247:function(e,t,a){"use strict";a.d(t,{Z:()=>c});var i=a(5057),r=a(67655),o=a(58786),n=a(94821),s=a(89620);let l={class:"flex justify-between flex-1"},d={class:"flex gap-12px"},c=(0,o.aZ)({__name:"index",props:(0,o.Vf)({zIndex:Number,onAfterLeave:Function,title:{type:String,default:""},width:{type:[String,Number],default:"auto"},minHeight:{type:[Number,String],default:"auto"},footer:{type:Boolean,default:!0},transformOrigin:{type:String,default:"center"},confirmText:{type:String,default:""},confirmType:{type:String,default:"primary"},onCancel:{type:Function,default:()=>!0},onConfirm:{type:Function,default:()=>!0}},{show:{type:Boolean},showModifiers:{}}),emits:["update:show"],setup(e){let t=(0,o.tT)(e,"show"),{height:a}=(0,n.iPe)(),c=(0,o.Fl)(()=>a.value?`${a.value-32}px`:"auto"),u=()=>{t.value=!1},m=()=>{!1!==e.onCancel()&&(t.value=!1)},p=()=>{Promise.resolve(e.onConfirm()).then(e=>{!1!==e&&u()})},g=()=>{var t;null==(t=e.onAfterLeave)||t.call(e)};return(a,n)=>{let u=r.ZP,h=i.Z;return(0,o.wg)(),(0,o.j4)(h,{show:t.value,"onUpdate:show":n[0]||(n[0]=e=>t.value=e),preset:"dialog","z-index":e.zIndex,draggable:!0,"auto-focus":!1,"show-icon":!1,"mask-closable":!1,"internal-appear":!0,"internal-dialog":!0,"transform-origin":e.transformOrigin,style:(0,o.j5)({width:(0,o.SU)(s.N)(e.width)}),onAfterLeave:g},(0,o.Nv)({header:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.title),1)]),default:(0,o.w5)(()=>[(0,o._)("div",{style:(0,o.j5)({maxHeight:(0,o.SU)(c),overflow:"auto"})},[(0,o.WI)(a.$slots,"default")],4)]),_:2},[e.footer?{name:"action",fn:(0,o.w5)(()=>[(0,o._)("div",l,[(0,o._)("div",null,[(0,o.WI)(a.$slots,"footer-left")]),(0,o._)("div",d,[(0,o.Wm)(u,{secondary:"",onClick:m},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(a.$t("common.actions.cancel")),1)]),_:1}),(0,o.Wm)(u,{type:e.confirmType,onClick:p},{default:(0,o.w5)(()=>[(0,o.Uk)((0,o.zw)(e.confirmText||a.$t("common.actions.confirm")),1)]),_:1},8,["type"])])])]),key:"0"}:void 0]),1032,["show","z-index","transform-origin","style"])}}})}},t={};function a(i){var r=t[i];if(void 0!==r)return r.exports;var o=t[i]={exports:{}};return e[i](o,o.exports,a),o.exports}a.m=e,a.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return a.d(t,{a:t}),t},a.d=(e,t)=>{for(var i in t)a.o(t,i)&&!a.o(e,i)&&Object.defineProperty(e,i,{enumerable:!0,get:t[i]})},a.f={},a.e=e=>Promise.all(Object.keys(a.f).reduce((t,i)=>(a.f[i](e,t),t),[])),a.u=e=>"static/js/async/"+e+"."+({1245:"c5729a5d",156:"4ccaa390",2017:"ed71b520",2076:"c76eb567",2137:"31d4654f",2880:"59e695c4",3215:"8e46f34a",3354:"af31be73",3535:"339f476b",3547:"5d3c5ff1",3606:"c5bd7813",3703:"774b6e9f",371:"d96f062a",3765:"1c94058e",3990:"08d9f40b",45:"a4cc971a",4536:"1c2ac882",4602:"850ba1d6",4636:"a6e49596",5436:"86c2f72e",5498:"56da57d8",5513:"ead8a1d8",5530:"ddd3c262",5621:"34a18da4",5658:"a76a1ab8",5668:"cca3e279",5734:"b9ab020e",579:"573b6199",586:"63de9350",6194:"33ecbd1c",6235:"edad05e0",6366:"11e68ac4",6779:"5db504d6",6803:"12301c63",69:"07f369ca",7222:"7569012d",7235:"0893b9e1",7244:"f212f88b",7283:"344213bd",7303:"1f99ded4",7502:"9d1cd23e",8013:"81869de4",8128:"4d493a6b",8164:"429506fd",8212:"634870a9",8275:"2a254d10",8396:"b4461a1b",8559:"95127814",8642:"229a5c24",8756:"57066731",8775:"8c37b635",8946:"297502cb",9372:"19031b29",9468:"06d7af2f",9602:"b4037dad",9780:"742711c8"})[e]+".js",a.miniCssF=e=>"static/css/async/"+e+"."+({2076:"08667584",3215:"a5c6d0c0",3535:"a98f8847",3547:"d8fd2f0b",3990:"eed6a12e",45:"cad35dd3",4536:"67f335ae",4602:"a98f8847",5436:"1742fcff",5621:"fd2f892d",5668:"bf7e8158",5734:"25a912c0",7502:"e7a70efd",8013:"f659b7dc",8275:"0fc96432",8642:"d9ef7c35",8756:"312b1920",8946:"8982743b",9468:"a98f8847"})[e]+".css",a.h=()=>"ce912058d0b65b9a",a.g=(()=>{if("object"==typeof globalThis)return globalThis;try{return this||Function("return this")()}catch(e){if("object"==typeof window)return window}})(),a.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),(()=>{var e={},t="frontend:";a.l=function(i,r,o,n){if(e[i])return void e[i].push(r);if(void 0!==o)for(var s,l,d=document.getElementsByTagName("script"),c=0;c<d.length;c++){var u=d[c];if(u.getAttribute("src")==i||u.getAttribute("data-webpack")==t+o){s=u;break}}s||(l=!0,(s=document.createElement("script")).charset="utf-8",s.timeout=120,a.nc&&s.setAttribute("nonce",a.nc),s.setAttribute("data-webpack",t+o),s.src=i),e[i]=[r];var m=function(t,a){s.onerror=s.onload=null,clearTimeout(p);var r=e[i];if(delete e[i],s.parentNode&&s.parentNode.removeChild(s),r&&r.forEach(function(e){return e(a)}),t)return t(a)},p=setTimeout(m.bind(null,void 0,{type:"timeout",target:s}),12e4);s.onerror=m.bind(null,s.onerror),s.onload=m.bind(null,s.onload),l&&document.head.appendChild(s)}})(),a.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},(()=>{var e=[];a.O=(t,i,r,o)=>{if(i){o=o||0;for(var n=e.length;n>0&&e[n-1][2]>o;n--)e[n]=e[n-1];e[n]=[i,r,o];return}for(var s=1/0,n=0;n<e.length;n++){for(var[i,r,o]=e[n],l=!0,d=0;d<i.length;d++)(!1&o||s>=o)&&Object.keys(a.O).every(e=>a.O[e](i[d]))?i.splice(d--,1):(l=!1,o<s&&(s=o));if(l){e.splice(n--,1);var c=r();void 0!==c&&(t=c)}}return t}})(),a.p="/",a.rv=()=>"1.3.12",(()=>{if("undefined"!=typeof document){var e=function(e,t,i,r,o){var n=document.createElement("link");return n.rel="stylesheet",n.type="text/css",a.nc&&(n.nonce=a.nc),n.onerror=n.onload=function(a){if(n.onerror=n.onload=null,"load"===a.type)r();else{var i=a&&("load"===a.type?"missing":a.type),s=a&&a.target&&a.target.href||t,l=Error("Loading CSS chunk "+e+" failed.\\n("+s+")");l.code="CSS_CHUNK_LOAD_FAILED",l.type=i,l.request=s,n.parentNode&&n.parentNode.removeChild(n),o(l)}},n.href=t,i?i.parentNode.insertBefore(n,i.nextSibling):document.head.appendChild(n),n},t=function(e,t){for(var a=document.getElementsByTagName("link"),i=0;i<a.length;i++){var r=a[i],o=r.getAttribute("data-href")||r.getAttribute("href");if("stylesheet"===r.rel&&(o===e||o===t))return r}for(var n=document.getElementsByTagName("style"),i=0;i<n.length;i++){var r=n[i],o=r.getAttribute("data-href");if(o===e||o===t)return r}},i={2980:0};a.f.miniCss=function(r,o){if(i[r])o.push(i[r]);else 0!==i[r]&&({4602:1,2076:1,8642:1,8013:1,5436:1,3990:1,8756:1,3215:1,3535:1,3547:1,8946:1,4536:1,5621:1,7502:1,5734:1,8275:1,9468:1,5668:1,45:1})[r]&&o.push(i[r]=new Promise(function(i,o){var n=a.miniCssF(r),s=a.p+n;if(t(n,s))return i();e(r,s,null,i,o)}).then(function(){i[r]=0},function(e){throw delete i[r],e}))}}})(),(()=>{var e={2980:0};a.f.j=function(t,i){var r=a.o(e,t)?e[t]:void 0;if(0!==r)if(r)i.push(r[2]);else{var o=new Promise((a,i)=>r=e[t]=[a,i]);i.push(r[2]=o);var n=a.p+a.u(t),s=Error();a.l(n,function(i){if(a.o(e,t)&&(0!==(r=e[t])&&(e[t]=void 0),r)){var o=i&&("load"===i.type?"missing":i.type),n=i&&i.target&&i.target.src;s.message="Loading chunk "+t+" failed.\n("+o+": "+n+")",s.name="ChunkLoadError",s.type=o,s.request=n,r[1](s)}},"chunk-"+t,t)}},a.O.j=t=>0===e[t];var t=(t,i)=>{var r,o,[n,s,l]=i,d=0;if(n.some(t=>0!==e[t])){for(r in s)a.o(s,r)&&(a.m[r]=s[r]);if(l)var c=l(a)}for(t&&t(i);d<n.length;d++)o=n[d],a.o(e,o)&&e[o]&&e[o][0](),e[o]=0;return a.O(c)},i=self.webpackChunkfrontend=self.webpackChunkfrontend||[];i.forEach(t.bind(null,0)),i.push=t.bind(null,i.push.bind(i))})(),a.ruid="[email protected]";var i=a.O(void 0,["2072","5139","2118","6746"],function(){return a(27775)});i=a.O(i)})();
\ No newline at end of file