cosmic-ai-genius 0.3.23 → 0.3.24
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap";.genius-sdk__VoiceCall-module__genius-voice-call-container___pMQPi{position:fixed;bottom:20px;right:20px;width:200px;height:64px;background:#f6f6f6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:36px;box-shadow:0 0 0 1px #0000000d,0 8px 24px #0000001f;z-index:10000;animation:genius-sdk__VoiceCall-module__slideIn___09HIS .3s ease-out}@keyframes genius-sdk__VoiceCall-module__slideIn___09HIS{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.genius-sdk__VoiceCall-module__genius-voice-call-content___D6lvV{display:flex;align-items:center;height:100%;padding:0 12px}.genius-sdk__VoiceCall-module__genius-voice-call-buttons___-r2z6{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:100%}.genius-sdk__VoiceCall-module__genius-voice-call-genius-icon___zXrKa{width:40px;height:40px;border-radius:50%;background:linear-gradient(140.43deg,#9747ff 41.482%,#1b85ff 116.12%);display:flex;align-items:center;justify-content:center;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-genius-icon-inner___ZNVcG{width:19.195px;height:19.195px;color:#fff;display:flex;align-items:center;justify-content:center}.genius-sdk__VoiceCall-module__genius-voice-call-genius-icon-inner___ZNVcG svg{width:100%;height:100%;fill:currentColor}.genius-sdk__VoiceCall-module__genius-voice-call-voice-container___Tp-nw{flex:1;display:flex;align-items:center;justify-content:center}.genius-sdk__VoiceCall-module__genius-voice-call-mic-button___t10z7{background:#fff;border:1px solid #e1e1e1;border-radius:35.2px;box-shadow:0 1px 3px #0000000f;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-mic-button___t10z7>svg{width:20px;height:20px;color:#5f5f5f;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96-{display:flex;align-items:center;justify-content:center;animation:genius-sdk__VoiceCall-module__pulse___ao-NY 1.5s ease-in-out infinite;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- svg{width:20px;height:20px;color:#1b85ff}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect{animation:genius-sdk__VoiceCall-module__wave___W214g 1.2s ease-in-out infinite}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(1){animation-delay:0s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(2){animation-delay:.1s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(3){animation-delay:.2s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(4){animation-delay:.3s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(5){animation-delay:.4s}@keyframes genius-sdk__VoiceCall-module__pulse___ao-NY{0%,to{opacity:.3}50%{opacity:1}}@keyframes genius-sdk__VoiceCall-module__wave___W214g{0%,to{transform:scaleY(.5)}50%{transform:scaleY(1)}}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC{width:44px;height:44px;background:#fff;border:1px solid #e1e1e1;border-radius:35.2px;box-shadow:0 1px 3px #0000000f;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;padding:0}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC:hover{background:#fee2e2;border-color:#fca5a5}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC:active{transform:scale(.95)}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC svg{width:20px;height:20px;color:#f04438}@media (max-width: 768px){.genius-sdk__VoiceCall-module__genius-voice-call-container___pMQPi{bottom:10px;right:10px;left:10px;width:auto;max-width:300px;margin:0 auto}}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD{border:1px solid #EDEDED!important;border-radius:.5rem;display:flex;flex-direction:column;gap:.75rem;position:relative}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-container___PF9Kl{background:#fff;border-radius:.25rem;box-shadow:0 1px 3px #0000001a}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-item___S61g8{transition:all .2s ease}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-item___S61g8:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-bullet___iqmNl{flex-shrink:0;border-radius:.125rem;transition:all .2s ease}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt{border-collapse:collapse;width:100%}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt th{background:#f8f9fa;font-weight:600}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt td,.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt th{padding:.5rem;text-align:left;border-bottom:1px solid #e9ecef}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt tr:hover{background:#007bff0d}@media (max-width: 768px){.genius-sdk__Highchart-module__highchart-wrapper___sM-hD{position:relative;margin-top:1.5rem}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-container___PF9Kl{padding:.5rem}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-item___S61g8{padding:.5rem .25rem}}@media (min-width: 769px){.genius-sdk__Highchart-module__highchart-wrapper___sM-hD,.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-container___PF9Kl{padding:1rem}}.genius-sdk__Highchart-module__highcharts-container___ygpjY{font-family:Inter,sans-serif!important}.genius-sdk__Highchart-module__highcharts-title___vYLWj{font-size:16px!important;font-weight:600!important;color:#9aa0a6!important}.genius-sdk__Highchart-module__highcharts-legend-item___QKt2l text{color:#5f6368!important;font-weight:500!important}.genius-sdk__Highchart-module__highcharts-axis-labels___0y1KO text{color:#9aa0a6!important}.genius-sdk__Highchart-module__highcharts-yaxis-labels___ZcIXe text{color:#9aa0a6!important}.genius-sdk__Highchart-module__highcharts-grid-line___gITcn{stroke:#e0e0e0!important}.genius-sdk__Highchart-module__highcharts-point___5Wqsl{stroke-width:2px!important}.genius-sdk__Highchart-module__highcharts-plot-background___XvssF{fill:#fff!important}.genius-sdk__Highchart-module__custom-legend___8txpT{background:#fff;border-radius:.5rem;box-shadow:0 2px 8px #0000001a;padding:1rem;margin:.5rem 0}.genius-sdk__Highchart-module__custom-legend-item___nUPlX{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;cursor:pointer;transition:all .2s ease}.genius-sdk__Highchart-module__custom-legend-item___nUPlX:hover{background:#007bff0d;border-radius:.25rem}.genius-sdk__Highchart-module__custom-legend-bullet___3hLh2{width:12px;height:12px;border-radius:2px;flex-shrink:0}.genius-sdk__Highchart-module__custom-legend-text___Ja4cM{flex:1;font-size:.875rem;color:#374151;font-weight:500}.genius-sdk__Highchart-module__custom-legend-value___sMiwT{font-size:.75rem;color:#6b7280;font-weight:600}@media (max-width: 640px){.genius-sdk__Highchart-module__highchart-wrapper___sM-hD.genius-sdk__Highchart-module__flex-row___qsVq8{flex-direction:column}.genius-sdk__Highchart-module__custom-legend___8txpT{margin:.5rem 0 0}.genius-sdk__Highchart-module__custom-legend-item___nUPlX{padding:.5rem .25rem}.genius-sdk__Highchart-module__custom-legend-text___Ja4cM{font-size:.8rem}}.genius-sdk__Highchart-module__highchart-loading___XW7h3{position:relative;min-height:200px;display:flex;align-items:center;justify-content:center}.genius-sdk__Highchart-module__highchart-loading___XW7h3:after{content:"";width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:genius-sdk__Highchart-module__spin___H-wRz 1s linear infinite}@keyframes genius-sdk__Highchart-module__spin___H-wRz{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--modal-width-collapsed: 440px;--modal-height-collapsed: 680px;--modal-width-xl: 887px;--modal-height-xl: 90vh;--modal-width-lg: 796px;--modal-height-lg: 90vh;--modal-width-md-lg: 720px;--modal-height-md-lg: 90vh;--modal-width-md: 720px;--modal-height-md: 90vh;--modal-width-sm: 100%;--modal-height-sm: 90vh;--modal-max-width-sm: 720px;--modal-width-xs: 100%;--modal-height-xs: 100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-backdrop___1dyxh{position:fixed;top:0;left:0;right:0;bottom:0;background:#0003;z-index:9998;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-backdrop___1dyxh.genius-sdk__GeniusChatbotDashboard-module__visible___ojnlM{opacity:.5;background:#77777780;visibility:visible}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW{position:fixed;bottom:20px;right:20px;width:var(--modal-width-collapsed);height:var(--modal-height-collapsed);background:#fff;border-radius:16px;border:1px solid #d9d9d9;display:flex;flex-direction:column;font-family:Inter,sans-serif;box-shadow:0 1px 8px -1px #0000000a;overflow:hidden;z-index:9999;transition:all .3s ease;touch-action:pan-y}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-xl);height:var(--modal-height-xl)}@media (min-width: 1401px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-xl);height:var(--modal-height-xl)}}@media (min-width: 1201px) and (max-width: 1400px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-lg);height:var(--modal-height-lg)}}@media (min-width: 1025px) and (max-width: 1200px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-md-lg);height:var(--modal-height-md-lg)}}@media (min-width: 921px) and (max-width: 1024px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-md);height:var(--modal-height-md)}}@media (max-width: 1400px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH{height:100px!important;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1{max-height:32px;font-size:14px;line-height:20px}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-top-bar___3z76Q{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;border-bottom:1px solid #ededed;background:#fff;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-left___22uJz{display:flex;gap:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-right___C5UjC{display:flex;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI.genius-sdk__GeniusChatbotDashboard-module__with-text___skVCO{gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-back-text___Od1bW{font-size:14px;font-weight:500;color:#383838}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34{flex:1;display:flex;flex-direction:column;align-items:center;position:relative;overflow:hidden;background:#fff;padding-top:80px;min-height:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq):after{content:"";position:absolute;bottom:0;margin-right:8px;left:0;right:0;height:60px;padding-right:12px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(2px);pointer-events:none;z-index:5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq)){justify-content:center;padding-top:80px;padding-bottom:120px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-branding___7PzdS{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:24px;padding-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo-container___zHKb3{display:flex;flex-direction:column;gap:20px;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo___oWWc4{width:42px;height:42px;border-radius:29.781px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 10.993px 3.664px #e9e7ff,0 0 2.644px #fff6 inset;display:flex;align-items:center;justify-content:center;padding:11.84px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo___oWWc4 svg{width:18.32px;height:18.32px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M{text-align:center;max-width:642px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M h2{font-weight:600;font-size:22px;line-height:35.2px;color:#2b2b2b;margin:0 0 4px;letter-spacing:-.44px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M p{font-weight:500;font-size:22px;line-height:35.2px;color:#5f5f5f;margin:0;letter-spacing:-.44px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{display:flex;gap:8px;justify-content:center;width:100%;padding:0;margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq)) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{position:relative;top:auto;left:auto;right:auto;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a{display:flex;padding:8px 12px;align-items:center;gap:8px;border-radius:12px;border:1px solid var(--Color-Gray-300, #EDEDED);background:var(--Color-Gray-0, #FFF);color:var(--Color-Gray-1600, #454545);text-align:center;font-family:Inter;font-size:12px;font-style:normal;font-weight:600;line-height:20px;cursor:pointer;transition:all .2s;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{display:flex;flex-direction:column;gap:10px;margin-left:auto;margin-right:auto;margin-bottom:20px;bottom:auto;left:auto;right:auto;width:400px;max-width:400px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq)) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{position:relative;bottom:auto;left:auto;right:auto;width:599px;max-width:599px;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH{background:#fff;height:124px;border:1px solid #ededed;border-radius:20px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 1px 8px -1px #0000000a;box-sizing:border-box;width:100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1{width:100%;border:none;outline:none;font-size:16px;line-height:24px;color:#1c1c1c;background:#fff;background-color:#fff;font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1;max-height:48px;align-self:flex-start;padding-top:0;padding-left:0;text-align:left;resize:none;overflow-y:auto}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::placeholder{color:#868686;text-align:left}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1:focus{background:#fff;background-color:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1:active{background:#fff;background-color:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar{width:4px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar-thumb{background:#e1e1e1;border-radius:2px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar-thumb:hover{background:#d0d0d0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-actions___YK8kC{display:flex;justify-content:end;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc{background:#fff;border:1px solid #ededed;border-radius:28.8px;padding:9.6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc svg{width:16.8px;height:16.8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-container___B-AOf{display:flex;gap:6px;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0{background:#fff;border:1px solid #ededed;border-radius:28.8px;padding:9.6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0:disabled:hover{background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0 svg{width:16.8px;height:16.8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm{background:#1b85ff;border:none;border-radius:27.83px;padding:9.89px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm:hover{opacity:.8}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm:disabled:hover{opacity:.5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm svg{width:16.21px;height:16.21px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg{display:flex;padding:9.895px;justify-content:center;align-items:center;gap:7.421px;border-radius:27.829px;background:#2e2e2e}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg:hover{background:#2e2e2e}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg:disabled:hover{background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu{background:#52c41a;border:none;border-radius:27.83px;padding:9.89px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu:hover{opacity:.8}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu:disabled:hover{opacity:.5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-retry-container___yxRGt{display:flex;gap:6px;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO{position:absolute;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:6px;font-weight:500;font-size:12px;line-height:20px;color:#939393;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO svg{width:18px;height:18px;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq{flex:1;width:100%;overflow-y:auto;overflow-x:hidden;padding:24px 32px 180px;position:relative;min-height:0;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar{width:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar-thumb:hover{background:#9ca3af}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-messages-container___8m6PY{display:flex;flex-direction:column;width:100%;min-height:min-content}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-scroll-button___YMYFi{background:#fff;border:1px solid #e1e5e9;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#6b7280;z-index:10;align-self:center;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-scroll-button___YMYFi:hover{border:1px solid #e1e5e9}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW{display:flex;width:100%;position:relative;margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__user___5X16B{justify-content:flex-end}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__user___5X16B .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg{background:#f6f6f6;border-radius:25px 25px 12px;padding:16px 20px;max-width:567px;margin-bottom:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__user___5X16B .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-size:16px;line-height:24px;color:#2b2b2b;font-weight:400;font-family:Inter,sans-serif;letter-spacing:-.16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b{justify-content:flex-start;align-items:flex-start;flex-direction:column;position:relative;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk){flex-direction:row;align-items:center;margin-bottom:40px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s)){margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s{border-radius:17.018px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 6.282px 2.094px #e9e7ff,inset 0 0 1.511px #fff6;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:6.77px;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s{margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s svg{width:10.47px;height:10.47px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg{width:100%;display:flex;flex-direction:column;gap:16px;margin-bottom:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-size:16px;line-height:175%;color:#1e1e1e;font-weight:400}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk{display:flex;align-items:center;font-size:14px;color:#2b2b2b;margin-left:8px}@keyframes genius-sdk__GeniusChatbotDashboard-module__ellipsis___kKDif{to{width:1.25em}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk:after{content:"...";overflow:hidden;display:inline-block;vertical-align:bottom;animation:genius-sdk__GeniusChatbotDashboard-module__ellipsis___kKDif 1.5s infinite;width:0px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-family:Inter,sans-serif;line-height:20px;margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 code{color:inherit!important;background-color:inherit;padding:inherit;border-radius:inherit;font-family:inherit;font-size:inherit}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol{margin:.5em 0;padding-top:16px;padding-left:1.5em;list-style-position:inside}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul{list-style-type:disc}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol{list-style-type:decimal}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 li{padding-left:.5em;text-indent:-1.5em;margin:.25em 0 .25em 1.5em}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul ul,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol ol,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul ol,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol ul{margin-top:.25em;margin-bottom:.25em}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-branding___7PzdS,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{display:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq){padding-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{position:absolute;bottom:0;left:16px;right:16px;width:auto;max-width:none;padding:0;background:#ffffff03;z-index:10}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1{background:#fcfcfc;border-radius:36px;width:fit-content;height:fit-content;position:relative;margin:0 auto}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ{border-radius:36px;border:1px solid #e1e1e1;box-shadow:0 12px 32px 6px #0000000f,0 -2px 8px -1px #0000000a;padding:12px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:fit-content;height:fit-content;box-sizing:border-box;position:relative}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR{background:#fff;border:1px solid #e1e1e1;border-radius:35.2px;padding:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #0000000f;transition:all .2s;flex-shrink:0;min-height:48px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR svg{width:24px;height:24px;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-controls___P235l{display:flex;gap:8px;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR.genius-sdk__GeniusChatbotDashboard-module__voice-active___qB2ym{gap:8px;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ){padding:0 200px;height:114px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1{width:fit-content;height:auto;margin:0 auto}@media (min-width: 769px) and (max-width: 920px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW{width:var(--modal-width-collapsed);height:var(--modal-height-collapsed);bottom:20px;right:20px;left:auto;transform:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-sm);max-width:var(--modal-max-width-sm);height:var(--modal-height-sm);bottom:20px;right:20px;left:auto;transform:none}}@media (max-width: 768px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW{width:var(--modal-width-xs);height:var(--modal-height-xs);bottom:0;left:0;right:0;border-radius:0;max-width:none;transform:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-xs);height:var(--modal-height-xs)}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{left:20px;right:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{flex-wrap:wrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq{padding:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1{max-width:100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ){padding:0 20px}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-overlay___zDkbs{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;z-index:10;display:flex;flex-direction:column;touch-action:pan-y}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-container___ecQs7{flex:1;display:flex;flex-direction:column;background:#fff;min-height:0;overflow:hidden}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header___zjLS-{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;border-bottom:1px solid #ededed;background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header-left___mWOQO{display:flex;align-items:center;gap:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header___zjLS- h2{color:var(--Color-Gray-1800, #2B2B2B);font-feature-settings:"liga" off,"clig" off;font-family:Inter;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-actions___lqL15{display:flex;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4{flex:1;overflow-y:auto;overflow-x:hidden;padding:20px;min-height:0;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar{width:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar-thumb:hover{background:#9ca3af}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl{padding:16px 14px;cursor:pointer;transition:background .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:hover{background:#f9f9f9;border-radius:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-content___feueq{display:flex;flex-direction:column;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-title___YJNj8{font-size:16px;font-weight:500;line-height:24px;color:#2b2b2b}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-date___dlGyR{font-size:14px;font-weight:400;line-height:20px;color:#868686}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-card___v4WS2{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;width:200px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-title___yod6C{font-size:14px;color:#6b7280;margin-bottom:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-value___Hyo-h{font-size:24px;font-weight:600;color:#111827}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-container___FxxTR{width:100%;overflow:hidden;margin-bottom:0;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd{width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.1) transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd::-webkit-scrollbar{height:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:3px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table___wpMRb{width:100%;border-collapse:collapse;background-color:#fff;min-width:600px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head___rdA-0{background-color:#f6f6f6;border-bottom:1px solid #e5e7eb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-row___VpPSu{height:48px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-cell___8eVeo{padding:12px 16px;text-align:left;font-weight:600;font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;white-space:nowrap;border-bottom:1px solid #e5e7eb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-content___CwrnG{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-body___bElU6{background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1{border-bottom:1px solid #f3f4f6;transition:background-color .15s ease;cursor:pointer}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1:hover{background-color:#f9fafb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1:last-child{border-bottom:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell___7wz17{padding:16px;font-size:14px;line-height:20px;color:#111827}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell-content___5Wdi8{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination___Saw-v{display:flex;justify-content:space-between;align-items:center;padding:16px;border-top:1px solid #e5e7eb;background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-info___G6snm{font-size:14px;color:#6b7280;font-weight:500}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8{display:flex;gap:8px;color:#6b7280}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8 button{background:#fff;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s;color:#6b7280;font-size:14px;font-weight:500;min-height:36px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8 button:hover:not(:disabled){background:#f3f4f6;border-color:#d1d5db}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8 button:disabled{opacity:.5;cursor:not-allowed;background:#f9fafb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8{min-width:32px;height:32px;padding:4px 10px;background:#fff;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8.genius-sdk__GeniusChatbotDashboard-module__active___odK6T{background:#e8f3ff;color:#9333ea;border:1px solid #E8F3FF}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-dots___lYvds{display:inline-flex;align-items:center;justify-content:center;color:#5f6368;padding:0 8px;font-size:14px;font-weight:500;-webkit-user-select:none;user-select:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-chart-container___JDX-b{width:100%;min-height:300px;margin-bottom:0;display:block;position:relative}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-wrapper___70ycH{display:block;width:fit-content;margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper-container___plSHR{display:block;width:100%;margin-bottom:0;position:relative}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-top-bar___3z76Q{padding:16px 20px 12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34{padding:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M h2{font-size:18px;line-height:28px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M p{font-size:16px;line-height:24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{top:auto;flex-wrap:wrap;padding:0 20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a{font-size:11px;padding:6px 10px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{bottom:auto;left:auto;right:auto;width:400px;max-width:400px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO{bottom:16px;font-size:11px;padding:0 20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq{padding:16px 16px 120px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-messages-container___8m6PY{gap:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-size:14px;line-height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{position:absolute;bottom:0;left:16px;right:16px;width:auto;max-width:none;padding:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-container___FxxTR{border-radius:6px;margin-bottom:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table___wpMRb{min-width:400px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-cell___8eVeo{padding:8px 12px;font-size:11px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell___7wz17{padding:10px 12px;font-size:13px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination___Saw-v{padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-info___G6snm{font-size:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8{min-width:28px;height:28px;font-size:12px;padding:0 8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8{gap:4px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat___LF3B2{padding:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat___LF3B2 h3{font-size:32px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-chart-container___JDX-b{min-height:250px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:36px;color:#5f5f5f;padding:0;display:block}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF p{margin:12px 0;line-height:36px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF br{display:block;content:"";margin:12px 0;height:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF br+*{margin-top:10px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF div{line-height:24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF div+div{margin-top:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF>*:first-child{margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF>*:last-child{margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF span,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-value-pill___JXBgS{display:inline-block;background-color:#f3f4f6;color:#797979;padding:6px;margin-left:2px;margin-right:2px;border-radius:4px;font-size:12px;font-weight:500;line-height:120%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;vertical-align:middle;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-loading___GoUb2,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-empty___yZcdH{padding:20px;text-align:center;color:#666;font-size:14px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-loading___GoUb2{display:flex;align-items:center;justify-content:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-empty___yZcdH{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl{position:relative;padding:14px 16px;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:space-between}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:hover{background-color:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:last-child{border-bottom:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-content___feueq{flex:1;min-width:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-title___YJNj8{font-size:14px;font-weight:500;color:#333;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-date___dlGyR{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq{background:none;border:none;padding:4px;cursor:pointer;opacity:0;transition:opacity .2s ease;color:#999;margin-left:8px;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:hover .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq{opacity:1}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq:hover{color:#f44}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP{height:56px;padding:8px 8px 8px 16px;display:flex;flex-direction:row;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1.genius-sdk__GeniusChatbotDashboard-module__single-line-input___KZ0ag{min-height:auto;max-height:none;height:40px;line-height:40px;padding:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-actions___YK8kC{flex-direction:row;align-items:center;gap:8px;margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-container___B-AOf{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg{width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content-wrapper___xUicT{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button-inline___ynxrN{padding:8px;border:none;border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button-inline___ynxrN svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg{display:flex;flex-direction:column;align-items:flex-start}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-action-buttons___bHBgd{display:flex;align-items:center;margin-top:4px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm{padding:8px 8px 8px 0;border:none;border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54{padding:8px;border:none;border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54 svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-overlay___DDtOF{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;z-index:10;display:flex;flex-direction:column}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-container___-v-cr{flex:1;display:flex;flex-direction:column;background:#fff;font-family:Inter,sans-serif}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-header___ePdx4{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;border-bottom:1px solid #ededed;background:#fff;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-left___5weo7{display:flex;gap:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-right___A-hiJ{display:flex;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-body___vGLbY{flex:1;overflow-y:auto;display:flex;justify-content:center;align-items:flex-start;padding:32px 24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-content___s2-PA{max-width:500px;width:100%;display:flex;flex-direction:column;gap:24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon___QOTA1{width:32px;height:32px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-title___ttd2-{color:#454545;font-size:20px;font-weight:600;margin:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-options___sTDuz{display:flex;flex-direction:column;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5{padding:10px 16px;border:1px solid #E1E1E1;border-radius:8px;background:#fff;color:#797979;font-size:14px;font-weight:500;cursor:pointer;text-align:left;transition:all .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5:hover{background:#f5f5f5;border-color:#d1d5db}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5.genius-sdk__GeniusChatbotDashboard-module__selected___rX0Dk{border-color:#1b85ff;color:#1b85ff;background:#f0f7ff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea-container___7V-Y8{display:flex;flex-direction:column;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-label___CCyHp{color:#525252;font-size:14px;font-weight:500;margin:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA{width:100%;min-height:120px;padding:14px;border:1px solid #E1E1E1;border-radius:8px;background:#fff;color:#111;font-family:Inter,sans-serif;font-size:14px;font-weight:500;resize:vertical;transition:all .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA:focus{outline:none;border-color:#1b85ff;box-shadow:0 0 0 3px #1b85ff1a}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA::placeholder{color:#999}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-error___TC-hH{color:#dc2626;font-size:12px;margin:4px 0 0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM{width:120px;height:40px;padding:8px 16px;background:#1b85ff;color:#fff;border:none;border-radius:6px;font-family:Inter,sans-serif;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM:hover{background:#1573e6;transform:translateY(-1px);box-shadow:0 2px 8px #1b85ff4d}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM:active{transform:translateY(0);box-shadow:0 1px 4px #1b85ff33}@media (max-width: 768px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-header___ePdx4{padding:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-body___vGLbY{padding:20px 16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-title___ttd2-{font-size:18px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5{font-size:13px;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA{min-height:100px;font-size:13px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM{width:100px;height:36px;font-size:13px}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{width:100%}.genius-sdk__SuccessRateComparison-module__rca-box___RAENl{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;border-radius:.75rem;border-width:1px;border-style:solid;border-color:#e1e1e1;background-color:#fcfcfc;width:100%;padding:1.25rem;gap:1rem}.genius-sdk__SuccessRateComparison-module__rca-box-text___q8twB{color:var(--jp-2-light-gray-1500);font-family:Inter,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem;font-feature-settings:"liga" off}.genius-sdk__SuccessRateComparison-module__rca-box-buttons___afFSd{display:flex;gap:12px}.genius-sdk__SuccessRateComparison-module__rca-box-btn___R6e-B{padding:8px 24px;border-radius:6px;font-size:14px;font-weight:600;border:none;cursor:pointer}.genius-sdk__SuccessRateComparison-module__rca-box-btn-primary___kDURb{background:#6767f6;color:#fff}.genius-sdk__SuccessRateComparison-module__rca-box-btn-primary___kDURb:disabled{background:#b2dfdb;color:#fff;cursor:not-allowed}.genius-sdk__SuccessRateComparison-module__rca-box-btn-secondary___5zMpR{background:#fff;color:#008242;border:1px solid #e0e0e0}.genius-sdk__SuccessRateComparison-module__rca-box-btn-secondary___5zMpR:disabled{color:#bdbdbd;border-color:#e0e0e0;cursor:not-allowed}.genius-sdk__SuccessRateComparison-module__rca-box-support___QUmJe{color:#424242;font-family:Inter,sans-serif;font-size:16px;font-weight:700;margin-top:12px}.genius-sdk__SuccessRateComparison-module__rca-box-support-link___Y1z02{color:#1976d2;text-decoration:underline}.genius-sdk__SuccessRateComparison-module__rca-box-status___GGBgz{font-family:Inter,sans-serif;font-size:14px;font-weight:500;margin-top:12px}.genius-sdk__SuccessRateComparison-module__rca-box-status-success___X-CHD{color:#008242}.genius-sdk__SuccessRateComparison-module__rca-box-status-error___YOsai{color:#d32f2f}.genius-sdk__SuccessRateComparison-module__rca-box-status-processing___vwB4x{color:#757575}.genius-sdk__SimpleChat-module__simple-chat___8hiCW{height:100%;display:flex;flex-direction:column;background:#fff;position:relative}.genius-sdk__SimpleChat-module__welcome-container___NYmMP{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:60px 16px 100px;width:100%;max-width:100%;overflow-x:hidden}.genius-sdk__SimpleChat-module__welcome-header___F6yjX{text-align:center;margin-bottom:40px;display:flex;flex-direction:column;align-items:center;gap:16px}.genius-sdk__SimpleChat-module__welcome-title___nULPu{font-size:18px;font-weight:600;color:#2b2b2b;margin:0 0 8px;display:inline;line-height:1.6}.genius-sdk__SimpleChat-module__sparkle-icon___UeoaE{width:60px;height:60px;background:#5865f2;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 0 10.99px 3.66px #e9e7ff;position:relative}.genius-sdk__SimpleChat-module__wave-emoji___euNW9{font-size:32px;display:inline-block;animation:genius-sdk__SimpleChat-module__wave___c2Nl- .6s ease-in-out 2}@keyframes genius-sdk__SimpleChat-module__wave___c2Nl-{0%,to{transform:rotate(0)}25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}.genius-sdk__SimpleChat-module__welcome-subtitle___Mi863{font-size:14px;color:#5f5f5f;margin:0;font-weight:500;line-height:1.6;letter-spacing:-.36px}.genius-sdk__SimpleChat-module__option-cards___RU4Xe{display:flex;flex-direction:row;gap:12px;width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:4px 0 8px;justify-content:center}.genius-sdk__SimpleChat-module__option-cards___RU4Xe::-webkit-scrollbar{display:none}.genius-sdk__SimpleChat-module__option-card___uxVHc{background:#fff;border:1px solid #ededed;border-radius:14px;padding:10px 12px;cursor:pointer;transition:all .2s ease;position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;flex:0 0 200px;min-width:200px;gap:8px}.genius-sdk__SimpleChat-module__option-card___uxVHc:hover{transform:translateY(-2px);box-shadow:0 2px 12px #0000001a;border-color:#e0e0e0}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj{width:28px;height:28px;border-radius:24.72px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj.genius-sdk__SimpleChat-module__purple___OJIoJ{background:#8f49de;border:1.1px solid #6b30ab}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj.genius-sdk__SimpleChat-module__blue___i6H9v{background:#06aed4;border:1.1px solid #058baa}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj.genius-sdk__SimpleChat-module__red___eUlkU{background:#ef4444;border:1.1px solid #dc2626}.genius-sdk__SimpleChat-module__card-title___AZwKi{font-size:13px;font-weight:600;color:#454545;margin:0;line-height:18px;white-space:nowrap}.genius-sdk__SimpleChat-module__card-description___lprtn{font-size:12px;color:#5f5f5f;margin:0;line-height:16px;letter-spacing:-.12px}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj svg{width:12px;height:12px}.genius-sdk__SimpleChat-module__card-title___AZwKi+.genius-sdk__SimpleChat-module__card-description___lprtn{margin-top:1px}.genius-sdk__SimpleChat-module__messages-container___DInMa{flex:1;overflow-y:auto;padding:24px 24px 140px;display:flex;flex-direction:column;gap:16px}.genius-sdk__SimpleChat-module__messages-container___DInMa::-webkit-scrollbar{width:6px}.genius-sdk__SimpleChat-module__messages-container___DInMa::-webkit-scrollbar-track{background:#f9fafb}.genius-sdk__SimpleChat-module__messages-container___DInMa::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:3px}.genius-sdk__SimpleChat-module__message___mJ5zW{display:flex;align-items:flex-start;gap:12px;max-width:80%}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32{align-self:flex-end;justify-content:flex-end;margin-left:auto}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__bot___CI52h{align-self:flex-start}.genius-sdk__SimpleChat-module__bot-message-group___ZeXmk{width:100%}.genius-sdk__SimpleChat-module__bot-content-wrapper___GwC1Y{display:flex;flex-direction:column;gap:4px;max-width:80%}.genius-sdk__SimpleChat-module__message-icon___7RObu{width:32px;height:32px;border-radius:50%;background:#6366f1;display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:flex-start}.genius-sdk__SimpleChat-module__sparkle-icon___UeoaE img,.genius-sdk__SimpleChat-module__message-icon___7RObu img{filter:brightness(0) invert(1)}.genius-sdk__SimpleChat-module__message-bubble___adDU7{background:#f3f4f6;padding:12px 18px;border-radius:20px;font-size:15px;line-height:1.5;color:#111827;caret-color:transparent}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7{background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;color:#374151}.genius-sdk__SimpleChat-module__connecting-pill___GdNZ2{position:absolute;bottom:80px;left:50%;transform:translate(-50%);background:#6b7280;color:#fff;padding:10px 24px;border-radius:24px;font-size:14px;box-shadow:0 4px 12px #00000026;animation:genius-sdk__SimpleChat-module__fadeIn___aXSg- .3s ease}@keyframes genius-sdk__SimpleChat-module__fadeIn___aXSg-{0%{opacity:0;transform:translate(-50%) translateY(10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7.genius-sdk__SimpleChat-module__pending___FoZ0X{border:1px solid #6366f1!important;box-shadow:0 1px 3px #6366f11a,0 0 0 2px #6366f11a!important;animation:genius-sdk__SimpleChat-module__pulse-border___LdMpS 2s ease-in-out infinite!important;position:relative}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7.genius-sdk__SimpleChat-module__pending___FoZ0X:after{content:""!important;position:absolute;right:8px;top:50%;transform:translateY(-50%);width:6px;height:6px;background:#6366f1;border-radius:50%;animation:genius-sdk__SimpleChat-module__typing-pulse___7h8yP 1.5s ease-in-out infinite!important;display:block!important}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7:not(.genius-sdk__SimpleChat-module__pending___FoZ0X){animation:none!important;border:1px solid #e5e7eb!important;box-shadow:0 1px 3px #0000000d!important}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7:not(.genius-sdk__SimpleChat-module__pending___FoZ0X):after{display:none!important;animation:none!important;content:none!important}@keyframes genius-sdk__SimpleChat-module__pulse-border___LdMpS{0%,to{box-shadow:0 1px 3px #6366f11a,0 0 0 2px #6366f11a;border-color:#6366f1}50%{box-shadow:0 1px 3px #6366f133,0 0 0 2px #6366f133;border-color:#4f46e5}}@keyframes genius-sdk__SimpleChat-module__typing-pulse___7h8yP{0%,to{opacity:.3;transform:translateY(-50%) scale(.8)}50%{opacity:1;transform:translateY(-50%) scale(1.2)}}@media (max-width: 640px){.genius-sdk__SimpleChat-module__welcome-container___NYmMP{padding:40px 20px 80px}.genius-sdk__SimpleChat-module__welcome-title___nULPu{font-size:18px}.genius-sdk__SimpleChat-module__welcome-subtitle___Mi863{font-size:14px}.genius-sdk__SimpleChat-module__option-cards___RU4Xe{gap:10px;justify-content:flex-start}.genius-sdk__SimpleChat-module__option-card___uxVHc{flex:0 0 180px;min-width:180px}.genius-sdk__SimpleChat-module__messages-container___DInMa{padding:20px 20px 120px}.genius-sdk__SimpleChat-module__message___mJ5zW{max-width:90%}}@media (max-width: 480px){.genius-sdk__SimpleChat-module__welcome-container___NYmMP{padding:32px 16px 75px}.genius-sdk__SimpleChat-module__welcome-title___nULPu{font-size:16px}.genius-sdk__SimpleChat-module__welcome-subtitle___Mi863{font-size:13px}.genius-sdk__SimpleChat-module__option-cards___RU4Xe{gap:8px;justify-content:flex-start}.genius-sdk__SimpleChat-module__option-card___uxVHc{padding:10px;flex:0 0 170px;min-width:170px}.genius-sdk__SimpleChat-module__card-title___AZwKi{font-size:13px}.genius-sdk__SimpleChat-module__card-description___lprtn{font-size:11px}.genius-sdk__SimpleChat-module__messages-container___DInMa{padding:16px 16px 110px;gap:12px}.genius-sdk__SimpleChat-module__message-bubble___adDU7{font-size:14px;padding:10px 16px}}.genius-sdk__SimpleChat-module__streaming-cursor___4zqB6{display:inline-block;width:8px;height:8px;background-color:#8b5cf6;margin-left:4px;border-radius:50%;animation:genius-sdk__SimpleChat-module__pulse___VzuBS 1.5s infinite;vertical-align:middle}@keyframes genius-sdk__SimpleChat-module__pulse___VzuBS{0%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.genius-sdk__SimpleChat-module__spoken-text___Sa5q0{color:#111827;font-weight:500;transition:all .3s ease}.genius-sdk__SimpleChat-module__unspoken-text___5YvDS{color:#9ca3af;font-weight:400;transition:all .3s ease}.genius-sdk__SimpleChat-module__pending-message___bJptQ{display:inline-block;padding:4px 0}.genius-sdk__SimpleChat-module__loading-dots___m46tG{display:inline-flex;gap:4px;align-items:center}.genius-sdk__SimpleChat-module__loading-dots___m46tG span{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#0000004d;animation:genius-sdk__SimpleChat-module__loading-pulse___OOiCK 1.4s ease-in-out infinite}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__bot___CI52h .genius-sdk__SimpleChat-module__loading-dots___m46tG span{background-color:#8b5cf666}.genius-sdk__SimpleChat-module__loading-dots___m46tG span:nth-child(1){animation-delay:-.32s}.genius-sdk__SimpleChat-module__loading-dots___m46tG span:nth-child(2){animation-delay:-.16s}@keyframes genius-sdk__SimpleChat-module__loading-pulse___OOiCK{0%,80%,to{opacity:.4;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.thinking-loader{display:inline-flex;flex-direction:column;max-width:400px;margin-top:6px;margin-bottom:8px}.thinking-header{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.thinking-main{display:flex;align-items:center;gap:8px}.thinking-dots{display:inline-flex;gap:4px}.thinking-dots span{width:4px;height:4px;background-color:#3b82f6;border-radius:50%;animation:thinking-pulse 1.4s ease-in-out infinite both}.thinking-dots span:nth-child(1){animation-delay:-.32s}.thinking-dots span:nth-child(2){animation-delay:-.16s}@keyframes thinking-pulse{0%,80%,to{opacity:.3;transform:scale(1)}40%{opacity:1;transform:scale(1.2)}}.thinking-text{color:#6b7280;font-size:14px;font-weight:400}.chevron{transition:transform .2s ease;color:#6b7280;flex-shrink:0}.chevron.expanded{transform:rotate(180deg)}.tool-calls-dropdown{margin-top:8px;padding-left:20px;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.tool-call-item{padding:8px 0}.tool-call-header-item{display:flex;align-items:center;gap:8px;margin-bottom:8px}.tool-status{display:flex;align-items:center;justify-content:center;width:16px;height:16px}.spinner{width:12px;height:12px;border:1.5px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.tool-name{color:#111827;font-size:13px;font-weight:500;flex:1}.tool-duration{color:#6b7280;font-size:12px}.tool-arguments,.tool-result{margin-left:24px;margin-bottom:8px}.section-label{color:#9ca3af;font-size:11px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.arguments-list{display:flex;flex-direction:column;gap:4px}.argument-item{display:flex;gap:6px;font-size:12px;line-height:1.4}.argument-key{color:#6b7280;min-width:fit-content}.argument-value{color:#374151;word-break:break-word;font-family:SF Mono,Monaco,Consolas,Courier New,monospace}.tool-result-text{color:#374151;font-size:12px;line-height:1.5}.tool-result-object{margin-top:4px}.tool-result-object pre{margin:0;padding:8px;background:#f3f4f6;border-radius:6px;font-size:11px;color:#374151;overflow-x:auto;max-height:200px;overflow-y:auto;font-family:SF Mono,Monaco,Consolas,Courier New,monospace}.tool-result-error{color:#dc2626;font-size:12px;padding:8px;background:#fef2f2;border-radius:6px;border:1px solid #fecaca}.error-label{font-weight:600}.tool-divider{height:1px;background:#e5e7eb;margin:12px 0}.genius-sdk__BottomBar-module__bottom-bar-container___BGRI7{position:sticky;bottom:40px;left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:350px;z-index:1000;display:flex;justify-content:center;align-items:center}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% + 40px);max-width:390px;filter:blur(20px);opacity:0;pointer-events:none;z-index:-1;animation:genius-sdk__BottomBar-module__fade-in___4ZShq .3s ease-out forwards}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n.genius-sdk__BottomBar-module__speaking___RmtZb{animation:genius-sdk__BottomBar-module__fade-in___4ZShq .3s ease-out forwards,genius-sdk__BottomBar-module__glow-pulse___yKqwn 1.5s ease-in-out infinite .3s}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n.genius-sdk__BottomBar-module__fade-out___wxLht{animation:genius-sdk__BottomBar-module__fade-out___wxLht .5s ease-out forwards}.genius-sdk__BottomBar-module__glow-bar___V3Qwb{width:100%;height:80px;border-radius:40px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#3b82f6);background-size:200% 100%;animation:genius-sdk__BottomBar-module__glow-shift___lJVTh 3s ease-in-out infinite}@keyframes genius-sdk__BottomBar-module__glow-shift___lJVTh{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes genius-sdk__BottomBar-module__fade-in___4ZShq{0%{opacity:0}to{opacity:.4}}@keyframes genius-sdk__BottomBar-module__fade-out___wxLht{0%{opacity:.4}to{opacity:0}}@keyframes genius-sdk__BottomBar-module__glow-pulse___yKqwn{0%,to{opacity:.3;transform:translate(-50%,-50%) scale(.95)}50%{opacity:.6;transform:translate(-50%,-50%) scale(1.05)}}.genius-sdk__BottomBar-module__bottom-bar___XaxVJ{position:relative;width:fit-content;height:72px;border-radius:36px;background:#fcfcfc;border:1px solid #E1E1E1;box-shadow:0 12px 32px 6px #0000000f,0 -2px 8px -1px #0000000a;display:flex;align-items:center;justify-content:center}.genius-sdk__BottomBar-module__bar-content___6OsEK{display:flex;align-items:center;gap:12px;padding:12px;width:100%;max-width:100%}.genius-sdk__BottomBar-module__bar-button___iPlFP{width:24px;height:24px;border-radius:0;background:transparent;border:none;box-shadow:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;padding:0;flex-shrink:0}.genius-sdk__BottomBar-module__attachment-container___0Kbir:hover,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS:hover,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:hover:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#f9f9f9;border-color:#d4d4d4}.genius-sdk__BottomBar-module__attachment-container___0Kbir:active,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS:active,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:active:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#f2f2f2}.genius-sdk__BottomBar-module__bar-button___iPlFP:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__BottomBar-module__x-button___LrIa0 svg{width:12px;height:12px}.genius-sdk__BottomBar-module__waveform-send-container___HvkWS .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:15px;height:16px}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:14px;height:19px}.genius-sdk__BottomBar-module__attachment-container___0Kbir{display:flex;align-items:center;background:#fff;border-radius:35.2px;border:1px solid #E1E1E1;box-shadow:0 1px 3px #0000000f;padding:12px;gap:14.667px}.genius-sdk__BottomBar-module__voice-container___APP75{display:flex;align-items:center;gap:8px}.genius-sdk__BottomBar-module__waveform-send-container___HvkWS{display:flex;align-items:center;background:#fff;border-radius:35.2px;border:1px solid #E1E1E1;box-shadow:0 1px 3px #0000000f;padding:12px;gap:8px}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN{display:flex;align-items:center;background:#fff;border-radius:35.2px;border:1px solid #E1E1E1;box-shadow:0 1px 3px #0000000f;padding:12px;gap:8px;cursor:pointer}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN.genius-sdk__BottomBar-module__disabled___FdMpB{cursor:not-allowed;opacity:.5}.genius-sdk__BottomBar-module__recording-indicator___FwtQv{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.genius-sdk__BottomBar-module__recording-indicator___FwtQv svg{width:24px;height:24px}.genius-sdk__BottomBar-module__mic-button___klzpP{position:relative}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:has(.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus){background:#fee2e2;border-color:#fecaca}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:has(.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus):hover:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#fecaca}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:has(.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus):active:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#fca5a5}.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus svg path{fill:#ef4444}.genius-sdk__BottomBar-module__mic-tooltip___yr63U{position:absolute;bottom:calc(100% + 8px);right:50%;transform:translate(50%);background:#111;color:#fff;padding:4px 8px;border-radius:4px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;opacity:0;visibility:hidden;transition:all .2s ease;pointer-events:none}.genius-sdk__BottomBar-module__mic-button___klzpP:hover .genius-sdk__BottomBar-module__mic-tooltip___yr63U{opacity:1;visibility:visible}.genius-sdk__BottomBar-module__tooltip-arrow___pgGVw{position:absolute;bottom:-4px;right:50%;transform:translate(50%);width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #111111}@media (max-width: 640px){.genius-sdk__BottomBar-module__bottom-bar-container___BGRI7{position:fixed;bottom:30px;width:calc(100% - 24px);max-width:320px}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n{width:calc(100% + 30px)}.genius-sdk__BottomBar-module__bottom-bar___XaxVJ{height:64px;width:fit-content}.genius-sdk__BottomBar-module__bar-content___6OsEK{padding:10px}.genius-sdk__BottomBar-module__bar-button___iPlFP{width:24px;height:24px}.genius-sdk__BottomBar-module__attachment-container___0Kbir,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN{padding:10px}.genius-sdk__BottomBar-module__glow-bar___V3Qwb{height:70px}}@media (max-width: 480px){.genius-sdk__BottomBar-module__bottom-bar-container___BGRI7{position:fixed;bottom:20px;width:calc(100% - 16px);max-width:300px}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n{width:calc(100% + 25px)}.genius-sdk__BottomBar-module__bottom-bar___XaxVJ{height:60px}.genius-sdk__BottomBar-module__bar-content___6OsEK{padding:8px;gap:8px}.genius-sdk__BottomBar-module__bar-button___iPlFP{width:24px;height:24px}.genius-sdk__BottomBar-module__attachment-container___0Kbir,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN{padding:8px;gap:6px}.genius-sdk__BottomBar-module__voice-container___APP75{gap:6px}.genius-sdk__BottomBar-module__x-button___LrIa0 svg{width:10px;height:10px}.genius-sdk__BottomBar-module__waveform-send-container___HvkWS .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:13px;height:14px}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:12px;height:17px}.genius-sdk__BottomBar-module__recording-indicator___FwtQv{width:20px;height:20px}.genius-sdk__BottomBar-module__recording-indicator___FwtQv svg{width:20px;height:20px}.genius-sdk__BottomBar-module__glow-bar___V3Qwb{height:65px}}*{box-sizing:border-box}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#fff;color:#111827;height:100vh;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.genius-sdk__App-module__app___ksh-Z{height:100vh;display:flex;flex-direction:column;background:#fff;position:relative}.genius-sdk__App-module__connection-manager___oCx--{display:none}.genius-sdk__App-module__simple-chat___Uql5N{z-index:1}.genius-sdk__App-module__bottom-controls___gY5P0{z-index:100}.genius-sdk__App-module__connecting-pill___ISw9M{z-index:99}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-wrapper___BtGde{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-container___AxurG{width:100%;height:100vh;height:100dvh;background:var(--genius-background);display:flex;flex-direction:column;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-header___LZvKZ{height:64px;background:var(--genius-white);border-bottom:1px solid var(--genius-grey-100);padding:16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-header-icons___nkbc4{display:flex;gap:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-body___Nljp1{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative;min-height:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-content___9CHzt{display:flex;gap:24px;flex-direction:column;overflow-y:auto;padding:0 0 160px;flex:1;min-height:0;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-content___9CHzt.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{padding-bottom:100px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome___i2CC0{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px 20px;min-height:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-branding___z6abT{display:flex;flex-direction:column;align-items:center;gap:16px;width:270px!important}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo-container___BMri1{display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:start;padding:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo___kNw8B{width:42.52px;height:42.52px;border-radius:29.7811px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 10.993px 3.664px #e9e7ff,0 0 2.644px #fff6 inset;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:11.8389px;gap:6.618px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo___kNw8B:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:0 0 2.64362px inset #fff6;border-radius:29.7811px;pointer-events:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo-icon___NOPGn{color:var(--genius-white);display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-text___Eov4M{text-align:center;min-width:100%;width:min-content;position:relative;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-title___FzkYR{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:600;color:#2b2b2b;line-height:160%;margin:0;letter-spacing:-.36px;font-style:normal;display:block}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-subtitle___P2N48{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#5f5f5f;font-size:18px;line-height:160%;margin:0;font-weight:500;letter-spacing:-.36px;font-style:normal;display:inline}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-section___hHmrd{position:fixed;bottom:0;left:0;right:0;background:#fff;border:1px solid #ededed;border-top-left-radius:20px;border-top-right-radius:20px;box-shadow:0 1px 8px -1px #0000000a;height:140px;display:flex;flex-direction:column;justify-content:flex-start;padding:16px;padding-bottom:env(safe-area-inset-bottom,16px);z-index:1000;transform:translateZ(0)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-container___wdwox{display:flex;flex-direction:column;gap:16px;background:transparent;border:none;padding:0;height:100%;justify-content:space-between}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-row___uNlWm{display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:24px;width:100%}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV{flex:1;border:none;outline:none;font-size:16px;font-weight:400;color:#454545;background:transparent;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:24px;letter-spacing:-.16px;padding:0;text-align:left;width:100%;height:24px;resize:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-section___hHmrd.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{height:80px;padding:12px 16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-container___wdwox.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{flex-direction:row;align-items:center;gap:12px;height:auto;justify-content:space-between}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV.genius-sdk__GeniusChatbotMobile-module__single-line-input___e6KVp{height:auto;min-height:24px;max-height:24px;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-row___uNlWm.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{padding-bottom:0;width:auto;flex:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV::placeholder{color:#868686;font-feature-settings:"liga" off,"clig" off;font-family:Inter;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:-.16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-actions___vzTQ4{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N{padding:9.6px;border-radius:28.8px;border:1px solid #EDEDED;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:#5f5f5f;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button-header___lBaEW{background:#fff;border-radius:28.8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:#5f5f5f;flex-shrink:0;padding:6px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N:active{transform:scale(.95)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N svg{width:16.8px;height:16.8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN{background:#1b85ff;border:none;border-radius:27.8293px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;color:var(--genius-white);padding:9.89487px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:hover{transform:scale(1.05);box-shadow:0 4px 16px #1b85ff52}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:active{transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:disabled:hover{transform:none;box-shadow:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN svg{width:16.21px;height:16.21px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b{display:flex;padding:9.895px;justify-content:center;align-items:center;gap:7.421px;border-radius:27.829px;background:#2e2e2e}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:hover{background:#2e2e2e;transform:scale(1.05)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:active{transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:disabled:hover{background:#fff;transform:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-messages___0BV99{display:flex;flex-direction:column;gap:16px;padding:24px 16px;flex:1}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy{display:flex;flex-direction:column;gap:8px;animation:genius-sdk__GeniusChatbotMobile-module__fadeIn___wwyEU .3s ease-out}@keyframes genius-sdk__GeniusChatbotMobile-module__fadeIn___wwyEU{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__user___PtOAo{align-items:flex-end}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh{align-items:flex-start}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{max-width:85%;padding:12px 16px;border-radius:16px;font-size:16px;line-height:24px;word-wrap:break-word}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__user___PtOAo .genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{background:var(--genius-primary-blue);color:var(--genius-white);border-bottom-right-radius:4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh .genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{background:var(--genius-white);color:var(--genius-text-primary);border:1px solid var(--genius-grey-100);border-bottom-left-radius:4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestions___8Su-Y{position:fixed;bottom:140px;left:0;right:0;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:0 12px 16px;scrollbar-width:none;-ms-overflow-style:none;background:transparent;flex-wrap:nowrap;scroll-behavior:smooth;z-index:999}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestions___8Su-Y.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{bottom:80px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestions___8Su-Y::-webkit-scrollbar{display:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1{background:#fff;border:1px solid #ededed;border-radius:12px;padding:8px 12px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12px;font-weight:600;color:#454545;cursor:pointer;white-space:nowrap;transition:all .2s;flex-shrink:0;line-height:20px;text-align:center;display:flex;align-items:center;gap:8px;box-sizing:border-box}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1:hover{background:#f5f5f5;border-color:#d0d0d0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1:active{background:#ededed;transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1 svg{width:16px;height:16px;color:currentColor;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading___812RY{display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--genius-white);border:1px solid var(--genius-grey-100);border-radius:16px 16px 16px 4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dots___9C82M{display:flex;gap:4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dot___kNaDD{width:8px;height:8px;background:var(--genius-grey-500);border-radius:50%;animation:genius-sdk__GeniusChatbotMobile-module__pulse___pyEhS 1.5s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dot___kNaDD:nth-child(2){animation-delay:.2s}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dot___kNaDD:nth-child(3){animation-delay:.4s}@keyframes genius-sdk__GeniusChatbotMobile-module__pulse___pyEhS{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:36px;color:#5f5f5f;padding:0;display:block}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A p{margin:12px 0;line-height:36px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A br{display:block;content:"";margin:12px 0;height:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A br+*{margin-top:10px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A div{line-height:24px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A div+div{margin-top:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A>*:first-child{margin-top:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A>*:last-child{margin-bottom:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-value-pill___UVZN2{display:inline-block;background-color:#f3f4f6;color:#797979;padding:6px;margin-left:2px;margin-right:2px;border-radius:4px;font-size:12px;font-weight:500;line-height:120%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;vertical-align:middle;white-space:nowrap}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-chart-container___SFGsK{width:100%;min-height:300px;margin:12px 0;background:var(--genius-white);border-radius:12px;padding:16px;box-shadow:0 2px 8px #00000014}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-single-stat-wrapper___AvedJ{margin:12px 0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-table-wrapper___UWzSR{width:100%;overflow-x:auto;margin:12px 0;border-radius:12px;background:var(--genius-white);box-shadow:0 2px 8px #00000014}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-overlay___hW74x{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--genius-white);z-index:10000;display:flex;flex-direction:column}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-container___FJKqB{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk{height:64px;background:var(--genius-white);border-bottom:1px solid var(--genius-grey-100);padding:16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header-left___9qSbt{display:flex;align-items:center;gap:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-back___--HRQ{background:none;border:none;padding:8px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-back___--HRQ:hover{background:var(--genius-grey-100)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-back___--HRQ svg{width:20px;height:20px;color:var(--genius-text-primary)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk h2{margin:0;font-size:18px;font-weight:600;color:var(--genius-text-primary)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-actions___iwfPD{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-action___Pd1mQ{background:none;border:none;padding:8px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-action___Pd1mQ:hover{background:var(--genius-grey-100)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-action___Pd1mQ svg{width:20px;height:20px;color:var(--genius-text-primary)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-list___qksvj{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-loading___FrgIf,.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-empty___p54tM{display:flex;align-items:center;justify-content:center;height:200px;color:var(--genius-text-secondary);font-size:14px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc{background:var(--genius-white);border:1px solid var(--genius-grey-100);border-radius:12px;padding:16px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:space-between;gap:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc:hover{border-color:var(--genius-primary-blue);box-shadow:0 2px 8px #1b85ff1a}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc:active{transform:translateY(1px)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-content___iOAR-{flex:1;min-width:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-title___iQMh9{font-size:14px;font-weight:500;color:var(--genius-text-primary);margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-date___uuhMZ{font-size:12px;color:var(--genius-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr{background:none;border:none;padding:8px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr:hover{background:#ef44441a}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr svg{width:16px;height:16px;color:var(--genius-grey-500)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr:hover svg{color:#ef4444}@media (max-width: 375px){.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk{padding:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk h2{font-size:16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-list___qksvj,.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc{padding:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-title___iQMh9{font-size:13px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-date___uuhMZ{font-size:11px}}@media (max-width: 375px){.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-title___FzkYR{font-size:24px;line-height:32px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-subtitle___P2N48{font-size:16px;line-height:24px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV{font-size:15px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{font-size:15px;padding:10px 14px}}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K{display:flex;width:100%;position:relative;margin-bottom:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__user___PtOAo{justify-content:flex-end}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__user___PtOAo .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-bubble___mtDtI{background:#f6f6f6;border-radius:25px 25px 12px;padding:16px 20px;max-width:85%}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__user___PtOAo .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-content___BCtMc{font-size:16px;line-height:24px;color:#2b2b2b;font-weight:400;font-family:Inter,sans-serif;letter-spacing:-.16px;margin:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh{justify-content:flex-start;align-items:flex-start;flex-direction:column;position:relative;margin-bottom:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh:has(.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-){flex-direction:row;align-items:center;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-assistant-icon___7QK3G{width:24px;height:24px;border-radius:17.018px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 6.282px 2.094px #e9e7ff,inset 0 0 1.511px #fff6;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:6.77px;margin-bottom:8px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh:has(.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-) .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-assistant-icon___7QK3G{margin-bottom:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-assistant-icon___7QK3G svg{width:10.47px;height:10.47px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-bubble___mtDtI{width:100%;display:flex;flex-direction:column;gap:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-content___BCtMc{font-size:16px;line-height:175%;color:#1e1e1e;font-weight:400;font-family:Inter,sans-serif;margin:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-{display:flex;align-items:center;font-size:14px;color:#2b2b2b;font-family:Inter,sans-serif}@keyframes genius-sdk__GeniusChatbotMobile-module__ellipsis___w22gP{to{width:1.25em}}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-:after{content:"...";overflow:hidden;display:inline-block;vertical-align:bottom;animation:genius-sdk__GeniusChatbotMobile-module__ellipsis___w22gP 1.5s infinite;width:0px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-action-buttons___GaJiS{display:flex;align-items:center;margin-top:8px;gap:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg{padding:8px 8px 8px 0;border:none;border-radius:6px;background:transparent!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg:hover:not(:disabled){background:transparent!important;opacity:.7}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV{padding:8px;border:none;border-radius:6px;background:transparent!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV:hover:not(:disabled){background:transparent!important;opacity:.7}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-retry-button-inline___E7tHQ{padding:8px;border:none;border-radius:6px;background:transparent!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-retry-button-inline___E7tHQ:hover{background:transparent!important;opacity:.7}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-retry-button-inline___E7tHQ svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-content-wrapper___x7mri{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-feedback-overlay___-z7Nq{position:relative;width:100%;height:100%;background:#fff;z-index:10;display:flex;flex-direction:column}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-close-voice-button___GW-6U{position:relative;background:#fff;border:1px solid #e1e1e1;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0000001a;transition:all .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-close-voice-button___GW-6U:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-close-voice-button___GW-6U:active{transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-voice-assistant-wrapper___F95Pz{width:100%;height:100%;display:flex;flex-direction:column;position:relative;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__voice-wave___lDwzB{width:12px;background:linear-gradient(180deg,#dbe2ef66,#dbe2efcc);border-radius:6px;animation:genius-sdk__GeniusChatbotMobile-module__voice-wave___lDwzB 1.2s ease-in-out infinite}@keyframes genius-sdk__GeniusChatbotMobile-module__voice-wave___lDwzB{0%,60%,to{transform:scaleY(.5);opacity:.4}30%{transform:scaleY(1);opacity:.8}}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar___nyyKk{width:11px;border-radius:10px;flex-shrink:0;background-color:#e8f3ff;transition:background-color .3s ease}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar___nyyKk.genius-sdk__GeniusChatbotMobile-module__active___ddjbF{background-color:#499dff}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-1___ZqSIE{height:23px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor1___6Plx6 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-2___S0vvy{height:75px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor2___8nxFR 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-3___Afm6f{height:55px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor3___HrXVE 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-4___PGea4{height:23px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor4___tuda- 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-5___9u-cU{height:75px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor5___W1XW7 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-6___pTE2R{height:19px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor6___iKFwp 1.8s ease-in-out infinite}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor1___6Plx6{0%,to{background-color:#499dff}16.66%,99.99%{background-color:#e8f3ff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor2___8nxFR{0%,16.66%,to{background-color:#e8f3ff}16.67%,33.33%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor3___HrXVE{0%,33.33%,to{background-color:#e8f3ff}33.34%,50%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor4___tuda-{0%,50%,to{background-color:#e8f3ff}50.01%,66.66%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor5___W1XW7{0%,66.66%,to{background-color:#e8f3ff}66.67%,83.33%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor6___iKFwp{0%,83.33%,to{background-color:#e8f3ff}83.34%,99.99%{background-color:#499dff}}:root{--genius-primary-blue: #1B85FF;--genius-grey-600: #8A8A8E;--genius-grey-500: #9C9C9F;--genius-grey-200: #E0E0E0;--genius-grey-100: #EDEDED;--genius-text-primary: #1c1c1c;--genius-text-secondary: #5f5f5f;--genius-white: #ffffff;--genius-background: #fcfcfc}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q{position:fixed;z-index:9999;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-right___1B1-1{bottom:20px;right:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-left___jW0dZ{bottom:20px;left:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__center___z23Ni{top:50%;left:50%;transform:translate(-50%,-50%)}.genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:440px;height:680px;border-radius:12px;background:var(--genius-white);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 0 0 1px #0000000d,0 8px 24px #0000001f;border:1px solid rgba(0,0,0,.05);transition:all .3s ease}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__expanded___egMCL .genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:50vw;max-width:900px;min-width:600px}.genius-sdk__GeniusChatbot-module__genius-chatbot-header___KYNml{height:48px;background:var(--genius-white);border-bottom:1px solid var(--genius-grey-100);padding:8px 16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-header-icons___eyLdP{display:flex;gap:12px}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon-button___nbVeQ{background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s;color:var(--genius-grey-600)}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon-button___nbVeQ:hover{background-color:#0000000d}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon___JlAuk{width:16px;height:16px;display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon___JlAuk svg{width:16px;height:16px}.genius-sdk__GeniusChatbot-module__genius-chatbot-body___-0tRl{flex:1;background:var(--genius-background);display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;padding:0 24px 24px;position:relative}.genius-sdk__GeniusChatbot-module__genius-chatbot-content___64G3h{display:flex;flex-direction:column;gap:16px;height:100%;justify-content:flex-end}.genius-sdk__GeniusChatbot-module__genius-chatbot-branding___pISkM{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:auto;margin-bottom:auto}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo-container___7Gxbj{display:flex;flex-direction:column;gap:16px;align-items:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo___bcUEi{width:40px;height:40px;border-radius:50%;background:radial-gradient(circle at center,#9747ff,#1b85ff);display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 4px 12px rgba(99,72,255,.28))}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo-icon___vSlku{width:12px;height:12px;color:var(--genius-white);display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo-icon___vSlku svg{width:12px;height:12px;fill:currentColor}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome___uZmtS{text-align:center;max-width:280px}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome-title___-tIN4{font-size:20px;font-weight:600;color:var(--genius-text-primary);line-height:26px;margin:0 0 4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome-emoji___zrXfE{margin-left:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome-subtitle___ipNy2{color:var(--genius-text-secondary);font-size:16px;line-height:24px;margin:0;font-weight:400}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px 0;scroll-behavior:smooth;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar{width:6px}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar-thumb:hover{background:#0000004d}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9{max-width:80%;padding:12px 16px;border-radius:16px;font-size:14px;line-height:1.5}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp{align-self:flex-end;background:var(--genius-primary-blue);color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__assistant___ZGPHW{align-self:flex-start;background:var(--genius-white);color:var(--genius-text-primary);border:1px solid #e3e3e3}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA{margin-bottom:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA p{margin:0 0 8px}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA p:last-child{margin-bottom:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA ul,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA ol{margin:8px 0;padding-left:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA li{margin:4px 0;word-wrap:break-word;overflow-wrap:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA code{background:#f5f5f5;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9em;color:#333;word-break:break-all;overflow-wrap:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA code{background:#fff3;color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre{background:#f5f5f5;padding:12px;border-radius:6px;overflow-x:auto;margin:8px 0;border:1px solid #e0e0e0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre{background:#ffffff1a;border:1px solid rgba(255,255,255,.2)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre code{background:none;padding:0;color:#333;display:block;white-space:pre;overflow-x:auto}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre code{color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA strong{font-weight:600}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA em{font-style:italic}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA blockquote{border-left:3px solid var(--genius-grey-200);padding-left:12px;margin:8px 0;color:var(--genius-text-secondary)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA blockquote{border-left-color:#ffffff80;color:#ffffffe6}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h1,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h2,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h3,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h4,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h5,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h6{margin:12px 0 8px;font-weight:600}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h1{font-size:1.3em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h2{font-size:1.2em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h3{font-size:1.1em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h4{font-size:1.05em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h5{font-size:1em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h6{font-size:.95em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA a{color:var(--genius-primary-blue);text-decoration:underline}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA a{color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA hr{border:none;border-top:1px solid var(--genius-grey-200);margin:12px 0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA hr{border-top-color:#ffffff4d}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0;border-radius:6px;border:1px solid var(--genius-grey-100)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA table{border-collapse:collapse;min-width:100%;margin:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA td{border:1px solid var(--genius-grey-200);padding:8px 12px;text-align:left;vertical-align:top;min-width:150px}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA td{white-space:normal;word-wrap:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th{white-space:nowrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th{background:#0000000d;font-weight:600;position:sticky;top:0;z-index:1}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th,.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA td{border-color:#ffffff4d}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th{background:#ffffff1a}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar{height:8px}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar-track{background:var(--genius-grey-100);border-radius:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar-thumb{background:var(--genius-grey-500);border-radius:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar-thumb:hover{background:var(--genius-grey-600)}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m{position:relative;background:linear-gradient(to right,#fff 30%,#fff0),linear-gradient(to right,#fff0,#fff 70%) 100% 0,radial-gradient(farthest-side at 0% 50%,rgba(0,0,0,.1),transparent),radial-gradient(farthest-side at 100% 50%,rgba(0,0,0,.1),transparent) 100% 0;background-repeat:no-repeat;background-size:40px 100%,40px 100%,14px 100%,14px 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources___FeMnB{margin-top:12px;padding-top:12px;border-top:1px solid var(--genius-grey-100)}button.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-header___faf7D{display:flex;align-items:center;gap:6px;color:var(--genius-grey-600);font-size:12px;font-weight:500;margin-bottom:8px;background:none;border:none;cursor:pointer;padding:0;width:100%;text-align:left;transition:color .2s ease}button.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-header___faf7D:hover{color:var(--genius-primary-blue)}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-header___faf7D svg{color:var(--genius-grey-500)}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-chevron___UbDbJ{margin-left:auto}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-list___R8Ido{display:flex;flex-direction:column;gap:6px;animation:genius-sdk__GeniusChatbot-module__slideIn___0VmGW .2s ease-out}@keyframes genius-sdk__GeniusChatbot-module__slideIn___0VmGW{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-item___lgwoi{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;background:#1b85ff0d;border-radius:6px;transition:background .2s ease}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-item___lgwoi:hover{background:#1b85ff1a}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-number___5MEOF{display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:var(--genius-primary-blue);color:var(--genius-white);border-radius:50%;font-size:10px;font-weight:600;flex-shrink:0}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:36px;color:#5f5f5f;padding:0;display:block}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN p{margin:12px 0;line-height:36px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN br{display:block;content:"";margin:12px 0;height:12px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN br+*{margin-top:10px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN div{line-height:24px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN div+div{margin-top:8px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN>*:first-child{margin-top:0}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN>*:last-child{margin-bottom:0}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN span,.genius-sdk__GeniusChatbot-module__genius-dashboard-value-pill___EH-fb{display:inline-block;background-color:#f3f4f6;color:#797979;padding:6px;margin-left:2px;margin-right:2px;border-radius:4px;font-size:12px;font-weight:500;line-height:120%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;vertical-align:middle;white-space:nowrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-content___8DpLR{flex:1;min-width:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-title___rmRJp{font-size:12px;font-weight:500;color:var(--genius-text-primary);line-height:1.3;word-break:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-uri___QZVuP{font-size:11px;color:var(--genius-grey-600);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-scroll-button___sHadA{position:absolute;bottom:180px;right:24px;width:36px;height:36px;background:var(--genius-white);border:1px solid var(--genius-grey-200);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0000001a;transition:all .2s ease;color:var(--genius-grey-600);z-index:10}.genius-sdk__GeniusChatbot-module__genius-chatbot-scroll-button___sHadA:hover{background:var(--genius-primary-blue);color:var(--genius-white);border-color:var(--genius-primary-blue);transform:translateY(-2px);box-shadow:0 4px 12px #1b85ff4d}.genius-sdk__GeniusChatbot-module__genius-chatbot-scroll-button___sHadA:active{transform:translateY(0)}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-section___qlp-I{display:flex;flex-direction:column;gap:24px}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestions___ewgwd{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestions___ewgwd::-webkit-scrollbar{display:none}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestion___Syi1o{background:var(--genius-white);border:1px solid var(--genius-grey-200);border-radius:20px;padding:8px 12px;font-size:14px;font-weight:500;color:var(--genius-text-primary);cursor:pointer;white-space:nowrap;transition:all .2s;flex-shrink:0;line-height:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestion___Syi1o:hover{background:#2f6bff14;border-color:var(--genius-grey-200)}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-container___U-16F{background:var(--genius-white);border:1.5px solid var(--genius-grey-200);border-radius:20px;transition:all .2s;position:relative;box-shadow:0 1px 8px -1px #0000000a}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-container___U-16F:focus-within{border-color:var(--genius-primary-blue)}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-content___5qw6w{display:flex;flex-direction:column;gap:12px;padding:16px}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-row___ZSuJF{display:flex;align-items:center;gap:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-actions___EilGU{display:flex;justify-content:flex-end}.genius-sdk__GeniusChatbot-module__genius-chatbot-input___xVIEY{flex:1;border:none;outline:none;font-size:15px;font-weight:500;color:var(--genius-text-primary);background:transparent;font-family:inherit;line-height:24px;letter-spacing:-.15px}.genius-sdk__GeniusChatbot-module__genius-chatbot-input___xVIEY::placeholder{color:#838383;font-weight:500}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;background:var(--genius-primary-blue);border:none;border-radius:50%;padding:0!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:hover{transform:scale(1.04);box-shadow:0 4px 12px #2f6bff52}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:active{transform:scale(.98)}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:focus{outline:2px solid var(--genius-primary-blue);outline-offset:2px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:focus-visible{outline:2px solid var(--genius-primary-blue);outline-offset:2px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD{width:18px;height:18px;color:var(--genius-white);display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg[viewBox="0 0 16 16"]{width:14.41px;height:14.41px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg[viewBox="0 0 18 18"]{width:18px;height:18px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg rect,.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg path{fill:currentColor}@media (max-width: 768px){.genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:100vw;height:100vh;max-width:440px;max-height:680px;border-radius:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__expanded___egMCL .genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:100vw;max-width:100vw;min-width:unset}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-right___1B1-1,.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-left___jW0dZ{bottom:0;right:0;left:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestions___ewgwd{flex-wrap:wrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-header-icons___eyLdP>button:first-child{display:none!important}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources___FeMnB{margin-top:10px;padding-top:10px}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-item___lgwoi{padding:5px 6px}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-title___rmRJp{font-size:11px}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-uri___QZVuP{font-size:10px}}@media (min-width: 768px) and (max-width: 1200px){.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__expanded___egMCL .genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:60vw}}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH{display:flex;flex-direction:row;align-items:center;gap:8px;padding:12px 14px;background:linear-gradient(163.417deg,#9747ff 41.482%,#1b85ff 116.12%);border:none;border-radius:27px;box-shadow:inset 0 0 2.39674px #fff6,0 4px 12px #6348ff47;cursor:pointer;transition:all .2s ease;z-index:9998;outline:none;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;pointer-events:auto}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:hover{transform:scale(1.05);box-shadow:inset 0 0 2.39674px #fff6,0 6px 16px #6348ff59}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:active{transform:scale(.98)}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:focus{outline:2px solid #1B85FF;outline-offset:2px}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:focus-visible{outline:2px solid #1B85FF;outline-offset:2px}.genius-sdk__GeniusToggle-module__genius-toggle-text___t-WaO{font-size:18px;font-weight:600;line-height:20px;color:#fff;letter-spacing:-.36px;white-space:nowrap}.genius-sdk__GeniusToggle-module__genius-toggle-logo___NwizJ{width:16px;height:16px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.genius-sdk__GeniusToggle-module__genius-toggle-logo___NwizJ svg{width:16px;height:16px}body:has(.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH):not(:has(.genius-sdk__GeniusToggle-module__genius-dashboard-container___LAShH)):not(:has(.genius-sdk__GeniusToggle-module__genius-chatbot-mobile-container___G-u6K)){overflow:auto!important;position:static!important;height:auto!important}@media (max-width: 768px){.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH{transform:translateZ(0);will-change:transform;contain:layout style paint}body{overflow:auto!important;-webkit-overflow-scrolling:touch!important;position:static!important}}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
1
|
+
(function(){"use strict";try{if(typeof document<"u"){var e=document.createElement("style");e.appendChild(document.createTextNode('@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap";@import"https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap";@import"https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:ital,wght@0,200..800;1,200..800&display=swap";.genius-sdk__VoiceCall-module__genius-voice-call-container___pMQPi{position:fixed;bottom:20px;right:20px;width:200px;height:64px;background:#f6f6f6;-webkit-backdrop-filter:blur(6px);backdrop-filter:blur(6px);border-radius:36px;box-shadow:0 0 0 1px #0000000d,0 8px 24px #0000001f;z-index:10000;animation:genius-sdk__VoiceCall-module__slideIn___09HIS .3s ease-out}@keyframes genius-sdk__VoiceCall-module__slideIn___09HIS{0%{transform:translateY(20px);opacity:0}to{transform:translateY(0);opacity:1}}.genius-sdk__VoiceCall-module__genius-voice-call-content___D6lvV{display:flex;align-items:center;height:100%;padding:0 12px}.genius-sdk__VoiceCall-module__genius-voice-call-buttons___-r2z6{display:flex;align-items:center;justify-content:center;gap:12px;width:100%;height:100%}.genius-sdk__VoiceCall-module__genius-voice-call-genius-icon___zXrKa{width:40px;height:40px;border-radius:50%;background:linear-gradient(140.43deg,#9747ff 41.482%,#1b85ff 116.12%);display:flex;align-items:center;justify-content:center;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-genius-icon-inner___ZNVcG{width:19.195px;height:19.195px;color:#fff;display:flex;align-items:center;justify-content:center}.genius-sdk__VoiceCall-module__genius-voice-call-genius-icon-inner___ZNVcG svg{width:100%;height:100%;fill:currentColor}.genius-sdk__VoiceCall-module__genius-voice-call-voice-container___Tp-nw{flex:1;display:flex;align-items:center;justify-content:center}.genius-sdk__VoiceCall-module__genius-voice-call-mic-button___t10z7{background:#fff;border:1px solid #e1e1e1;border-radius:35.2px;box-shadow:0 1px 3px #0000000f;display:flex;align-items:center;justify-content:center;gap:8px;padding:12px;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-mic-button___t10z7>svg{width:20px;height:20px;color:#5f5f5f;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96-{display:flex;align-items:center;justify-content:center;animation:genius-sdk__VoiceCall-module__pulse___ao-NY 1.5s ease-in-out infinite;flex-shrink:0}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- svg{width:20px;height:20px;color:#1b85ff}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect{animation:genius-sdk__VoiceCall-module__wave___W214g 1.2s ease-in-out infinite}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(1){animation-delay:0s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(2){animation-delay:.1s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(3){animation-delay:.2s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(4){animation-delay:.3s}.genius-sdk__VoiceCall-module__genius-voice-call-waveform___fQ96- rect:nth-child(5){animation-delay:.4s}@keyframes genius-sdk__VoiceCall-module__pulse___ao-NY{0%,to{opacity:.3}50%{opacity:1}}@keyframes genius-sdk__VoiceCall-module__wave___W214g{0%,to{transform:scaleY(.5)}50%{transform:scaleY(1)}}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC{width:44px;height:44px;background:#fff;border:1px solid #e1e1e1;border-radius:35.2px;box-shadow:0 1px 3px #0000000f;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;padding:0}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC:hover{background:#fee2e2;border-color:#fca5a5}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC:active{transform:scale(.95)}.genius-sdk__VoiceCall-module__genius-voice-call-end-button___hwnPC svg{width:20px;height:20px;color:#f04438}@media (max-width: 768px){.genius-sdk__VoiceCall-module__genius-voice-call-container___pMQPi{bottom:10px;right:10px;left:10px;width:auto;max-width:300px;margin:0 auto}}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD{border:1px solid #EDEDED!important;border-radius:.5rem;display:flex;flex-direction:column;gap:.75rem;position:relative}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-container___PF9Kl{background:#fff;border-radius:.25rem;box-shadow:0 1px 3px #0000001a}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-item___S61g8{transition:all .2s ease}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-item___S61g8:hover{transform:translateY(-1px);box-shadow:0 2px 4px #0000001a}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-bullet___iqmNl{flex-shrink:0;border-radius:.125rem;transition:all .2s ease}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt{border-collapse:collapse;width:100%}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt th{background:#f8f9fa;font-weight:600}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt td,.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt th{padding:.5rem;text-align:left;border-bottom:1px solid #e9ecef}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-table___sQOwt tr:hover{background:#007bff0d}@media (max-width: 768px){.genius-sdk__Highchart-module__highchart-wrapper___sM-hD{position:relative;margin-top:1.5rem}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-container___PF9Kl{padding:.5rem}.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-item___S61g8{padding:.5rem .25rem}}@media (min-width: 769px){.genius-sdk__Highchart-module__highchart-wrapper___sM-hD,.genius-sdk__Highchart-module__highchart-wrapper___sM-hD .genius-sdk__Highchart-module__legend-container___PF9Kl{padding:1rem}}.genius-sdk__Highchart-module__highcharts-container___ygpjY{font-family:Inter,sans-serif!important}.genius-sdk__Highchart-module__highcharts-title___vYLWj{font-size:16px!important;font-weight:600!important;color:#9aa0a6!important}.genius-sdk__Highchart-module__highcharts-legend-item___QKt2l text{color:#5f6368!important;font-weight:500!important}.genius-sdk__Highchart-module__highcharts-axis-labels___0y1KO text{color:#9aa0a6!important}.genius-sdk__Highchart-module__highcharts-yaxis-labels___ZcIXe text{color:#9aa0a6!important}.genius-sdk__Highchart-module__highcharts-grid-line___gITcn{stroke:#e0e0e0!important}.genius-sdk__Highchart-module__highcharts-point___5Wqsl{stroke-width:2px!important}.genius-sdk__Highchart-module__highcharts-plot-background___XvssF{fill:#fff!important}.genius-sdk__Highchart-module__custom-legend___8txpT{background:#fff;border-radius:.5rem;box-shadow:0 2px 8px #0000001a;padding:1rem;margin:.5rem 0}.genius-sdk__Highchart-module__custom-legend-item___nUPlX{display:flex;align-items:center;gap:.5rem;padding:.25rem 0;cursor:pointer;transition:all .2s ease}.genius-sdk__Highchart-module__custom-legend-item___nUPlX:hover{background:#007bff0d;border-radius:.25rem}.genius-sdk__Highchart-module__custom-legend-bullet___3hLh2{width:12px;height:12px;border-radius:2px;flex-shrink:0}.genius-sdk__Highchart-module__custom-legend-text___Ja4cM{flex:1;font-size:.875rem;color:#374151;font-weight:500}.genius-sdk__Highchart-module__custom-legend-value___sMiwT{font-size:.75rem;color:#6b7280;font-weight:600}@media (max-width: 640px){.genius-sdk__Highchart-module__highchart-wrapper___sM-hD.genius-sdk__Highchart-module__flex-row___qsVq8{flex-direction:column}.genius-sdk__Highchart-module__custom-legend___8txpT{margin:.5rem 0 0}.genius-sdk__Highchart-module__custom-legend-item___nUPlX{padding:.5rem .25rem}.genius-sdk__Highchart-module__custom-legend-text___Ja4cM{font-size:.8rem}}.genius-sdk__Highchart-module__highchart-loading___XW7h3{position:relative;min-height:200px;display:flex;align-items:center;justify-content:center}.genius-sdk__Highchart-module__highchart-loading___XW7h3:after{content:"";width:40px;height:40px;border:4px solid #f3f3f3;border-top:4px solid #3498db;border-radius:50%;animation:genius-sdk__Highchart-module__spin___H-wRz 1s linear infinite}@keyframes genius-sdk__Highchart-module__spin___H-wRz{0%{transform:rotate(0)}to{transform:rotate(360deg)}}:root{--modal-width-collapsed: 440px;--modal-height-collapsed: 680px;--modal-width-xl: 887px;--modal-height-xl: 90vh;--modal-width-lg: 796px;--modal-height-lg: 90vh;--modal-width-md-lg: 720px;--modal-height-md-lg: 90vh;--modal-width-md: 720px;--modal-height-md: 90vh;--modal-width-sm: 100%;--modal-height-sm: 90vh;--modal-max-width-sm: 720px;--modal-width-xs: 100%;--modal-height-xs: 100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-backdrop___1dyxh{position:fixed;top:0;left:0;right:0;bottom:0;background:#0003;z-index:9998;opacity:0;visibility:hidden;transition:opacity .3s ease,visibility .3s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-backdrop___1dyxh.genius-sdk__GeniusChatbotDashboard-module__visible___ojnlM{opacity:.5;background:#77777780;visibility:visible}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW{position:fixed;bottom:20px;right:20px;width:var(--modal-width-collapsed);height:var(--modal-height-collapsed);background:#fff;border-radius:16px;border:1px solid #d9d9d9;display:flex;flex-direction:column;font-family:Inter,sans-serif;box-shadow:0 1px 8px -1px #0000000a;overflow:hidden;z-index:9999;transition:all .3s ease;touch-action:pan-y}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-xl);height:var(--modal-height-xl)}@media (min-width: 1401px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-xl);height:var(--modal-height-xl)}}@media (min-width: 1201px) and (max-width: 1400px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-lg);height:var(--modal-height-lg)}}@media (min-width: 1025px) and (max-width: 1200px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-md-lg);height:var(--modal-height-md-lg)}}@media (min-width: 921px) and (max-width: 1024px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-md);height:var(--modal-height-md)}}@media (max-width: 1400px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH:not(.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP){height:100px!important;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH:not(.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1{max-height:32px;font-size:14px;line-height:20px}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-top-bar___3z76Q{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;border-bottom:1px solid #ededed;background:#fff;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-left___22uJz{display:flex;gap:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-right___C5UjC{display:flex;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI.genius-sdk__GeniusChatbotDashboard-module__with-text___skVCO{gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-back-text___Od1bW{font-size:14px;font-weight:500;color:#383838}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34{flex:1;display:flex;flex-direction:column;align-items:center;position:relative;overflow:hidden;background:#fff;padding-top:80px;min-height:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq):after{content:"";position:absolute;bottom:0;margin-right:8px;left:0;right:0;height:60px;padding-right:12px;backdrop-filter:blur(8px);-webkit-backdrop-filter:blur(2px);pointer-events:none;z-index:5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq)){justify-content:center;padding-top:80px;padding-bottom:120px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-branding___7PzdS{display:flex;flex-direction:column;align-items:center;gap:16px;margin-bottom:24px;padding-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo-container___zHKb3{display:flex;flex-direction:column;gap:20px;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo___oWWc4{width:42px;height:42px;border-radius:29.781px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 10.993px 3.664px #e9e7ff,0 0 2.644px #fff6 inset;display:flex;align-items:center;justify-content:center;padding:11.84px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo___oWWc4 svg{width:18.32px;height:18.32px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M{text-align:center;max-width:642px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M h2{font-weight:600;font-size:22px;line-height:35.2px;color:#2b2b2b;margin:0 0 4px;letter-spacing:-.44px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M p{font-weight:500;font-size:22px;line-height:35.2px;color:#5f5f5f;margin:0;letter-spacing:-.44px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{display:flex;gap:8px;justify-content:center;width:100%;padding:0;margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq)) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{position:relative;top:auto;left:auto;right:auto;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a{display:flex;padding:8px 12px;align-items:center;gap:8px;border-radius:12px;border:1px solid var(--Color-Gray-300, #EDEDED);background:var(--Color-Gray-0, #FFF);color:var(--Color-Gray-1600, #454545);text-align:center;font-family:Inter;font-size:12px;font-style:normal;font-weight:600;line-height:20px;cursor:pointer;transition:all .2s;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{display:flex;flex-direction:column;gap:10px;margin-left:auto;margin-right:auto;margin-bottom:20px;bottom:auto;left:auto;right:auto;width:400px;max-width:400px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq)) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{position:relative;bottom:auto;left:auto;right:auto;width:599px;max-width:599px;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH{background:#fff;height:124px;border:1px solid #ededed;border-radius:20px;padding:16px;display:flex;flex-direction:column;justify-content:space-between;box-shadow:0 1px 8px -1px #0000000a;box-sizing:border-box;width:100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1{width:100%;border:none;outline:none;font-size:16px;line-height:24px;color:#1c1c1c;background:#fff;background-color:#fff;font-family:Inter,sans-serif;font-weight:400;letter-spacing:-.16px;-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:1;max-height:48px;align-self:flex-start;padding-top:0;padding-left:0;text-align:left;resize:none;overflow-y:auto}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::placeholder{color:#868686;text-align:left}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1:focus{background:#fff;background-color:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1:active{background:#fff;background-color:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar{width:4px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar-thumb{background:#e1e1e1;border-radius:2px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1::-webkit-scrollbar-thumb:hover{background:#d0d0d0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-actions___YK8kC{display:flex;justify-content:end;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc{background:#fff;border:1px solid #ededed;border-radius:28.8px;padding:9.6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc svg{width:16.8px;height:16.8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-container___B-AOf{display:flex;gap:6px;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0{background:#fff;border:1px solid #ededed;border-radius:28.8px;padding:9.6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0:disabled:hover{background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0 svg{width:16.8px;height:16.8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm{background:#1b85ff;border:none;border-radius:27.83px;padding:9.89px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm:hover{opacity:.8}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm:disabled:hover{opacity:.5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm svg{width:16.21px;height:16.21px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg{display:flex;padding:9.895px;justify-content:center;align-items:center;gap:7.421px;border-radius:27.829px;background:#2e2e2e}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg:hover{background:#2e2e2e}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg:disabled:hover{background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu{background:#52c41a;border:none;border-radius:27.83px;padding:9.89px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;width:36px;height:36px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu:hover{opacity:.8}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu:disabled:hover{opacity:.5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-retry-container___yxRGt{display:flex;gap:6px;align-items:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO{position:absolute;bottom:24px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:6px;font-weight:500;font-size:12px;line-height:20px;color:#939393;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO svg{width:18px;height:18px;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq{flex:1;width:100%;overflow-y:auto;overflow-x:hidden;padding:24px 32px 180px;position:relative;min-height:0;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar{width:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq::-webkit-scrollbar-thumb:hover{background:#9ca3af}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-messages-container___8m6PY{display:flex;flex-direction:column;width:100%;min-height:min-content}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-scroll-button___YMYFi{background:#fff;border:1px solid #e1e5e9;border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;color:#6b7280;z-index:10;align-self:center;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-scroll-button___YMYFi:hover{border:1px solid #e1e5e9}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW{display:flex;width:100%;position:relative;margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__user___5X16B{justify-content:flex-end}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__user___5X16B .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg{background:#f6f6f6;border-radius:25px 25px 12px;padding:16px 20px;max-width:567px;margin-bottom:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__user___5X16B .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-size:16px;line-height:24px;color:#2b2b2b;font-weight:400;font-family:Inter,sans-serif;letter-spacing:-.16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b{justify-content:flex-start;align-items:flex-start;flex-direction:column;position:relative;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk){flex-direction:row;align-items:center;margin-bottom:40px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b:not(:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s)){margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s{border-radius:17.018px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 6.282px 2.094px #e9e7ff,inset 0 0 1.511px #fff6;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:6.77px;margin-bottom:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s{margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s svg{width:10.47px;height:10.47px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg{width:100%;display:flex;flex-direction:column;gap:16px;margin-bottom:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW.genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-size:16px;line-height:175%;color:#1e1e1e;font-weight:400}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk{display:flex;align-items:center;font-size:14px;color:#2b2b2b;margin-left:8px}@keyframes genius-sdk__GeniusChatbotDashboard-module__ellipsis___kKDif{to{width:1.25em}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk:after{content:"...";overflow:hidden;display:inline-block;vertical-align:bottom;animation:genius-sdk__GeniusChatbotDashboard-module__ellipsis___kKDif 1.5s infinite;width:0px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-family:Inter,sans-serif;line-height:20px;margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 code{color:inherit!important;background-color:inherit;padding:inherit;border-radius:inherit;font-family:inherit;font-size:inherit}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol{margin:.5em 0;padding-top:16px;padding-left:1.5em;list-style-position:inside}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul{list-style-type:disc}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol{list-style-type:decimal}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 li{padding-left:.5em;text-indent:-1.5em;margin:.25em 0 .25em 1.5em}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul ul,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol ol,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ul ol,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5 ol ul{margin-top:.25em;margin-bottom:.25em}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-branding___7PzdS,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{display:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq){padding-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{position:absolute;bottom:0;left:16px;right:16px;width:auto;max-width:none;padding:0;background:#ffffff03;z-index:10}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1{background:#fcfcfc;border-radius:36px;width:fit-content;height:fit-content;position:relative;margin:0 auto}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ{border-radius:36px;border:1px solid #e1e1e1;box-shadow:0 12px 32px 6px #0000000f,0 -2px 8px -1px #0000000a;padding:12px;display:flex;flex-direction:row;align-items:center;justify-content:flex-start;gap:12px;width:fit-content;height:fit-content;box-sizing:border-box;position:relative}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR{background:#fff;border:1px solid #e1e1e1;border-radius:35.2px;padding:12px;cursor:pointer;display:flex;align-items:center;justify-content:center;box-shadow:0 1px 3px #0000000f;transition:all .2s;flex-shrink:0;min-height:48px;box-sizing:border-box}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR svg{width:24px;height:24px;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-controls___P235l{display:flex;gap:8px;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR.genius-sdk__GeniusChatbotDashboard-module__voice-active___qB2ym{gap:8px;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ){padding:0 200px;height:114px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1{width:fit-content;height:auto;margin:0 auto}@media (min-width: 769px) and (max-width: 920px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW{width:var(--modal-width-collapsed);height:var(--modal-height-collapsed);bottom:20px;right:20px;left:auto;transform:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-sm);max-width:var(--modal-max-width-sm);height:var(--modal-height-sm);bottom:20px;right:20px;left:auto;transform:none}}@media (max-width: 768px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW{width:var(--modal-width-xs);height:var(--modal-height-xs);bottom:0;left:0;right:0;border-radius:0;max-width:none;transform:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H{width:var(--modal-width-xs);height:var(--modal-height-xs)}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{left:20px;right:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{flex-wrap:wrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq{padding:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1{max-width:100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ){padding:0 20px}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-overlay___zDkbs{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;z-index:10;display:flex;flex-direction:column;touch-action:pan-y}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-container___ecQs7{flex:1;display:flex;flex-direction:column;background:#fff;min-height:0;overflow:hidden}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header___zjLS-{display:flex;align-items:center;justify-content:space-between;padding:16px 28px;border-bottom:1px solid #ededed;background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header-left___mWOQO{display:flex;align-items:center;gap:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header___zjLS- h2{color:var(--Color-Gray-1800, #2B2B2B);font-feature-settings:"liga" off,"clig" off;font-family:Inter;font-size:16px;font-style:normal;font-weight:500;line-height:24px;margin:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-actions___lqL15{display:flex;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4{flex:1;overflow-y:auto;overflow-x:hidden;padding:20px;min-height:0;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar{width:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar-thumb{background:#d1d5db;border-radius:3px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4::-webkit-scrollbar-thumb:hover{background:#9ca3af}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl{padding:16px 14px;cursor:pointer;transition:background .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:hover{background:#f9f9f9;border-radius:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-content___feueq{display:flex;flex-direction:column;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-title___YJNj8{font-size:16px;font-weight:500;line-height:24px;color:#2b2b2b}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-date___dlGyR{font-size:14px;font-weight:400;line-height:20px;color:#868686}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-card___v4WS2{background:#fff;border:1px solid #e5e7eb;border-radius:8px;padding:16px;width:200px;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f;margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-title___yod6C{font-size:14px;color:#6b7280;margin-bottom:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-value___Hyo-h{font-size:24px;font-weight:600;color:#111827}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-container___FxxTR{width:100%;overflow:hidden;margin-bottom:0;border:1px solid #e5e7eb;border-radius:8px;background:#fff;box-shadow:0 1px 3px #0000001a,0 1px 2px #0000000f}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd{width:100%;overflow-x:auto;scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.1) transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd::-webkit-scrollbar{height:6px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd::-webkit-scrollbar-thumb{background-color:#0000001a;border-radius:3px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table___wpMRb{width:100%;border-collapse:collapse;background-color:#fff;min-width:600px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head___rdA-0{background-color:#f6f6f6;border-bottom:1px solid #e5e7eb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-row___VpPSu{height:48px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-cell___8eVeo{padding:12px 16px;text-align:left;font-weight:600;font-size:12px;line-height:16px;text-transform:uppercase;letter-spacing:.05em;color:#6b7280;white-space:nowrap;border-bottom:1px solid #e5e7eb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-content___CwrnG{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-body___bElU6{background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1{border-bottom:1px solid #f3f4f6;transition:background-color .15s ease;cursor:pointer}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1:hover{background-color:#f9fafb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1:last-child{border-bottom:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell___7wz17{padding:16px;font-size:14px;line-height:20px;color:#111827}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell-content___5Wdi8{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination___Saw-v{display:flex;justify-content:space-between;align-items:center;padding:16px;border-top:1px solid #e5e7eb;background:#fff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-info___G6snm{font-size:14px;color:#6b7280;font-weight:500}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8{display:flex;gap:8px;color:#6b7280}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8 button{background:#fff;border-radius:6px;padding:8px 12px;cursor:pointer;transition:all .2s;color:#6b7280;font-size:14px;font-weight:500;min-height:36px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8 button:hover:not(:disabled){background:#f3f4f6;border-color:#d1d5db}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8 button:disabled{opacity:.5;cursor:not-allowed;background:#f9fafb}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8{min-width:32px;height:32px;padding:4px 10px;background:#fff;border:1px solid transparent;border-radius:8px;font-size:12px;font-weight:500;color:#374151;cursor:pointer;transition:all .2s ease;display:inline-flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8:hover:not(:disabled){background:#f9fafb;border-color:#d1d5db}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8.genius-sdk__GeniusChatbotDashboard-module__active___odK6T{background:#e8f3ff;color:#9333ea;border:1px solid #E8F3FF}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-dots___lYvds{display:inline-flex;align-items:center;justify-content:center;color:#5f6368;padding:0 8px;font-size:14px;font-weight:500;-webkit-user-select:none;user-select:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-chart-container___JDX-b{width:100%;min-height:300px;margin-bottom:0;display:block;position:relative}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-wrapper___70ycH{display:block;width:fit-content;margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper-container___plSHR{display:block;width:100%;margin-bottom:0;position:relative}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-top-bar___3z76Q{padding:16px 20px 12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34{padding:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M h2{font-size:18px;line-height:28px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M p{font-size:16px;line-height:24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8{top:auto;flex-wrap:wrap;padding:0 20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a{font-size:11px;padding:6px 10px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{bottom:auto;left:auto;right:auto;width:400px;max-width:400px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO{bottom:16px;font-size:11px;padding:0 20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq{padding:16px 16px 120px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-messages-container___8m6PY{gap:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{font-size:14px;line-height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34:has(.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ{position:absolute;bottom:0;left:16px;right:16px;width:auto;max-width:none;padding:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-container___FxxTR{border-radius:6px;margin-bottom:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table___wpMRb{min-width:400px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-cell___8eVeo{padding:8px 12px;font-size:11px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell___7wz17{padding:10px 12px;font-size:13px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination___Saw-v{padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-info___G6snm{font-size:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8{min-width:28px;height:28px;font-size:12px;padding:0 8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8{gap:4px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat___LF3B2{padding:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat___LF3B2 h3{font-size:32px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW:not(.genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H) .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-chart-container___JDX-b{min-height:250px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:36px;color:#5f5f5f;padding:0;display:block}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF p{margin:12px 0;line-height:36px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF br{display:block;content:"";margin:12px 0;height:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF br+*{margin-top:10px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF div{line-height:24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF div+div{margin-top:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF>*:first-child{margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF>*:last-child{margin-bottom:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF span,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-value-pill___JXBgS{display:inline-block;background-color:#f3f4f6;color:#797979;padding:6px;margin-left:2px;margin-right:2px;border-radius:4px;font-size:12px;font-weight:500;line-height:120%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;vertical-align:middle;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-loading___GoUb2,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-empty___yZcdH{padding:20px;text-align:center;color:#666;font-size:14px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-loading___GoUb2{display:flex;align-items:center;justify-content:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-empty___yZcdH{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl{position:relative;padding:14px 16px;cursor:pointer;transition:background-color .2s ease;display:flex;align-items:center;justify-content:space-between}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:hover{background-color:#f5f5f5}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:last-child{border-bottom:none}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-content___feueq{flex:1;min-width:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-title___YJNj8{font-size:14px;font-weight:500;color:#333;margin-bottom:4px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-date___dlGyR{font-size:12px;color:#666;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq{background:none;border:none;padding:4px;cursor:pointer;opacity:0;transition:opacity .2s ease;color:#999;margin-left:8px;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl:hover .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq{opacity:1}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq:hover{color:#f44}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP{height:56px;padding:8px 8px 8px 16px;display:flex;flex-direction:row;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1.genius-sdk__GeniusChatbotDashboard-module__single-line-input___KZ0ag{min-height:auto;max-height:none;height:40px;line-height:40px;padding:0;flex:1;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-actions___YK8kC{flex-direction:row;align-items:center;gap:8px;margin-top:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-container___B-AOf{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm,.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH.genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP .genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg{width:40px;height:40px;padding:0;display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content-wrapper___xUicT{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button-inline___ynxrN{padding:8px;border:none;border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button-inline___ynxrN svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg{display:flex;flex-direction:column;align-items:flex-start}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-action-buttons___bHBgd{display:flex;align-items:center;margin-top:4px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm{padding:8px 8px 8px 0;border:none;border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54{padding:8px;border:none;border-radius:6px;background:transparent;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s ease}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54 svg{width:16px;height:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-overlay___DDtOF{position:absolute;top:0;left:0;right:0;bottom:0;background:#fff;z-index:10;display:flex;flex-direction:column}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-container___-v-cr{flex:1;display:flex;flex-direction:column;background:#fff;font-family:Inter,sans-serif}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-header___ePdx4{display:flex;justify-content:space-between;align-items:center;padding:16px 28px;border-bottom:1px solid #ededed;background:#fff;flex-shrink:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-left___5weo7{display:flex;gap:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-right___A-hiJ{display:flex;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK{background:transparent;border:none;padding:6px;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK:hover{opacity:.7}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK svg{width:20px;height:20px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-body___vGLbY{flex:1;overflow-y:auto;display:flex;justify-content:center;align-items:flex-start;padding:32px 24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-content___s2-PA{max-width:500px;width:100%;display:flex;flex-direction:column;gap:24px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon___QOTA1{width:32px;height:32px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-title___ttd2-{color:#454545;font-size:20px;font-weight:600;margin:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-options___sTDuz{display:flex;flex-direction:column;gap:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5{padding:10px 16px;border:1px solid #E1E1E1;border-radius:8px;background:#fff;color:#797979;font-size:14px;font-weight:500;cursor:pointer;text-align:left;transition:all .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5:hover{background:#f5f5f5;border-color:#d1d5db}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5.genius-sdk__GeniusChatbotDashboard-module__selected___rX0Dk{border-color:#1b85ff;color:#1b85ff;background:#f0f7ff}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea-container___7V-Y8{display:flex;flex-direction:column;gap:8px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-label___CCyHp{color:#525252;font-size:14px;font-weight:500;margin:0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA{width:100%;min-height:120px;padding:14px;border:1px solid #E1E1E1;border-radius:8px;background:#fff;color:#111;font-family:Inter,sans-serif;font-size:14px;font-weight:500;resize:vertical;transition:all .2s}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA:focus{outline:none;border-color:#1b85ff;box-shadow:0 0 0 3px #1b85ff1a}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA::placeholder{color:#999}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-error___TC-hH{color:#dc2626;font-size:12px;margin:4px 0 0}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM{width:120px;height:40px;padding:8px 16px;background:#1b85ff;color:#fff;border:none;border-radius:6px;font-family:Inter,sans-serif;font-size:14px;font-weight:600;cursor:pointer;transition:all .2s;margin-top:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM:hover{background:#1573e6;transform:translateY(-1px);box-shadow:0 2px 8px #1b85ff4d}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM:active{transform:translateY(0);box-shadow:0 1px 4px #1b85ff33}@media (max-width: 768px){.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-header___ePdx4{padding:16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-body___vGLbY{padding:20px 16px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-title___ttd2-{font-size:18px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5{font-size:13px;padding:12px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA{min-height:100px;font-size:13px}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM{width:100px;height:36px;font-size:13px}}.genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5{width:100%}.genius-sdk__SuccessRateComparison-module__rca-box___RAENl{display:flex;flex-direction:column;justify-content:flex-start;align-items:flex-start;border-radius:.75rem;border-width:1px;border-style:solid;border-color:#e1e1e1;background-color:#fcfcfc;width:100%;padding:1.25rem;gap:1rem}.genius-sdk__SuccessRateComparison-module__rca-box-text___q8twB{color:var(--jp-2-light-gray-1500);font-family:Inter,sans-serif;font-size:.875rem;font-weight:500;line-height:1.25rem;font-feature-settings:"liga" off}.genius-sdk__SuccessRateComparison-module__rca-box-buttons___afFSd{display:flex;gap:12px}.genius-sdk__SuccessRateComparison-module__rca-box-btn___R6e-B{padding:8px 24px;border-radius:6px;font-size:14px;font-weight:600;border:none;cursor:pointer}.genius-sdk__SuccessRateComparison-module__rca-box-btn-primary___kDURb{background:#6767f6;color:#fff}.genius-sdk__SuccessRateComparison-module__rca-box-btn-primary___kDURb:disabled{background:#b2dfdb;color:#fff;cursor:not-allowed}.genius-sdk__SuccessRateComparison-module__rca-box-btn-secondary___5zMpR{background:#fff;color:#008242;border:1px solid #e0e0e0}.genius-sdk__SuccessRateComparison-module__rca-box-btn-secondary___5zMpR:disabled{color:#bdbdbd;border-color:#e0e0e0;cursor:not-allowed}.genius-sdk__SuccessRateComparison-module__rca-box-support___QUmJe{color:#424242;font-family:Inter,sans-serif;font-size:16px;font-weight:700;margin-top:12px}.genius-sdk__SuccessRateComparison-module__rca-box-support-link___Y1z02{color:#1976d2;text-decoration:underline}.genius-sdk__SuccessRateComparison-module__rca-box-status___GGBgz{font-family:Inter,sans-serif;font-size:14px;font-weight:500;margin-top:12px}.genius-sdk__SuccessRateComparison-module__rca-box-status-success___X-CHD{color:#008242}.genius-sdk__SuccessRateComparison-module__rca-box-status-error___YOsai{color:#d32f2f}.genius-sdk__SuccessRateComparison-module__rca-box-status-processing___vwB4x{color:#757575}.genius-sdk__SimpleChat-module__simple-chat___8hiCW{height:100%;display:flex;flex-direction:column;background:#fff;position:relative}.genius-sdk__SimpleChat-module__welcome-container___NYmMP{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:flex-start;padding:60px 16px 100px;width:100%;max-width:100%;overflow-x:hidden}.genius-sdk__SimpleChat-module__welcome-header___F6yjX{text-align:center;margin-bottom:40px;display:flex;flex-direction:column;align-items:center;gap:16px}.genius-sdk__SimpleChat-module__welcome-title___nULPu{font-size:18px;font-weight:600;color:#2b2b2b;margin:0 0 8px;display:inline;line-height:1.6}.genius-sdk__SimpleChat-module__sparkle-icon___UeoaE{width:60px;height:60px;background:#5865f2;border-radius:50%;display:flex;align-items:center;justify-content:center;box-shadow:0 0 10.99px 3.66px #e9e7ff;position:relative}.genius-sdk__SimpleChat-module__wave-emoji___euNW9{font-size:32px;display:inline-block;animation:genius-sdk__SimpleChat-module__wave___c2Nl- .6s ease-in-out 2}@keyframes genius-sdk__SimpleChat-module__wave___c2Nl-{0%,to{transform:rotate(0)}25%{transform:rotate(-10deg)}75%{transform:rotate(10deg)}}.genius-sdk__SimpleChat-module__welcome-subtitle___Mi863{font-size:14px;color:#5f5f5f;margin:0;font-weight:500;line-height:1.6;letter-spacing:-.36px}.genius-sdk__SimpleChat-module__option-cards___RU4Xe{display:flex;flex-direction:row;gap:12px;width:100%;overflow-x:auto;scrollbar-width:none;-webkit-overflow-scrolling:touch;padding:4px 0 8px;justify-content:center}.genius-sdk__SimpleChat-module__option-cards___RU4Xe::-webkit-scrollbar{display:none}.genius-sdk__SimpleChat-module__option-card___uxVHc{background:#fff;border:1px solid #ededed;border-radius:14px;padding:10px 12px;cursor:pointer;transition:all .2s ease;position:relative;display:flex;flex-direction:column;align-items:flex-start;text-align:left;flex:0 0 200px;min-width:200px;gap:8px}.genius-sdk__SimpleChat-module__option-card___uxVHc:hover{transform:translateY(-2px);box-shadow:0 2px 12px #0000001a;border-color:#e0e0e0}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj{width:28px;height:28px;border-radius:24.72px;display:flex;align-items:center;justify-content:center;flex-shrink:0;position:relative}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj.genius-sdk__SimpleChat-module__purple___OJIoJ{background:#8f49de;border:1.1px solid #6b30ab}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj.genius-sdk__SimpleChat-module__blue___i6H9v{background:#06aed4;border:1.1px solid #058baa}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj.genius-sdk__SimpleChat-module__red___eUlkU{background:#ef4444;border:1.1px solid #dc2626}.genius-sdk__SimpleChat-module__card-title___AZwKi{font-size:13px;font-weight:600;color:#454545;margin:0;line-height:18px;white-space:nowrap}.genius-sdk__SimpleChat-module__card-description___lprtn{font-size:12px;color:#5f5f5f;margin:0;line-height:16px;letter-spacing:-.12px}.genius-sdk__SimpleChat-module__card-icon-wrapper___ErlQj svg{width:12px;height:12px}.genius-sdk__SimpleChat-module__card-title___AZwKi+.genius-sdk__SimpleChat-module__card-description___lprtn{margin-top:1px}.genius-sdk__SimpleChat-module__messages-container___DInMa{flex:1;overflow-y:auto;padding:24px 24px 140px;display:flex;flex-direction:column;gap:16px}.genius-sdk__SimpleChat-module__messages-container___DInMa::-webkit-scrollbar{width:6px}.genius-sdk__SimpleChat-module__messages-container___DInMa::-webkit-scrollbar-track{background:#f9fafb}.genius-sdk__SimpleChat-module__messages-container___DInMa::-webkit-scrollbar-thumb{background:#e5e7eb;border-radius:3px}.genius-sdk__SimpleChat-module__message___mJ5zW{display:flex;align-items:flex-start;gap:12px;max-width:80%}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32{align-self:flex-end;justify-content:flex-end;margin-left:auto}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__bot___CI52h{align-self:flex-start}.genius-sdk__SimpleChat-module__bot-message-group___ZeXmk{width:100%}.genius-sdk__SimpleChat-module__bot-content-wrapper___GwC1Y{display:flex;flex-direction:column;gap:4px;max-width:80%}.genius-sdk__SimpleChat-module__message-icon___7RObu{width:32px;height:32px;border-radius:50%;background:#6366f1;display:flex;align-items:center;justify-content:center;flex-shrink:0;align-self:flex-start}.genius-sdk__SimpleChat-module__sparkle-icon___UeoaE img,.genius-sdk__SimpleChat-module__message-icon___7RObu img{filter:brightness(0) invert(1)}.genius-sdk__SimpleChat-module__message-bubble___adDU7{background:#f3f4f6;padding:12px 18px;border-radius:20px;font-size:15px;line-height:1.5;color:#111827;caret-color:transparent}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7{background:#fff;border:1px solid #e5e7eb;box-shadow:0 1px 3px #0000000d;color:#374151}.genius-sdk__SimpleChat-module__connecting-pill___GdNZ2{position:absolute;bottom:80px;left:50%;transform:translate(-50%);background:#6b7280;color:#fff;padding:10px 24px;border-radius:24px;font-size:14px;box-shadow:0 4px 12px #00000026;animation:genius-sdk__SimpleChat-module__fadeIn___aXSg- .3s ease}@keyframes genius-sdk__SimpleChat-module__fadeIn___aXSg-{0%{opacity:0;transform:translate(-50%) translateY(10px)}to{opacity:1;transform:translate(-50%) translateY(0)}}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7.genius-sdk__SimpleChat-module__pending___FoZ0X{border:1px solid #6366f1!important;box-shadow:0 1px 3px #6366f11a,0 0 0 2px #6366f11a!important;animation:genius-sdk__SimpleChat-module__pulse-border___LdMpS 2s ease-in-out infinite!important;position:relative}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7.genius-sdk__SimpleChat-module__pending___FoZ0X:after{content:""!important;position:absolute;right:8px;top:50%;transform:translateY(-50%);width:6px;height:6px;background:#6366f1;border-radius:50%;animation:genius-sdk__SimpleChat-module__typing-pulse___7h8yP 1.5s ease-in-out infinite!important;display:block!important}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7:not(.genius-sdk__SimpleChat-module__pending___FoZ0X){animation:none!important;border:1px solid #e5e7eb!important;box-shadow:0 1px 3px #0000000d!important}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__user___wV-32 .genius-sdk__SimpleChat-module__message-bubble___adDU7:not(.genius-sdk__SimpleChat-module__pending___FoZ0X):after{display:none!important;animation:none!important;content:none!important}@keyframes genius-sdk__SimpleChat-module__pulse-border___LdMpS{0%,to{box-shadow:0 1px 3px #6366f11a,0 0 0 2px #6366f11a;border-color:#6366f1}50%{box-shadow:0 1px 3px #6366f133,0 0 0 2px #6366f133;border-color:#4f46e5}}@keyframes genius-sdk__SimpleChat-module__typing-pulse___7h8yP{0%,to{opacity:.3;transform:translateY(-50%) scale(.8)}50%{opacity:1;transform:translateY(-50%) scale(1.2)}}@media (max-width: 640px){.genius-sdk__SimpleChat-module__welcome-container___NYmMP{padding:40px 20px 80px}.genius-sdk__SimpleChat-module__welcome-title___nULPu{font-size:18px}.genius-sdk__SimpleChat-module__welcome-subtitle___Mi863{font-size:14px}.genius-sdk__SimpleChat-module__option-cards___RU4Xe{gap:10px;justify-content:flex-start}.genius-sdk__SimpleChat-module__option-card___uxVHc{flex:0 0 180px;min-width:180px}.genius-sdk__SimpleChat-module__messages-container___DInMa{padding:20px 20px 120px}.genius-sdk__SimpleChat-module__message___mJ5zW{max-width:90%}}@media (max-width: 480px){.genius-sdk__SimpleChat-module__welcome-container___NYmMP{padding:32px 16px 75px}.genius-sdk__SimpleChat-module__welcome-title___nULPu{font-size:16px}.genius-sdk__SimpleChat-module__welcome-subtitle___Mi863{font-size:13px}.genius-sdk__SimpleChat-module__option-cards___RU4Xe{gap:8px;justify-content:flex-start}.genius-sdk__SimpleChat-module__option-card___uxVHc{padding:10px;flex:0 0 170px;min-width:170px}.genius-sdk__SimpleChat-module__card-title___AZwKi{font-size:13px}.genius-sdk__SimpleChat-module__card-description___lprtn{font-size:11px}.genius-sdk__SimpleChat-module__messages-container___DInMa{padding:16px 16px 110px;gap:12px}.genius-sdk__SimpleChat-module__message-bubble___adDU7{font-size:14px;padding:10px 16px}}.genius-sdk__SimpleChat-module__streaming-cursor___4zqB6{display:inline-block;width:8px;height:8px;background-color:#8b5cf6;margin-left:4px;border-radius:50%;animation:genius-sdk__SimpleChat-module__pulse___VzuBS 1.5s infinite;vertical-align:middle}@keyframes genius-sdk__SimpleChat-module__pulse___VzuBS{0%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}to{opacity:1;transform:scale(1)}}.genius-sdk__SimpleChat-module__spoken-text___Sa5q0{color:#111827;font-weight:500;transition:all .3s ease}.genius-sdk__SimpleChat-module__unspoken-text___5YvDS{color:#9ca3af;font-weight:400;transition:all .3s ease}.genius-sdk__SimpleChat-module__pending-message___bJptQ{display:inline-block;padding:4px 0}.genius-sdk__SimpleChat-module__loading-dots___m46tG{display:inline-flex;gap:4px;align-items:center}.genius-sdk__SimpleChat-module__loading-dots___m46tG span{display:inline-block;width:8px;height:8px;border-radius:50%;background-color:#0000004d;animation:genius-sdk__SimpleChat-module__loading-pulse___OOiCK 1.4s ease-in-out infinite}.genius-sdk__SimpleChat-module__message___mJ5zW.genius-sdk__SimpleChat-module__bot___CI52h .genius-sdk__SimpleChat-module__loading-dots___m46tG span{background-color:#8b5cf666}.genius-sdk__SimpleChat-module__loading-dots___m46tG span:nth-child(1){animation-delay:-.32s}.genius-sdk__SimpleChat-module__loading-dots___m46tG span:nth-child(2){animation-delay:-.16s}@keyframes genius-sdk__SimpleChat-module__loading-pulse___OOiCK{0%,80%,to{opacity:.4;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.thinking-loader{display:inline-flex;flex-direction:column;max-width:400px;margin-top:6px;margin-bottom:8px}.thinking-header{display:flex;align-items:center;gap:8px;cursor:pointer;-webkit-user-select:none;user-select:none}.thinking-main{display:flex;align-items:center;gap:8px}.thinking-dots{display:inline-flex;gap:4px}.thinking-dots span{width:4px;height:4px;background-color:#3b82f6;border-radius:50%;animation:thinking-pulse 1.4s ease-in-out infinite both}.thinking-dots span:nth-child(1){animation-delay:-.32s}.thinking-dots span:nth-child(2){animation-delay:-.16s}@keyframes thinking-pulse{0%,80%,to{opacity:.3;transform:scale(1)}40%{opacity:1;transform:scale(1.2)}}.thinking-text{color:#6b7280;font-size:14px;font-weight:400}.chevron{transition:transform .2s ease;color:#6b7280;flex-shrink:0}.chevron.expanded{transform:rotate(180deg)}.tool-calls-dropdown{margin-top:8px;padding-left:20px;animation:slideDown .2s ease-out}@keyframes slideDown{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.tool-call-item{padding:8px 0}.tool-call-header-item{display:flex;align-items:center;gap:8px;margin-bottom:8px}.tool-status{display:flex;align-items:center;justify-content:center;width:16px;height:16px}.spinner{width:12px;height:12px;border:1.5px solid #e5e7eb;border-top-color:#3b82f6;border-radius:50%;animation:spin .6s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.tool-name{color:#111827;font-size:13px;font-weight:500;flex:1}.tool-duration{color:#6b7280;font-size:12px}.tool-arguments,.tool-result{margin-left:24px;margin-bottom:8px}.section-label{color:#9ca3af;font-size:11px;text-transform:uppercase;letter-spacing:.5px;margin-bottom:4px}.arguments-list{display:flex;flex-direction:column;gap:4px}.argument-item{display:flex;gap:6px;font-size:12px;line-height:1.4}.argument-key{color:#6b7280;min-width:fit-content}.argument-value{color:#374151;word-break:break-word;font-family:SF Mono,Monaco,Consolas,Courier New,monospace}.tool-result-text{color:#374151;font-size:12px;line-height:1.5}.tool-result-object{margin-top:4px}.tool-result-object pre{margin:0;padding:8px;background:#f3f4f6;border-radius:6px;font-size:11px;color:#374151;overflow-x:auto;max-height:200px;overflow-y:auto;font-family:SF Mono,Monaco,Consolas,Courier New,monospace}.tool-result-error{color:#dc2626;font-size:12px;padding:8px;background:#fef2f2;border-radius:6px;border:1px solid #fecaca}.error-label{font-weight:600}.tool-divider{height:1px;background:#e5e7eb;margin:12px 0}.genius-sdk__BottomBar-module__bottom-bar-container___BGRI7{position:sticky;bottom:40px;left:50%;transform:translate(-50%);width:calc(100% - 32px);max-width:350px;z-index:1000;display:flex;justify-content:center;align-items:center}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n{position:absolute;left:50%;top:50%;transform:translate(-50%,-50%);width:calc(100% + 40px);max-width:390px;filter:blur(20px);opacity:0;pointer-events:none;z-index:-1;animation:genius-sdk__BottomBar-module__fade-in___4ZShq .3s ease-out forwards}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n.genius-sdk__BottomBar-module__speaking___RmtZb{animation:genius-sdk__BottomBar-module__fade-in___4ZShq .3s ease-out forwards,genius-sdk__BottomBar-module__glow-pulse___yKqwn 1.5s ease-in-out infinite .3s}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n.genius-sdk__BottomBar-module__fade-out___wxLht{animation:genius-sdk__BottomBar-module__fade-out___wxLht .5s ease-out forwards}.genius-sdk__BottomBar-module__glow-bar___V3Qwb{width:100%;height:80px;border-radius:40px;background:linear-gradient(90deg,#3b82f6,#8b5cf6,#3b82f6);background-size:200% 100%;animation:genius-sdk__BottomBar-module__glow-shift___lJVTh 3s ease-in-out infinite}@keyframes genius-sdk__BottomBar-module__glow-shift___lJVTh{0%{background-position:0% 50%}50%{background-position:100% 50%}to{background-position:0% 50%}}@keyframes genius-sdk__BottomBar-module__fade-in___4ZShq{0%{opacity:0}to{opacity:.4}}@keyframes genius-sdk__BottomBar-module__fade-out___wxLht{0%{opacity:.4}to{opacity:0}}@keyframes genius-sdk__BottomBar-module__glow-pulse___yKqwn{0%,to{opacity:.3;transform:translate(-50%,-50%) scale(.95)}50%{opacity:.6;transform:translate(-50%,-50%) scale(1.05)}}.genius-sdk__BottomBar-module__bottom-bar___XaxVJ{position:relative;width:fit-content;height:72px;border-radius:36px;background:#fcfcfc;border:1px solid #E1E1E1;box-shadow:0 12px 32px 6px #0000000f,0 -2px 8px -1px #0000000a;display:flex;align-items:center;justify-content:center}.genius-sdk__BottomBar-module__bar-content___6OsEK{display:flex;align-items:center;gap:12px;padding:12px;width:100%;max-width:100%}.genius-sdk__BottomBar-module__bar-button___iPlFP{width:24px;height:24px;border-radius:0;background:transparent;border:none;box-shadow:none;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s ease;padding:0;flex-shrink:0}.genius-sdk__BottomBar-module__attachment-container___0Kbir:hover,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS:hover,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:hover:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#f9f9f9;border-color:#d4d4d4}.genius-sdk__BottomBar-module__attachment-container___0Kbir:active,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS:active,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:active:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#f2f2f2}.genius-sdk__BottomBar-module__bar-button___iPlFP:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__BottomBar-module__x-button___LrIa0 svg{width:12px;height:12px}.genius-sdk__BottomBar-module__waveform-send-container___HvkWS .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:15px;height:16px}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:14px;height:19px}.genius-sdk__BottomBar-module__attachment-container___0Kbir{display:flex;align-items:center;background:#fff;border-radius:35.2px;border:1px solid #E1E1E1;box-shadow:0 1px 3px #0000000f;padding:12px;gap:14.667px}.genius-sdk__BottomBar-module__voice-container___APP75{display:flex;align-items:center;gap:8px}.genius-sdk__BottomBar-module__waveform-send-container___HvkWS{display:flex;align-items:center;background:#fff;border-radius:35.2px;border:1px solid #E1E1E1;box-shadow:0 1px 3px #0000000f;padding:12px;gap:8px}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN{display:flex;align-items:center;background:#fff;border-radius:35.2px;border:1px solid #E1E1E1;box-shadow:0 1px 3px #0000000f;padding:12px;gap:8px;cursor:pointer}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN.genius-sdk__BottomBar-module__disabled___FdMpB{cursor:not-allowed;opacity:.5}.genius-sdk__BottomBar-module__recording-indicator___FwtQv{display:flex;align-items:center;justify-content:center;width:24px;height:24px}.genius-sdk__BottomBar-module__recording-indicator___FwtQv svg{width:24px;height:24px}.genius-sdk__BottomBar-module__mic-button___klzpP{position:relative}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:has(.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus){background:#fee2e2;border-color:#fecaca}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:has(.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus):hover:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#fecaca}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN:has(.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus):active:not(.genius-sdk__BottomBar-module__disabled___FdMpB){background:#fca5a5}.genius-sdk__BottomBar-module__mic-button___klzpP.genius-sdk__BottomBar-module__muted___G3eus svg path{fill:#ef4444}.genius-sdk__BottomBar-module__mic-tooltip___yr63U{position:absolute;bottom:calc(100% + 8px);right:50%;transform:translate(50%);background:#111;color:#fff;padding:4px 8px;border-radius:4px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,sans-serif;font-size:12px;font-weight:400;line-height:18px;white-space:nowrap;opacity:0;visibility:hidden;transition:all .2s ease;pointer-events:none}.genius-sdk__BottomBar-module__mic-button___klzpP:hover .genius-sdk__BottomBar-module__mic-tooltip___yr63U{opacity:1;visibility:visible}.genius-sdk__BottomBar-module__tooltip-arrow___pgGVw{position:absolute;bottom:-4px;right:50%;transform:translate(50%);width:0;height:0;border-left:4px solid transparent;border-right:4px solid transparent;border-top:4px solid #111111}@media (max-width: 640px){.genius-sdk__BottomBar-module__bottom-bar-container___BGRI7{position:fixed;bottom:30px;width:calc(100% - 24px);max-width:320px}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n{width:calc(100% + 30px)}.genius-sdk__BottomBar-module__bottom-bar___XaxVJ{height:64px;width:fit-content}.genius-sdk__BottomBar-module__bar-content___6OsEK{padding:10px}.genius-sdk__BottomBar-module__bar-button___iPlFP{width:24px;height:24px}.genius-sdk__BottomBar-module__attachment-container___0Kbir,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN{padding:10px}.genius-sdk__BottomBar-module__glow-bar___V3Qwb{height:70px}}@media (max-width: 480px){.genius-sdk__BottomBar-module__bottom-bar-container___BGRI7{position:fixed;bottom:20px;width:calc(100% - 16px);max-width:300px}.genius-sdk__BottomBar-module__bottom-bar-glow___A493n{width:calc(100% + 25px)}.genius-sdk__BottomBar-module__bottom-bar___XaxVJ{height:60px}.genius-sdk__BottomBar-module__bar-content___6OsEK{padding:8px;gap:8px}.genius-sdk__BottomBar-module__bar-button___iPlFP{width:24px;height:24px}.genius-sdk__BottomBar-module__attachment-container___0Kbir,.genius-sdk__BottomBar-module__waveform-send-container___HvkWS,.genius-sdk__BottomBar-module__microphone-icon-container___qgstN{padding:8px;gap:6px}.genius-sdk__BottomBar-module__voice-container___APP75{gap:6px}.genius-sdk__BottomBar-module__x-button___LrIa0 svg{width:10px;height:10px}.genius-sdk__BottomBar-module__waveform-send-container___HvkWS .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:13px;height:14px}.genius-sdk__BottomBar-module__microphone-icon-container___qgstN .genius-sdk__BottomBar-module__bar-button___iPlFP svg{width:12px;height:17px}.genius-sdk__BottomBar-module__recording-indicator___FwtQv{width:20px;height:20px}.genius-sdk__BottomBar-module__recording-indicator___FwtQv svg{width:20px;height:20px}.genius-sdk__BottomBar-module__glow-bar___V3Qwb{height:65px}}*{box-sizing:border-box}body{margin:0;padding:0;font-family:-apple-system,BlinkMacSystemFont,SF Pro Display,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,sans-serif;background:#fff;color:#111827;height:100vh;overflow:hidden;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.genius-sdk__App-module__app___ksh-Z{height:100vh;display:flex;flex-direction:column;background:#fff;position:relative}.genius-sdk__App-module__connection-manager___oCx--{display:none}.genius-sdk__App-module__simple-chat___Uql5N{z-index:1}.genius-sdk__App-module__bottom-controls___gY5P0{z-index:100}.genius-sdk__App-module__connecting-pill___ISw9M{z-index:99}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-wrapper___BtGde{position:fixed;top:0;left:0;right:0;bottom:0;z-index:9999;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-container___AxurG{width:100%;height:100vh;height:100dvh;background:var(--genius-background);display:flex;flex-direction:column;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-header___LZvKZ{height:64px;background:var(--genius-white);border-bottom:1px solid var(--genius-grey-100);padding:16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-header-icons___nkbc4{display:flex;gap:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-body___Nljp1{flex:1;display:flex;flex-direction:column;overflow:hidden;position:relative;min-height:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-content___9CHzt{display:flex;gap:24px;flex-direction:column;overflow-y:auto;padding:0 0 160px;flex:1;min-height:0;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-content___9CHzt.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{padding-bottom:100px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome___i2CC0{flex:1;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 16px 20px;min-height:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-branding___z6abT{display:flex;flex-direction:column;align-items:center;gap:16px;width:270px!important}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo-container___BMri1{display:flex;flex-direction:column;gap:20px;align-items:center;justify-content:start;padding:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo___kNw8B{width:42.52px;height:42.52px;border-radius:29.7811px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 10.993px 3.664px #e9e7ff,0 0 2.644px #fff6 inset;display:flex;align-items:center;justify-content:center;position:relative;overflow:hidden;padding:11.8389px;gap:6.618px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo___kNw8B:after{content:"";position:absolute;top:0;right:0;bottom:0;left:0;box-shadow:0 0 2.64362px inset #fff6;border-radius:29.7811px;pointer-events:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-logo-icon___NOPGn{color:var(--genius-white);display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-text___Eov4M{text-align:center;min-width:100%;width:min-content;position:relative;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-title___FzkYR{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:18px;font-weight:600;color:#2b2b2b;line-height:160%;margin:0;letter-spacing:-.36px;font-style:normal;display:block}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-subtitle___P2N48{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;color:#5f5f5f;font-size:18px;line-height:160%;margin:0;font-weight:500;letter-spacing:-.36px;font-style:normal;display:inline}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-section___hHmrd{position:fixed;bottom:0;left:0;right:0;background:#fff;border:1px solid #ededed;border-top-left-radius:20px;border-top-right-radius:20px;box-shadow:0 1px 8px -1px #0000000a;height:140px;display:flex;flex-direction:column;justify-content:flex-start;padding:16px;padding-bottom:env(safe-area-inset-bottom,16px);z-index:1000;transform:translateZ(0)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-container___wdwox{display:flex;flex-direction:column;gap:16px;background:transparent;border:none;padding:0;height:100%;justify-content:space-between}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-row___uNlWm{display:flex;align-items:flex-end;justify-content:space-between;padding-bottom:24px;width:100%}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV{flex:1;border:none;outline:none;font-size:16px;font-weight:400;color:#454545;background:transparent;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;line-height:24px;letter-spacing:-.16px;padding:0;text-align:left;width:100%;height:24px;resize:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-section___hHmrd.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{height:80px;padding:12px 16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-container___wdwox.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{flex-direction:row;align-items:center;gap:12px;height:auto;justify-content:space-between}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV.genius-sdk__GeniusChatbotMobile-module__single-line-input___e6KVp{height:auto;min-height:24px;max-height:24px;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-row___uNlWm.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{padding-bottom:0;width:auto;flex:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV::placeholder{color:#868686;font-feature-settings:"liga" off,"clig" off;font-family:Inter;font-size:16px;font-style:normal;font-weight:400;line-height:24px;letter-spacing:-.16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input-actions___vzTQ4{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N{padding:9.6px;border-radius:28.8px;border:1px solid #EDEDED;background:#fff;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:#5f5f5f;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button-header___lBaEW{background:#fff;border-radius:28.8px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;color:#5f5f5f;flex-shrink:0;padding:6px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N:hover{background:#f5f5f5}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N:active{transform:scale(.95)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-icon-button___cx5-N svg{width:16.8px;height:16.8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN{background:#1b85ff;border:none;border-radius:27.8293px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:all .2s;flex-shrink:0;color:var(--genius-white);padding:9.89487px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:hover{transform:scale(1.05);box-shadow:0 4px 16px #1b85ff52}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:active{transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN:disabled:hover{transform:none;box-shadow:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-send-button___OWEoN svg{width:16.21px;height:16.21px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b{display:flex;padding:9.895px;justify-content:center;align-items:center;gap:7.421px;border-radius:27.829px;background:#2e2e2e}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:hover{background:#2e2e2e;transform:scale(1.05)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:active{transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:disabled{opacity:.5;cursor:not-allowed}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b:disabled:hover{background:#fff;transform:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-cancel-button___9yO-b svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-messages___0BV99{display:flex;flex-direction:column;gap:16px;padding:24px 16px;flex:1}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy{display:flex;flex-direction:column;gap:8px;animation:genius-sdk__GeniusChatbotMobile-module__fadeIn___wwyEU .3s ease-out}@keyframes genius-sdk__GeniusChatbotMobile-module__fadeIn___wwyEU{0%{opacity:0;transform:translateY(10px)}to{opacity:1;transform:translateY(0)}}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__user___PtOAo{align-items:flex-end}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh{align-items:flex-start}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{max-width:85%;padding:12px 16px;border-radius:16px;font-size:16px;line-height:24px;word-wrap:break-word}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__user___PtOAo .genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{background:var(--genius-primary-blue);color:var(--genius-white);border-bottom-right-radius:4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message___7dFqy.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh .genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{background:var(--genius-white);color:var(--genius-text-primary);border:1px solid var(--genius-grey-100);border-bottom-left-radius:4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestions___8Su-Y{position:fixed;bottom:140px;left:0;right:0;display:flex;gap:8px;overflow-x:auto;overflow-y:hidden;padding:0 12px 16px;scrollbar-width:none;-ms-overflow-style:none;background:transparent;flex-wrap:nowrap;scroll-behavior:smooth;z-index:999}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestions___8Su-Y.genius-sdk__GeniusChatbotMobile-module__single-line___-vJMf{bottom:80px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestions___8Su-Y::-webkit-scrollbar{display:none}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1{background:#fff;border:1px solid #ededed;border-radius:12px;padding:8px 12px;font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-size:12px;font-weight:600;color:#454545;cursor:pointer;white-space:nowrap;transition:all .2s;flex-shrink:0;line-height:20px;text-align:center;display:flex;align-items:center;gap:8px;box-sizing:border-box}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1:hover{background:#f5f5f5;border-color:#d0d0d0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1:active{background:#ededed;transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-suggestion___-7Od1 svg{width:16px;height:16px;color:currentColor;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading___812RY{display:flex;align-items:center;gap:8px;padding:12px 16px;background:var(--genius-white);border:1px solid var(--genius-grey-100);border-radius:16px 16px 16px 4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dots___9C82M{display:flex;gap:4px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dot___kNaDD{width:8px;height:8px;background:var(--genius-grey-500);border-radius:50%;animation:genius-sdk__GeniusChatbotMobile-module__pulse___pyEhS 1.5s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dot___kNaDD:nth-child(2){animation-delay:.2s}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-loading-dot___kNaDD:nth-child(3){animation-delay:.4s}@keyframes genius-sdk__GeniusChatbotMobile-module__pulse___pyEhS{0%,80%,to{opacity:.3;transform:scale(.8)}40%{opacity:1;transform:scale(1)}}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:36px;color:#5f5f5f;padding:0;display:block}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A p{margin:12px 0;line-height:36px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A br{display:block;content:"";margin:12px 0;height:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A br+*{margin-top:10px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A div{line-height:24px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A div+div{margin-top:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A>*:first-child{margin-top:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-description___UBJ5A>*:last-child{margin-bottom:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-value-pill___UVZN2{display:inline-block;background-color:#f3f4f6;color:#797979;padding:6px;margin-left:2px;margin-right:2px;border-radius:4px;font-size:12px;font-weight:500;line-height:120%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;vertical-align:middle;white-space:nowrap}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-chart-container___SFGsK{width:100%;min-height:300px;margin:12px 0;background:var(--genius-white);border-radius:12px;padding:16px;box-shadow:0 2px 8px #00000014}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-single-stat-wrapper___AvedJ{margin:12px 0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-table-wrapper___UWzSR{width:100%;overflow-x:auto;margin:12px 0;border-radius:12px;background:var(--genius-white);box-shadow:0 2px 8px #00000014}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-overlay___hW74x{position:fixed;top:0;left:0;right:0;bottom:0;background:var(--genius-white);z-index:10000;display:flex;flex-direction:column}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-container___FJKqB{width:100%;height:100%;display:flex;flex-direction:column;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk{height:64px;background:var(--genius-white);border-bottom:1px solid var(--genius-grey-100);padding:16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header-left___9qSbt{display:flex;align-items:center;gap:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-back___--HRQ{background:none;border:none;padding:8px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-back___--HRQ:hover{background:var(--genius-grey-100)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-back___--HRQ svg{width:20px;height:20px;color:var(--genius-text-primary)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk h2{margin:0;font-size:18px;font-weight:600;color:var(--genius-text-primary)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-actions___iwfPD{display:flex;align-items:center;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-action___Pd1mQ{background:none;border:none;padding:8px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-action___Pd1mQ:hover{background:var(--genius-grey-100)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-action___Pd1mQ svg{width:20px;height:20px;color:var(--genius-text-primary)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-list___qksvj{flex:1;overflow-y:auto;padding:16px;display:flex;flex-direction:column;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-loading___FrgIf,.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-empty___p54tM{display:flex;align-items:center;justify-content:center;height:200px;color:var(--genius-text-secondary);font-size:14px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc{background:var(--genius-white);border:1px solid var(--genius-grey-100);border-radius:12px;padding:16px;cursor:pointer;transition:all .2s ease;display:flex;align-items:center;justify-content:space-between;gap:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc:hover{border-color:var(--genius-primary-blue);box-shadow:0 2px 8px #1b85ff1a}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc:active{transform:translateY(1px)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-content___iOAR-{flex:1;min-width:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-title___iQMh9{font-size:14px;font-weight:500;color:var(--genius-text-primary);margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-date___uuhMZ{font-size:12px;color:var(--genius-text-secondary);overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr{background:none;border:none;padding:8px;cursor:pointer;border-radius:6px;display:flex;align-items:center;justify-content:center;transition:background-color .2s ease;flex-shrink:0}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr:hover{background:#ef44441a}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr svg{width:16px;height:16px;color:var(--genius-grey-500)}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-delete___kMUwr:hover svg{color:#ef4444}@media (max-width: 375px){.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk{padding:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-header___dWTfk h2{font-size:16px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-list___qksvj,.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item___2Xjtc{padding:12px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-title___iQMh9{font-size:13px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-history-item-date___uuhMZ{font-size:11px}}@media (max-width: 375px){.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-title___FzkYR{font-size:24px;line-height:32px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-welcome-subtitle___P2N48{font-size:16px;line-height:24px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-input___kMLVV{font-size:15px}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-message-content___LYxmY{font-size:15px;padding:10px 14px}}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K{display:flex;width:100%;position:relative;margin-bottom:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__user___PtOAo{justify-content:flex-end}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__user___PtOAo .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-bubble___mtDtI{background:#f6f6f6;border-radius:25px 25px 12px;padding:16px 20px;max-width:85%}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__user___PtOAo .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-content___BCtMc{font-size:16px;line-height:24px;color:#2b2b2b;font-weight:400;font-family:Inter,sans-serif;letter-spacing:-.16px;margin:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh{justify-content:flex-start;align-items:flex-start;flex-direction:column;position:relative;margin-bottom:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh:has(.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-){flex-direction:row;align-items:center;gap:8px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-assistant-icon___7QK3G{width:24px;height:24px;border-radius:17.018px;background:linear-gradient(140deg,#9747ff -41.48%,#1b85ff 116.12%);box-shadow:0 0 6.282px 2.094px #e9e7ff,inset 0 0 1.511px #fff6;display:flex;align-items:center;justify-content:center;flex-shrink:0;padding:6.77px;margin-bottom:8px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh:has(.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-) .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-assistant-icon___7QK3G{margin-bottom:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-assistant-icon___7QK3G svg{width:10.47px;height:10.47px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-bubble___mtDtI{width:100%;display:flex;flex-direction:column;gap:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message___nsz8K.genius-sdk__GeniusChatbotMobile-module__assistant___yaDOh .genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-content___BCtMc{font-size:16px;line-height:175%;color:#1e1e1e;font-weight:400;font-family:Inter,sans-serif;margin:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-{display:flex;align-items:center;font-size:14px;color:#2b2b2b;font-family:Inter,sans-serif}@keyframes genius-sdk__GeniusChatbotMobile-module__ellipsis___w22gP{to{width:1.25em}}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-thinking___dTUA-:after{content:"...";overflow:hidden;display:inline-block;vertical-align:bottom;animation:genius-sdk__GeniusChatbotMobile-module__ellipsis___w22gP 1.5s infinite;width:0px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-action-buttons___GaJiS{display:flex;align-items:center;margin-top:8px;gap:0}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg{padding:8px 8px 8px 0;border:none;border-radius:6px;background:transparent!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg:hover:not(:disabled){background:transparent!important;opacity:.7}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-like-button-inline___TXDtg svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV{padding:8px;border:none;border-radius:6px;background:transparent!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV:hover:not(:disabled){background:transparent!important;opacity:.7}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV:disabled{cursor:default;opacity:1}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-dislike-button-inline___CKeEV svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-retry-button-inline___E7tHQ{padding:8px;border:none;border-radius:6px;background:transparent!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:opacity .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-retry-button-inline___E7tHQ:hover{background:transparent!important;opacity:.7}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-retry-button-inline___E7tHQ svg{width:16px;height:16px}.genius-sdk__GeniusChatbotMobile-module__genius-dashboard-message-content-wrapper___x7mri{display:flex;flex-direction:column;align-items:flex-start;gap:4px;width:100%}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-feedback-overlay___-z7Nq{position:relative;width:100%;height:100%;background:#fff;z-index:10;display:flex;flex-direction:column}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-close-voice-button___GW-6U{position:relative;background:#fff;border:1px solid #e1e1e1;border-radius:50%;width:40px;height:40px;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0000001a;transition:all .2s ease}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-close-voice-button___GW-6U:hover{transform:scale(1.05);box-shadow:0 4px 12px #00000026}.genius-sdk__GeniusChatbotMobile-module__genius-chatbot-mobile-close-voice-button___GW-6U:active{transform:scale(.98)}.genius-sdk__GeniusChatbotMobile-module__genius-voice-assistant-wrapper___F95Pz{width:100%;height:100%;display:flex;flex-direction:column;position:relative;overflow:hidden}.genius-sdk__GeniusChatbotMobile-module__voice-wave___lDwzB{width:12px;background:linear-gradient(180deg,#dbe2ef66,#dbe2efcc);border-radius:6px;animation:genius-sdk__GeniusChatbotMobile-module__voice-wave___lDwzB 1.2s ease-in-out infinite}@keyframes genius-sdk__GeniusChatbotMobile-module__voice-wave___lDwzB{0%,60%,to{transform:scaleY(.5);opacity:.4}30%{transform:scaleY(1);opacity:.8}}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar___nyyKk{width:11px;border-radius:10px;flex-shrink:0;background-color:#e8f3ff;transition:background-color .3s ease}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar___nyyKk.genius-sdk__GeniusChatbotMobile-module__active___ddjbF{background-color:#499dff}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-1___ZqSIE{height:23px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor1___6Plx6 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-2___S0vvy{height:75px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor2___8nxFR 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-3___Afm6f{height:55px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor3___HrXVE 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-4___PGea4{height:23px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor4___tuda- 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-5___9u-cU{height:75px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor5___W1XW7 1.8s ease-in-out infinite}.genius-sdk__GeniusChatbotMobile-module__voice-connecting-bar-6___pTE2R{height:19px;animation:genius-sdk__GeniusChatbotMobile-module__voiceWaveColor6___iKFwp 1.8s ease-in-out infinite}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor1___6Plx6{0%,to{background-color:#499dff}16.66%,99.99%{background-color:#e8f3ff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor2___8nxFR{0%,16.66%,to{background-color:#e8f3ff}16.67%,33.33%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor3___HrXVE{0%,33.33%,to{background-color:#e8f3ff}33.34%,50%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor4___tuda-{0%,50%,to{background-color:#e8f3ff}50.01%,66.66%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor5___W1XW7{0%,66.66%,to{background-color:#e8f3ff}66.67%,83.33%{background-color:#499dff}}@keyframes genius-sdk__GeniusChatbotMobile-module__voiceWaveColor6___iKFwp{0%,83.33%,to{background-color:#e8f3ff}83.34%,99.99%{background-color:#499dff}}:root{--genius-primary-blue: #1B85FF;--genius-grey-600: #8A8A8E;--genius-grey-500: #9C9C9F;--genius-grey-200: #E0E0E0;--genius-grey-100: #EDEDED;--genius-text-primary: #1c1c1c;--genius-text-secondary: #5f5f5f;--genius-white: #ffffff;--genius-background: #fcfcfc}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q{position:fixed;z-index:9999;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-right___1B1-1{bottom:20px;right:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-left___jW0dZ{bottom:20px;left:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__center___z23Ni{top:50%;left:50%;transform:translate(-50%,-50%)}.genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:440px;height:680px;border-radius:12px;background:var(--genius-white);display:flex;flex-direction:column;overflow:hidden;box-shadow:0 0 0 1px #0000000d,0 8px 24px #0000001f;border:1px solid rgba(0,0,0,.05);transition:all .3s ease}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__expanded___egMCL .genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:50vw;max-width:900px;min-width:600px}.genius-sdk__GeniusChatbot-module__genius-chatbot-header___KYNml{height:48px;background:var(--genius-white);border-bottom:1px solid var(--genius-grey-100);padding:8px 16px;display:flex;justify-content:space-between;align-items:center;flex-shrink:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-header-icons___eyLdP{display:flex;gap:12px}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon-button___nbVeQ{background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;border-radius:4px;transition:background-color .2s;color:var(--genius-grey-600)}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon-button___nbVeQ:hover{background-color:#0000000d}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon___JlAuk{width:16px;height:16px;display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-icon___JlAuk svg{width:16px;height:16px}.genius-sdk__GeniusChatbot-module__genius-chatbot-body___-0tRl{flex:1;background:var(--genius-background);display:flex;flex-direction:column;justify-content:flex-end;overflow:hidden;padding:0 24px 24px;position:relative}.genius-sdk__GeniusChatbot-module__genius-chatbot-content___64G3h{display:flex;flex-direction:column;gap:16px;height:100%;justify-content:flex-end}.genius-sdk__GeniusChatbot-module__genius-chatbot-branding___pISkM{display:flex;flex-direction:column;align-items:center;gap:16px;margin-top:auto;margin-bottom:auto}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo-container___7Gxbj{display:flex;flex-direction:column;gap:16px;align-items:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo___bcUEi{width:40px;height:40px;border-radius:50%;background:radial-gradient(circle at center,#9747ff,#1b85ff);display:flex;align-items:center;justify-content:center;filter:drop-shadow(0 4px 12px rgba(99,72,255,.28))}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo-icon___vSlku{width:12px;height:12px;color:var(--genius-white);display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-logo-icon___vSlku svg{width:12px;height:12px;fill:currentColor}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome___uZmtS{text-align:center;max-width:280px}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome-title___-tIN4{font-size:20px;font-weight:600;color:var(--genius-text-primary);line-height:26px;margin:0 0 4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome-emoji___zrXfE{margin-left:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-welcome-subtitle___ipNy2{color:var(--genius-text-secondary);font-size:16px;line-height:24px;margin:0;font-weight:400}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z{flex:1;overflow-y:auto;display:flex;flex-direction:column;gap:12px;padding:16px 0;scroll-behavior:smooth;overscroll-behavior:contain;-webkit-overflow-scrolling:touch}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar{width:6px}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar-track{background:transparent}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar-thumb{background:#0003;border-radius:3px}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z::-webkit-scrollbar-thumb:hover{background:#0000004d}.genius-sdk__GeniusChatbot-module__genius-chatbot-messages-container___lTB-Z{scrollbar-width:thin;scrollbar-color:rgba(0,0,0,.2) transparent}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9{max-width:80%;padding:12px 16px;border-radius:16px;font-size:14px;line-height:1.5}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp{align-self:flex-end;background:var(--genius-primary-blue);color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__assistant___ZGPHW{align-self:flex-start;background:var(--genius-white);color:var(--genius-text-primary);border:1px solid #e3e3e3}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA{margin-bottom:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA p{margin:0 0 8px}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA p:last-child{margin-bottom:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA ul,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA ol{margin:8px 0;padding-left:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA li{margin:4px 0;word-wrap:break-word;overflow-wrap:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA code{background:#f5f5f5;padding:2px 4px;border-radius:3px;font-family:Monaco,Menlo,Ubuntu Mono,monospace;font-size:.9em;color:#333;word-break:break-all;overflow-wrap:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA code{background:#fff3;color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre{background:#f5f5f5;padding:12px;border-radius:6px;overflow-x:auto;margin:8px 0;border:1px solid #e0e0e0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre{background:#ffffff1a;border:1px solid rgba(255,255,255,.2)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre code{background:none;padding:0;color:#333;display:block;white-space:pre;overflow-x:auto}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA pre code{color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA strong{font-weight:600}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA em{font-style:italic}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA blockquote{border-left:3px solid var(--genius-grey-200);padding-left:12px;margin:8px 0;color:var(--genius-text-secondary)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA blockquote{border-left-color:#ffffff80;color:#ffffffe6}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h1,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h2,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h3,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h4,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h5,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h6{margin:12px 0 8px;font-weight:600}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h1{font-size:1.3em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h2{font-size:1.2em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h3{font-size:1.1em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h4{font-size:1.05em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h5{font-size:1em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA h6{font-size:.95em}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA a{color:var(--genius-primary-blue);text-decoration:underline}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA a{color:var(--genius-white)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA hr{border:none;border-top:1px solid var(--genius-grey-200);margin:12px 0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA hr{border-top-color:#ffffff4d}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:8px 0;border-radius:6px;border:1px solid var(--genius-grey-100)}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA table{border-collapse:collapse;min-width:100%;margin:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th,.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA td{border:1px solid var(--genius-grey-200);padding:8px 12px;text-align:left;vertical-align:top;min-width:150px}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA td{white-space:normal;word-wrap:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th{white-space:nowrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th{background:#0000000d;font-weight:600;position:sticky;top:0;z-index:1}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th,.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA td{border-color:#ffffff4d}.genius-sdk__GeniusChatbot-module__genius-chatbot-message___5QQw9.genius-sdk__GeniusChatbot-module__user___HfIkp .genius-sdk__GeniusChatbot-module__genius-chatbot-message-content___oW1RA th{background:#ffffff1a}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar{height:8px}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar-track{background:var(--genius-grey-100);border-radius:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar-thumb{background:var(--genius-grey-500);border-radius:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m::-webkit-scrollbar-thumb:hover{background:var(--genius-grey-600)}.genius-sdk__GeniusChatbot-module__genius-chatbot-table-wrapper___fK97m{position:relative;background:linear-gradient(to right,#fff 30%,#fff0),linear-gradient(to right,#fff0,#fff 70%) 100% 0,radial-gradient(farthest-side at 0% 50%,rgba(0,0,0,.1),transparent),radial-gradient(farthest-side at 100% 50%,rgba(0,0,0,.1),transparent) 100% 0;background-repeat:no-repeat;background-size:40px 100%,40px 100%,14px 100%,14px 100%;background-position:0 0,100%,0 0,100%;background-attachment:local,local,scroll,scroll}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources___FeMnB{margin-top:12px;padding-top:12px;border-top:1px solid var(--genius-grey-100)}button.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-header___faf7D{display:flex;align-items:center;gap:6px;color:var(--genius-grey-600);font-size:12px;font-weight:500;margin-bottom:8px;background:none;border:none;cursor:pointer;padding:0;width:100%;text-align:left;transition:color .2s ease}button.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-header___faf7D:hover{color:var(--genius-primary-blue)}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-header___faf7D svg{color:var(--genius-grey-500)}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-chevron___UbDbJ{margin-left:auto}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources-list___R8Ido{display:flex;flex-direction:column;gap:6px;animation:genius-sdk__GeniusChatbot-module__slideIn___0VmGW .2s ease-out}@keyframes genius-sdk__GeniusChatbot-module__slideIn___0VmGW{0%{opacity:0;transform:translateY(-8px)}to{opacity:1;transform:translateY(0)}}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-item___lgwoi{display:flex;align-items:flex-start;gap:8px;padding:6px 8px;background:#1b85ff0d;border-radius:6px;transition:background .2s ease}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-item___lgwoi:hover{background:#1b85ff1a}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-number___5MEOF{display:flex;align-items:center;justify-content:center;width:18px;height:18px;background:var(--genius-primary-blue);color:var(--genius-white);border-radius:50%;font-size:10px;font-weight:600;flex-shrink:0}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN{font-family:Inter,sans-serif;font-size:14px;font-weight:400;line-height:36px;color:#5f5f5f;padding:0;display:block}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN p{margin:12px 0;line-height:36px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN br{display:block;content:"";margin:12px 0;height:12px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN br+*{margin-top:10px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN div{line-height:24px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN div+div{margin-top:8px}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN>*:first-child{margin-top:0}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN>*:last-child{margin-bottom:0}.genius-sdk__GeniusChatbot-module__genius-dashboard-description___PBOlN span,.genius-sdk__GeniusChatbot-module__genius-dashboard-value-pill___EH-fb{display:inline-block;background-color:#f3f4f6;color:#797979;padding:6px;margin-left:2px;margin-right:2px;border-radius:4px;font-size:12px;font-weight:500;line-height:120%;font-family:system-ui,-apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;vertical-align:middle;white-space:nowrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-content___8DpLR{flex:1;min-width:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-title___rmRJp{font-size:12px;font-weight:500;color:var(--genius-text-primary);line-height:1.3;word-break:break-word}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-uri___QZVuP{font-size:11px;color:var(--genius-grey-600);margin-top:2px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-scroll-button___sHadA{position:absolute;bottom:180px;right:24px;width:36px;height:36px;background:var(--genius-white);border:1px solid var(--genius-grey-200);border-radius:50%;display:flex;align-items:center;justify-content:center;cursor:pointer;box-shadow:0 2px 8px #0000001a;transition:all .2s ease;color:var(--genius-grey-600);z-index:10}.genius-sdk__GeniusChatbot-module__genius-chatbot-scroll-button___sHadA:hover{background:var(--genius-primary-blue);color:var(--genius-white);border-color:var(--genius-primary-blue);transform:translateY(-2px);box-shadow:0 4px 12px #1b85ff4d}.genius-sdk__GeniusChatbot-module__genius-chatbot-scroll-button___sHadA:active{transform:translateY(0)}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-section___qlp-I{display:flex;flex-direction:column;gap:24px}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestions___ewgwd{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;-ms-overflow-style:none}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestions___ewgwd::-webkit-scrollbar{display:none}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestion___Syi1o{background:var(--genius-white);border:1px solid var(--genius-grey-200);border-radius:20px;padding:8px 12px;font-size:14px;font-weight:500;color:var(--genius-text-primary);cursor:pointer;white-space:nowrap;transition:all .2s;flex-shrink:0;line-height:20px}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestion___Syi1o:hover{background:#2f6bff14;border-color:var(--genius-grey-200)}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-container___U-16F{background:var(--genius-white);border:1.5px solid var(--genius-grey-200);border-radius:20px;transition:all .2s;position:relative;box-shadow:0 1px 8px -1px #0000000a}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-container___U-16F:focus-within{border-color:var(--genius-primary-blue)}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-content___5qw6w{display:flex;flex-direction:column;gap:12px;padding:16px}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-row___ZSuJF{display:flex;align-items:center;gap:4px}.genius-sdk__GeniusChatbot-module__genius-chatbot-input-actions___EilGU{display:flex;justify-content:flex-end}.genius-sdk__GeniusChatbot-module__genius-chatbot-input___xVIEY{flex:1;border:none;outline:none;font-size:15px;font-weight:500;color:var(--genius-text-primary);background:transparent;font-family:inherit;line-height:24px;letter-spacing:-.15px}.genius-sdk__GeniusChatbot-module__genius-chatbot-input___xVIEY::placeholder{color:#838383;font-weight:500}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-{width:32px!important;height:32px!important;min-width:32px!important;min-height:32px!important;max-width:32px!important;max-height:32px!important;background:var(--genius-primary-blue);border:none;border-radius:50%;padding:0!important;cursor:pointer;display:flex;align-items:center;justify-content:center;transition:all .2s;flex-shrink:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:hover{transform:scale(1.04);box-shadow:0 4px 12px #2f6bff52}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:active{transform:scale(.98)}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:focus{outline:2px solid var(--genius-primary-blue);outline-offset:2px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-button___GIS7-:focus-visible{outline:2px solid var(--genius-primary-blue);outline-offset:2px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD{width:18px;height:18px;color:var(--genius-white);display:flex;align-items:center;justify-content:center}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg[viewBox="0 0 16 16"]{width:14.41px;height:14.41px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg[viewBox="0 0 18 18"]{width:18px;height:18px}.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg rect,.genius-sdk__GeniusChatbot-module__genius-chatbot-send-icon___hFQPD svg path{fill:currentColor}@media (max-width: 768px){.genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:100vw;height:100vh;max-width:440px;max-height:680px;border-radius:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__expanded___egMCL .genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:100vw;max-width:100vw;min-width:unset}.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-right___1B1-1,.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__bottom-left___jW0dZ{bottom:0;right:0;left:0}.genius-sdk__GeniusChatbot-module__genius-chatbot-suggestions___ewgwd{flex-wrap:wrap}.genius-sdk__GeniusChatbot-module__genius-chatbot-header-icons___eyLdP>button:first-child{display:none!important}.genius-sdk__GeniusChatbot-module__genius-chatbot-sources___FeMnB{margin-top:10px;padding-top:10px}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-item___lgwoi{padding:5px 6px}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-title___rmRJp{font-size:11px}.genius-sdk__GeniusChatbot-module__genius-chatbot-source-uri___QZVuP{font-size:10px}}@media (min-width: 768px) and (max-width: 1200px){.genius-sdk__GeniusChatbot-module__genius-chatbot-wrapper___hcV7q.genius-sdk__GeniusChatbot-module__expanded___egMCL .genius-sdk__GeniusChatbot-module__genius-chatbot-container___-1AXk{width:60vw}}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH{display:flex;flex-direction:row;align-items:center;gap:8px;padding:12px 14px;background:linear-gradient(163.417deg,#9747ff 41.482%,#1b85ff 116.12%);border:none;border-radius:27px;box-shadow:inset 0 0 2.39674px #fff6,0 4px 12px #6348ff47;cursor:pointer;transition:all .2s ease;z-index:9998;outline:none;font-family:Plus Jakarta Sans,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;pointer-events:auto}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:hover{transform:scale(1.05);box-shadow:inset 0 0 2.39674px #fff6,0 6px 16px #6348ff59}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:active{transform:scale(.98)}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:focus{outline:2px solid #1B85FF;outline-offset:2px}.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH:focus-visible{outline:2px solid #1B85FF;outline-offset:2px}.genius-sdk__GeniusToggle-module__genius-toggle-text___t-WaO{font-size:18px;font-weight:600;line-height:20px;color:#fff;letter-spacing:-.36px;white-space:nowrap}.genius-sdk__GeniusToggle-module__genius-toggle-logo___NwizJ{width:16px;height:16px;display:flex;align-items:center;justify-content:center;color:#fff;flex-shrink:0}.genius-sdk__GeniusToggle-module__genius-toggle-logo___NwizJ svg{width:16px;height:16px}body:has(.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH):not(:has(.genius-sdk__GeniusToggle-module__genius-dashboard-container___LAShH)):not(:has(.genius-sdk__GeniusToggle-module__genius-chatbot-mobile-container___G-u6K)){overflow:auto!important;position:static!important;height:auto!important}@media (max-width: 768px){.genius-sdk__GeniusToggle-module__genius-toggle-button___-vqMH{transform:translateZ(0);will-change:transform;contain:layout style paint}body{overflow:auto!important;-webkit-overflow-scrolling:touch!important;position:static!important}}')),document.head.appendChild(e)}}catch(o){console.error("vite-plugin-css-injected-by-js",o)}})();
|
|
2
2
|
(function(Gi,Ue){typeof exports=="object"&&typeof module<"u"?Ue(exports,require("react"),require("react-dom")):typeof define=="function"&&define.amd?define(["exports","react","react-dom"],Ue):(Gi=typeof globalThis<"u"?globalThis:Gi||self,Ue(Gi.GeniusSDK={},Gi.React,Gi.ReactDOM))})(this,function(Gi,Ue,hd){"use strict";var F8=Object.defineProperty;var Z8=(Gi,Ue,hd)=>Ue in Gi?F8(Gi,Ue,{enumerable:!0,configurable:!0,writable:!0,value:hd}):Gi[Ue]=hd;var Vn=(Gi,Ue,hd)=>Z8(Gi,typeof Ue!="symbol"?Ue+"":Ue,hd);var G_;function qg(r){return r&&r.__esModule&&Object.prototype.hasOwnProperty.call(r,"default")?r.default:r}var nb={exports:{}},Yg={};/**
|
|
3
3
|
* @license React
|
|
4
4
|
* react-jsx-runtime.production.js
|
|
@@ -77,7 +77,7 @@ ${r}</tr>
|
|
|
77
77
|
`+this.renderer.text(k);o?c+=this.renderer.paragraph({type:"paragraph",raw:D,text:D,tokens:[{type:"text",raw:D,text:D,escaped:!0}]}):c+=D;continue}default:{const k='Token with "'+x.type+'" type was not found.';if(this.options.silent)return console.error(k),"";throw new Error(k)}}}return c}parseInline(i,o=this.renderer){var d,f;let c="";for(let y=0;y<i.length;y++){const v=i[y];if((f=(d=this.options.extensions)==null?void 0:d.renderers)!=null&&f[v.type]){const k=this.options.extensions.renderers[v.type].call({parser:this},v);if(k!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(v.type)){c+=k||"";continue}}const x=v;switch(x.type){case"escape":{c+=o.text(x);break}case"html":{c+=o.html(x);break}case"link":{c+=o.link(x);break}case"image":{c+=o.image(x);break}case"strong":{c+=o.strong(x);break}case"em":{c+=o.em(x);break}case"codespan":{c+=o.codespan(x);break}case"br":{c+=o.br(x);break}case"del":{c+=o.del(x);break}case"text":{c+=o.text(x);break}default:{const k='Token with "'+x.type+'" type was not found.';if(this.options.silent)return console.error(k),"";throw new Error(k)}}}return c}},cb=(G_=class{constructor(r){Vn(this,"options");Vn(this,"block");this.options=r||fd}preprocess(r){return r}postprocess(r){return r}processAllTokens(r){return r}provideLexer(){return this.block?Ol.lex:Ol.lexInline}provideParser(){return this.block?Dl.parse:Dl.parseInline}},Vn(G_,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"])),G_),wT=class{constructor(...r){Vn(this,"defaults",Jv());Vn(this,"options",this.setOptions);Vn(this,"parse",this.parseMarkdown(!0));Vn(this,"parseInline",this.parseMarkdown(!1));Vn(this,"Parser",Dl);Vn(this,"Renderer",lb);Vn(this,"TextRenderer",ox);Vn(this,"Lexer",Ol);Vn(this,"Tokenizer",ob);Vn(this,"Hooks",cb);this.use(...r)}walkTokens(r,i){var c,d;let o=[];for(const f of r)switch(o=o.concat(i.call(this,f)),f.type){case"table":{const y=f;for(const v of y.header)o=o.concat(this.walkTokens(v.tokens,i));for(const v of y.rows)for(const x of v)o=o.concat(this.walkTokens(x.tokens,i));break}case"list":{const y=f;o=o.concat(this.walkTokens(y.items,i));break}default:{const y=f;(d=(c=this.defaults.extensions)==null?void 0:c.childTokens)!=null&&d[y.type]?this.defaults.extensions.childTokens[y.type].forEach(v=>{const x=y[v].flat(1/0);o=o.concat(this.walkTokens(x,i))}):y.tokens&&(o=o.concat(this.walkTokens(y.tokens,i)))}}return o}use(...r){const i=this.defaults.extensions||{renderers:{},childTokens:{}};return r.forEach(o=>{const c={...o};if(c.async=this.defaults.async||c.async||!1,o.extensions&&(o.extensions.forEach(d=>{if(!d.name)throw new Error("extension name required");if("renderer"in d){const f=i.renderers[d.name];f?i.renderers[d.name]=function(...y){let v=d.renderer.apply(this,y);return v===!1&&(v=f.apply(this,y)),v}:i.renderers[d.name]=d.renderer}if("tokenizer"in d){if(!d.level||d.level!=="block"&&d.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const f=i[d.level];f?f.unshift(d.tokenizer):i[d.level]=[d.tokenizer],d.start&&(d.level==="block"?i.startBlock?i.startBlock.push(d.start):i.startBlock=[d.start]:d.level==="inline"&&(i.startInline?i.startInline.push(d.start):i.startInline=[d.start]))}"childTokens"in d&&d.childTokens&&(i.childTokens[d.name]=d.childTokens)}),c.extensions=i),o.renderer){const d=this.defaults.renderer||new lb(this.defaults);for(const f in o.renderer){if(!(f in d))throw new Error(`renderer '${f}' does not exist`);if(["options","parser"].includes(f))continue;const y=f,v=o.renderer[y],x=d[y];d[y]=(...k)=>{let D=v.apply(d,k);return D===!1&&(D=x.apply(d,k)),D||""}}c.renderer=d}if(o.tokenizer){const d=this.defaults.tokenizer||new ob(this.defaults);for(const f in o.tokenizer){if(!(f in d))throw new Error(`tokenizer '${f}' does not exist`);if(["options","rules","lexer"].includes(f))continue;const y=f,v=o.tokenizer[y],x=d[y];d[y]=(...k)=>{let D=v.apply(d,k);return D===!1&&(D=x.apply(d,k)),D}}c.tokenizer=d}if(o.hooks){const d=this.defaults.hooks||new cb;for(const f in o.hooks){if(!(f in d))throw new Error(`hook '${f}' does not exist`);if(["options","block"].includes(f))continue;const y=f,v=o.hooks[y],x=d[y];cb.passThroughHooks.has(f)?d[y]=k=>{if(this.defaults.async)return Promise.resolve(v.call(d,k)).then(B=>x.call(d,B));const D=v.call(d,k);return x.call(d,D)}:d[y]=(...k)=>{let D=v.apply(d,k);return D===!1&&(D=x.apply(d,k)),D}}c.hooks=d}if(o.walkTokens){const d=this.defaults.walkTokens,f=o.walkTokens;c.walkTokens=function(y){let v=[];return v.push(f.call(this,y)),d&&(v=v.concat(d.call(this,y))),v}}this.defaults={...this.defaults,...c}}),this}setOptions(r){return this.defaults={...this.defaults,...r},this}lexer(r,i){return Ol.lex(r,i??this.defaults)}parser(r,i){return Dl.parse(r,i??this.defaults)}parseMarkdown(r){return(o,c)=>{const d={...c},f={...this.defaults,...d},y=this.onError(!!f.silent,!!f.async);if(this.defaults.async===!0&&d.async===!1)return y(new Error("marked(): The async option was set to true by an extension. Remove async: false from the parse options object to return a Promise."));if(typeof o>"u"||o===null)return y(new Error("marked(): input parameter is undefined or null"));if(typeof o!="string")return y(new Error("marked(): input parameter is of type "+Object.prototype.toString.call(o)+", string expected"));f.hooks&&(f.hooks.options=f,f.hooks.block=r);const v=f.hooks?f.hooks.provideLexer():r?Ol.lex:Ol.lexInline,x=f.hooks?f.hooks.provideParser():r?Dl.parse:Dl.parseInline;if(f.async)return Promise.resolve(f.hooks?f.hooks.preprocess(o):o).then(k=>v(k,f)).then(k=>f.hooks?f.hooks.processAllTokens(k):k).then(k=>f.walkTokens?Promise.all(this.walkTokens(k,f.walkTokens)).then(()=>k):k).then(k=>x(k,f)).then(k=>f.hooks?f.hooks.postprocess(k):k).catch(y);try{f.hooks&&(o=f.hooks.preprocess(o));let k=v(o,f);f.hooks&&(k=f.hooks.processAllTokens(k)),f.walkTokens&&this.walkTokens(k,f.walkTokens);let D=x(k,f);return f.hooks&&(D=f.hooks.postprocess(D)),D}catch(k){return y(k)}}}onError(r,i){return o=>{if(o.message+=`
|
|
78
78
|
Please report this to https://github.com/markedjs/marked.`,r){const c="<p>An error occurred:</p><pre>"+Bo(o.message+"",!0)+"</pre>";return i?Promise.resolve(c):c}if(i)return Promise.reject(o);throw o}}},pd=new wT;function Bn(r,i){return pd.parse(r,i)}Bn.options=Bn.setOptions=function(r){return pd.setOptions(r),Bn.defaults=pd.defaults,uS(Bn.defaults),Bn},Bn.getDefaults=Jv,Bn.defaults=fd,Bn.use=function(...r){return pd.use(...r),Bn.defaults=pd.defaults,uS(Bn.defaults),Bn},Bn.walkTokens=function(r,i){return pd.walkTokens(r,i)},Bn.parseInline=pd.parseInline,Bn.Parser=Dl,Bn.parser=Dl.parse,Bn.Renderer=lb,Bn.TextRenderer=ox,Bn.Lexer=Ol,Bn.lexer=Ol.lex,Bn.Tokenizer=ob,Bn.Hooks=cb,Bn.parse=Bn,Bn.options,Bn.setOptions,Bn.use,Bn.walkTokens,Bn.parseInline,Dl.parse,Ol.lex;const CT=()=>K.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4993 16.6654C12.0391 16.6654 11.666 17.0385 11.666 17.4987C11.666 17.9589 12.0391 18.332 12.4993 18.332H17.4993C17.9596 18.332 18.3327 17.9589 18.3327 17.4987V12.4987C18.3327 12.0385 17.9596 11.6654 17.4993 11.6654C17.0391 11.6654 16.666 12.0385 16.666 12.4987V15.4869L12.2553 11.0761C11.9298 10.7507 11.4022 10.7507 11.0768 11.0761C10.7513 11.4015 10.7513 11.9292 11.0768 12.2546L15.4875 16.6654H12.4993ZM8.92194 8.92129C9.24737 8.59585 9.24737 8.06821 8.92194 7.74278L4.51119 3.33203H7.49935C7.95959 3.33203 8.33268 2.95893 8.33268 2.4987C8.33268 2.03846 7.95959 1.66537 7.49935 1.66537H2.49935C2.27834 1.66537 2.06637 1.75316 1.91009 1.90944C1.75381 2.06572 1.66602 2.27769 1.66602 2.4987L1.66602 7.4987C1.66602 7.95894 2.03911 8.33203 2.49935 8.33203C2.95959 8.33203 3.33268 7.95894 3.33268 7.4987L3.33268 4.51054L7.74343 8.92129C8.06886 9.24672 8.5965 9.24672 8.92194 8.92129Z",fill:"#525252"})}),kT=()=>K.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M12.4993 16.6654C12.0391 16.6654 11.666 17.0385 11.666 17.4987C11.666 17.9589 12.0391 18.332 12.4993 18.332H17.4993C17.9596 18.332 18.3327 17.9589 18.3327 17.4987V12.4987C18.3327 12.0385 17.9596 11.6654 17.4993 11.6654C17.0391 11.6654 16.666 12.0385 16.666 12.4987V15.4869L12.2553 11.0761C11.9298 10.7507 11.4022 10.7507 11.0768 11.0761C10.7513 11.4015 10.7513 11.9292 11.0768 12.2546L15.4875 16.6654H12.4993ZM8.92194 8.92129C9.24737 8.59585 9.24737 8.06821 8.92194 7.74278L4.51119 3.33203H7.49935C7.95959 3.33203 8.33268 2.95893 8.33268 2.4987C8.33268 2.03846 7.95959 1.66537 7.49935 1.66537H2.49935C2.27834 1.66537 2.06637 1.75316 1.91009 1.90944C1.75381 2.06572 1.66602 2.27769 1.66602 2.4987L1.66602 7.4987C1.66602 7.95894 2.03911 8.33203 2.49935 8.33203C2.95959 8.33203 3.33268 7.95894 3.33268 7.4987L3.33268 4.51054L7.74343 8.92129C8.06886 9.24672 8.5965 9.24672 8.92194 8.92129Z",fill:"#525252"})}),TT=()=>K.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.99935 3.33464C6.31745 3.33464 3.33268 6.3194 3.33268 10.0013C3.33268 13.6832 6.31745 16.668 9.99935 16.668C13.1587 16.668 15.8047 14.4703 16.4922 11.5204L16.1718 11.8406C15.8463 12.166 15.3187 12.166 14.9933 11.8405C14.6679 11.515 14.668 10.9873 14.9935 10.662L16.6606 8.99529C16.8169 8.83904 17.0289 8.75127 17.2499 8.7513C17.4709 8.75133 17.6829 8.83916 17.8391 8.99547L19.5053 10.6621C19.8307 10.9876 19.8306 11.5153 19.5051 11.8406C19.1797 12.166 18.652 12.166 18.3266 11.8405L18.164 11.6778C17.3881 15.4766 14.0275 18.3346 9.99935 18.3346C5.39698 18.3346 1.66602 14.6037 1.66602 10.0013C1.66602 5.39893 5.39698 1.66797 9.99935 1.66797C13.0577 1.66797 15.7302 3.31596 17.1789 5.76837C17.413 6.16463 17.2815 6.67563 16.8853 6.90971C16.489 7.14379 15.978 7.01232 15.7439 6.61605C14.5827 4.65021 12.4442 3.33464 9.99935 3.33464ZM9.99935 5.0013C10.4596 5.0013 10.8327 5.3744 10.8327 5.83464V9.55532L12.9616 10.9746C13.3445 11.2299 13.448 11.7473 13.1927 12.1302C12.9374 12.5132 12.42 12.6166 12.0371 12.3613L9.5371 10.6947C9.30527 10.5401 9.16602 10.2799 9.16602 10.0013V5.83464C9.16602 5.3744 9.53911 5.0013 9.99935 5.0013Z",fill:"#525252"})}),TS=()=>K.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{d:"M15 5L5 15M5 5L15 15",stroke:"#454545",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})}),MT=()=>K.jsx("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.49922 5.5C5.49922 3.567 7.06622 2 8.99922 2C10.9322 2 12.4992 3.567 12.4992 5.5V9.7C12.4992 11.633 10.9322 13.2 8.99922 13.2C7.06622 13.2 5.49922 11.633 5.49922 9.7V5.5ZM8.99922 3.4C7.83942 3.4 6.89922 4.3402 6.89922 5.5V9.7C6.89922 10.8598 7.83942 11.8 8.99922 11.8C10.159 11.8 11.0992 10.8598 11.0992 9.7V5.5C11.0992 4.3402 10.159 3.4 8.99922 3.4ZM3.39922 8.3C3.78582 8.3 4.09922 8.6134 4.09922 9V9.7C4.09922 12.4062 6.29302 14.6 8.99922 14.6C11.7054 14.6 13.8992 12.4062 13.8992 9.7V9C13.8992 8.6134 14.2126 8.3 14.5992 8.3C14.9858 8.3 15.2992 8.6134 15.2992 9V9.7C15.2992 13.1794 12.4786 16 8.99922 16C5.51983 16 2.69922 13.1794 2.69922 9.7V9C2.69922 8.6134 3.01262 8.3 3.39922 8.3Z",fill:"#5F5F5F"})}),AT=()=>K.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 18 18",fill:"none",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M8.52153 3.79548C8.7853 3.53171 9.21295 3.53171 9.47673 3.79548L14.2047 8.52348C14.4685 8.78725 14.4685 9.21491 14.2047 9.47868C13.941 9.74245 13.5133 9.74245 13.2495 9.47868L9.67455 5.90371V13.7291C9.67455 14.1021 9.37215 14.4045 8.99913 14.4045C8.6261 14.4045 8.3237 14.1021 8.3237 13.7291V5.90371L4.74873 9.47868C4.48496 9.74245 4.0573 9.74245 3.79353 9.47868C3.52976 9.21491 3.52976 8.78725 3.79353 8.52348L8.52153 3.79548Z",fill:"white"})}),ET=()=>K.jsxs("svg",{width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[K.jsx("path",{d:"M9 1.5L3 4.5V8.25C3 12.0375 5.5575 15.4275 9 16.5C12.4425 15.4275 15 12.0375 15 8.25V4.5L9 1.5Z",stroke:"#939393",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M6.75 9L8.25 10.5L11.25 7.5",stroke:"#939393",strokeWidth:"1.5",strokeLinecap:"round",strokeLinejoin:"round"})]}),OT=()=>K.jsxs("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[K.jsx("path",{d:"M12.6667 2.66667H3.33333C2.59695 2.66667 2 3.26362 2 4V13.3333C2 14.0697 2.59695 14.6667 3.33333 14.6667H12.6667C13.403 14.6667 14 14.0697 14 13.3333V4C14 3.26362 13.403 2.66667 12.6667 2.66667Z",stroke:"#454545",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"}),K.jsx("path",{d:"M10.6667 1.33333V4M5.33333 1.33333V4M2 6.66667H14",stroke:"#454545",strokeWidth:"1.2",strokeLinecap:"round",strokeLinejoin:"round"})]}),ub=()=>K.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 0 12 12",fill:"none",children:K.jsx("path",{d:"M6.00052 0.765625C6.00053 0.773142 6.00053 0.780651 6.00052 0.78815C6.0026 4.52913 7.05588 6.00052 11.2354 6.00052C7.05588 6.00052 6.0026 7.47192 6.00052 11.2129C5.99844 7.47192 4.94517 6.00052 0.765625 6.00052C4.94517 6.00052 5.99844 4.52913 6.00052 0.78815C6.00052 0.780651 6.00052 0.773142 6.00052 0.765625Z",fill:"white",stroke:"white","stroke-width":"1.04698","stroke-linejoin":"round"})}),DT=()=>K.jsx("svg",{width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{d:"M18 6L6 18M6 6L18 18",stroke:"#868686",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round"})}),MS=()=>K.jsx("svg",{width:"14",height:"14",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5899 3.57611C10.9153 3.90155 10.9153 4.42918 10.5899 4.75462L6.17916 9.16536H15.834C16.2942 9.16536 16.6673 9.53846 16.6673 9.9987C16.6673 10.4589 16.2942 10.832 15.834 10.832H6.17916L10.5899 15.2428C10.9153 15.5682 10.9153 16.0958 10.5899 16.4213C10.2645 16.7467 9.73683 16.7467 9.4114 16.4213L3.57806 10.588C3.25263 10.2625 3.25263 9.73488 3.57806 9.40944L9.4114 3.57611C9.73683 3.25067 10.2645 3.25067 10.5899 3.57611Z",fill:"#525252"})}),lx=()=>K.jsxs("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[K.jsx("g",{"clip-path":"url(#clip0_9265_39109)",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M14.8281 1.49622C15.8439 0.480426 17.4908 0.480428 18.5066 1.49622C19.5224 2.51201 19.5224 4.15894 18.5066 5.17473L10.5376 13.1437C10.5211 13.1602 10.5048 13.1766 10.4886 13.1928C10.249 13.4328 10.0378 13.6444 9.78321 13.8004C9.55953 13.9375 9.31567 14.0385 9.06058 14.0997C8.7702 14.1694 8.47125 14.1692 8.13216 14.1689C8.10921 14.1688 8.08608 14.1688 8.06275 14.1688H6.6673C6.20706 14.1688 5.83396 13.7957 5.83396 13.3355V11.94C5.83396 11.9167 5.83394 11.8936 5.83392 11.8706C5.8336 11.5315 5.83333 11.2326 5.90304 10.9422C5.96428 10.6871 6.06529 10.4433 6.20236 10.2196C6.35839 9.96497 6.56999 9.75377 6.80998 9.51423C6.82622 9.49801 6.8426 9.48167 6.85909 9.46517L14.8281 1.49622ZM17.3281 2.67473C16.9631 2.30981 16.3715 2.30981 16.0066 2.67473L8.0376 10.6437C7.7213 10.96 7.66298 11.0259 7.62343 11.0904C7.57774 11.165 7.54407 11.2463 7.52365 11.3313C7.50599 11.4049 7.50063 11.4927 7.50063 11.94V12.5021H8.06275C8.51006 12.5021 8.5979 12.4968 8.6715 12.4791C8.75653 12.4587 8.83782 12.425 8.91238 12.3793C8.97691 12.3398 9.04281 12.2815 9.35911 11.9652L17.3281 3.99622C17.693 3.6313 17.693 3.03965 17.3281 2.67473ZM5.6329 2.50214L9.16732 2.50214C9.62756 2.50214 10.0007 2.87524 10.0007 3.33548C10.0007 3.79571 9.62756 4.16881 9.16732 4.16881H5.66732C4.9535 4.16881 4.46826 4.16946 4.09318 4.2001C3.72784 4.22995 3.541 4.28406 3.41067 4.35047C3.09706 4.51025 2.8421 4.76522 2.68231 5.07883C2.6159 5.20916 2.56179 5.396 2.53194 5.76134C2.5013 6.13642 2.50065 6.62166 2.50065 7.33548V14.3355C2.50065 15.0493 2.5013 15.5345 2.53194 15.9096C2.56179 16.275 2.6159 16.4618 2.68231 16.5921C2.8421 16.9057 3.09706 17.1607 3.41067 17.3205C3.541 17.3869 3.72784 17.441 4.09318 17.4708C4.46826 17.5015 4.9535 17.5021 5.66732 17.5021H12.6673C13.3811 17.5021 13.8664 17.5015 14.2415 17.4708C14.6068 17.441 14.7936 17.3869 14.924 17.3205C15.2376 17.1607 15.4925 16.9057 15.6523 16.5921C15.7187 16.4618 15.7728 16.275 15.8027 15.9096C15.8333 15.5345 15.834 15.0493 15.834 14.3355V10.8355C15.834 10.3752 16.2071 10.0021 16.6673 10.0021C17.1276 10.0021 17.5007 10.3752 17.5007 10.8355V14.3699C17.5007 15.0407 17.5007 15.5943 17.4638 16.0453C17.4256 16.5137 17.3434 16.9443 17.1373 17.3488C16.8178 17.976 16.3078 18.4859 15.6806 18.8055C15.2762 19.0116 14.8456 19.0937 14.3772 19.132C13.9262 19.1688 13.3726 19.1688 12.7018 19.1688H5.63288C4.96208 19.1688 4.40845 19.1688 3.95746 19.132C3.48905 19.0937 3.05846 19.0116 2.65402 18.8055C2.02681 18.4859 1.51687 17.976 1.1973 17.3488C0.991221 16.9443 0.909084 16.5137 0.870813 16.0453C0.833965 15.5943 0.833974 15.0407 0.833985 14.3699V7.30106C0.833974 6.63025 0.833965 6.07662 0.870813 5.62562C0.909084 5.15721 0.991221 4.72662 1.1973 4.32217C1.51687 3.69497 2.02681 3.18503 2.65402 2.86545C3.05846 2.65938 3.48905 2.57724 3.95746 2.53897C4.40846 2.50212 4.96209 2.50213 5.6329 2.50214Z",fill:"#525252"})}),K.jsx("defs",{children:K.jsx("clipPath",{id:"clip0_9265_39109",children:K.jsx("rect",{width:"20",height:"20",fill:"white"})})})]}),AS=()=>K.jsx("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M9.30056 0.832032H10.6981C11.1374 0.832017 11.5164 0.832004 11.8285 0.857507C12.158 0.884425 12.4857 0.943855 12.801 1.10452C13.2714 1.3442 13.6538 1.72665 13.8935 2.19706C14.0542 2.51237 14.1136 2.84005 14.1405 3.16951C14.1634 3.44932 14.1658 3.78284 14.166 4.16537H17.4993C17.9596 4.16537 18.3327 4.53846 18.3327 4.9987C18.3327 5.45894 17.9596 5.83203 17.4993 5.83203H16.666V14.3665C16.666 15.0373 16.666 15.5909 16.6292 16.0419C16.5909 16.5103 16.5088 16.9409 16.3027 17.3453C15.9831 17.9725 15.4732 18.4825 14.846 18.8021C14.4415 19.0081 14.011 19.0903 13.5425 19.1285C13.0915 19.1654 12.5379 19.1654 11.8671 19.1654H8.13158C7.46078 19.1654 6.90715 19.1654 6.45616 19.1285C5.98775 19.0903 5.55716 19.0081 5.15271 18.8021C4.52551 18.4825 4.01557 17.9725 3.69599 17.3453C3.48992 16.9409 3.40778 16.5103 3.36951 16.0419C3.33266 15.5909 3.33267 15.0373 3.33268 14.3664L3.33268 5.83203H2.49935C2.03911 5.83203 1.66602 5.45894 1.66602 4.9987C1.66602 4.53846 2.03911 4.16537 2.49935 4.16537H5.83271C5.83294 3.78284 5.83529 3.44932 5.85816 3.16951C5.88507 2.84006 5.9445 2.51237 6.10517 2.19706C6.34485 1.72665 6.7273 1.3442 7.19771 1.10452C7.51302 0.943855 7.8407 0.884425 8.17016 0.857507C8.4823 0.832004 8.86127 0.832017 9.30056 0.832032ZM4.99935 5.83203V14.332C4.99935 15.0458 5 15.5311 5.03064 15.9062C5.06049 16.2715 5.1146 16.4584 5.181 16.5887C5.34079 16.9023 5.59576 17.1573 5.90936 17.317C6.0397 17.3835 6.22653 17.4376 6.59188 17.4674C6.96696 17.4981 7.4522 17.4987 8.16602 17.4987H11.8327C12.5465 17.4987 13.0317 17.4981 13.4068 17.4674C13.7722 17.4376 13.959 17.3835 14.0893 17.317C14.4029 17.1573 14.6579 16.9023 14.8177 16.5887C14.8841 16.4584 14.9382 16.2715 14.9681 15.9062C14.9987 15.5311 14.9993 15.0458 14.9993 14.332V5.83203H4.99935ZM12.4993 4.16537H7.49941C7.49978 3.77778 7.50232 3.51285 7.51929 3.30523C7.53778 3.07884 7.56918 2.99491 7.59018 2.95371C7.67007 2.79691 7.79756 2.66942 7.95436 2.58953C7.99556 2.56853 8.07949 2.53714 8.30588 2.51864C8.54199 2.49935 8.85222 2.4987 9.33268 2.4987H10.666C11.1465 2.4987 11.4567 2.49935 11.6928 2.51864C11.9192 2.53714 12.0031 2.56853 12.0443 2.58953C12.2011 2.66942 12.3286 2.79691 12.4085 2.95371C12.4295 2.99491 12.4609 3.07884 12.4794 3.30523C12.4964 3.51285 12.4989 3.77778 12.4993 4.16537ZM8.33268 8.7487C8.79292 8.7487 9.16602 9.12179 9.16602 9.58203V13.7487C9.16602 14.2089 8.79292 14.582 8.33268 14.582C7.87245 14.582 7.49935 14.2089 7.49935 13.7487V9.58203C7.49935 9.12179 7.87245 8.7487 8.33268 8.7487ZM11.666 8.7487C12.1263 8.7487 12.4993 9.12179 12.4993 9.58203V13.7487C12.4993 14.2089 12.1263 14.582 11.666 14.582C11.2058 14.582 10.8327 14.2089 10.8327 13.7487V9.58203C10.8327 9.12179 11.2058 8.7487 11.666 8.7487Z",fill:"#525252"})}),ES=()=>K.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"17",height:"17",viewBox:"0 0 17 17",fill:"none",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M5.27859 1.43945H10.9337C11.4703 1.43944 11.9132 1.43944 12.274 1.46892C12.6487 1.49953 12.9932 1.56524 13.3168 1.7301C13.8185 1.98577 14.2265 2.39371 14.4821 2.89548C14.647 3.21904 14.7127 3.5635 14.7433 3.93824C14.7728 4.29903 14.7728 4.74193 14.7728 5.27857V10.9337C14.7728 11.4703 14.7728 11.9132 14.7433 12.274C14.7127 12.6487 14.647 12.9932 14.4821 13.3168C14.2265 13.8185 13.8185 14.2265 13.3168 14.4821C12.9932 14.647 12.6487 14.7127 12.274 14.7433C11.9132 14.7728 11.4703 14.7728 10.9337 14.7728H5.27857C4.74193 14.7728 4.29903 14.7728 3.93824 14.7433C3.5635 14.7127 3.21904 14.647 2.89548 14.4821C2.39371 14.2265 1.98577 13.8185 1.7301 13.3168C1.56524 12.9932 1.49953 12.6487 1.46892 12.274C1.43944 11.9132 1.43944 11.4703 1.43945 10.9337V5.27859C1.43944 4.74194 1.43944 4.29903 1.46892 3.93824C1.49953 3.5635 1.56524 3.21904 1.7301 2.89548C1.98577 2.39371 2.39371 1.98577 2.89548 1.7301C3.21904 1.56524 3.56351 1.49953 3.93824 1.46892C4.29903 1.43944 4.74194 1.43944 5.27859 1.43945ZM4.04681 2.79782C3.75454 2.8217 3.60507 2.86499 3.5008 2.91811C3.24992 3.04594 3.04594 3.24992 2.91811 3.5008C2.86499 3.60507 2.8217 3.75454 2.79782 4.04681C2.77331 4.34687 2.77279 4.73507 2.77279 5.30612V10.9061C2.77279 11.4772 2.77331 11.8654 2.79782 12.1654C2.8217 12.4577 2.86499 12.6072 2.91811 12.7114C3.04594 12.9623 3.24992 13.1663 3.5008 13.2941C3.60507 13.3473 3.75454 13.3905 4.04681 13.4144C4.34687 13.4389 4.73507 13.4395 5.30612 13.4395H10.9061C11.4772 13.4395 11.8654 13.4389 12.1654 13.4144C12.4577 13.3905 12.6072 13.3473 12.7114 13.2941C12.9623 13.1663 13.1663 12.9623 13.2941 12.7114C13.3473 12.6072 13.3905 12.4577 13.4144 12.1654C13.4389 11.8654 13.4395 11.4772 13.4395 10.9061V5.30612C13.4395 4.73507 13.4389 4.34687 13.4144 4.04681C13.3905 3.75454 13.3473 3.60507 13.2941 3.5008C13.1663 3.24992 12.9623 3.04594 12.7114 2.91811C12.6072 2.86499 12.4577 2.8217 12.1654 2.79782C11.8654 2.77331 11.4772 2.77279 10.9061 2.77279H5.30612C4.73507 2.77279 4.34687 2.77331 4.04681 2.79782Z",fill:"white"})}),jT=()=>K.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M13.2426 4.75736C10.8995 2.41421 7.10051 2.41421 4.75736 4.75736C3.92636 5.58835 3.39104 6.60043 3.14928 7.66595C3.05763 8.0699 2.65587 8.32306 2.25192 8.23141C1.84797 8.13976 1.59481 7.73799 1.68646 7.33405C1.989 6.00065 2.65978 4.73362 3.6967 3.6967C6.62563 0.767767 11.3744 0.767767 14.3033 3.6967C14.9018 4.29519 15.3752 4.79632 15.75 5.21519V3C15.75 2.58579 16.0858 2.25 16.5 2.25C16.9142 2.25 17.25 2.58579 17.25 3V7.5C17.25 7.91421 16.9142 8.25 16.5 8.25H12C11.5858 8.25 11.25 7.91421 11.25 7.5C11.25 7.08579 11.5858 6.75 12 6.75H15.0943C14.7103 6.2873 14.1264 5.64114 13.2426 4.75736ZM15.7481 9.76859C16.152 9.86024 16.4052 10.262 16.3135 10.666C16.011 11.9994 15.3402 13.2664 14.3033 14.3033C11.3744 17.2322 6.62563 17.2322 3.6967 14.3033C3.09821 13.7048 2.62481 13.2037 2.25 12.7848V15C2.25 15.4142 1.91421 15.75 1.5 15.75C1.08579 15.75 0.75 15.4142 0.75 15V10.5C0.75 10.0858 1.08579 9.75 1.5 9.75H6C6.41421 9.75 6.75 10.0858 6.75 10.5C6.75 10.9142 6.41421 11.25 6 11.25H2.90572C3.2897 11.7127 3.87358 12.3589 4.75736 13.2426C7.10051 15.5858 10.8995 15.5858 13.2426 13.2426C14.0736 12.4116 14.609 11.3996 14.8507 10.334C14.9424 9.9301 15.3441 9.67694 15.7481 9.76859Z",fill:"#5F5F5F"})}),RT=()=>K.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M7.40193 1.56149C7.62125 1.06802 8.11061 0.75 8.65062 0.75C10.0862 0.75 11.25 1.91378 11.25 3.34938V6H13.8774C15.716 6 17.1221 7.6389 16.8425 9.45617L16.0348 14.7062C15.8096 16.1697 14.5504 17.25 13.0697 17.25H3C1.75736 17.25 0.75 16.2426 0.75 15V9.75C0.75 8.50736 1.75736 7.5 3 7.5H4.76259L7.40193 1.56149ZM6 15.75H13.0697C13.81 15.75 14.4397 15.2098 14.5522 14.4781L15.3599 9.22809C15.4997 8.31945 14.7967 7.5 13.8774 7.5H11.25C10.4216 7.5 9.75 6.82843 9.75 6V3.34938C9.75 2.77092 9.30325 2.29681 8.73595 2.25326L6.13331 8.10921C6.09578 8.19366 6.05103 8.27344 6 8.34794V15.75ZM4.5 9V15.75H3C2.58579 15.75 2.25 15.4142 2.25 15V9.75C2.25 9.33579 2.58579 9 3 9H4.5Z",fill:"#5F5F5F"})}),LT=()=>K.jsx("svg",{xmlns:"http://www.w3.org/2000/svg",width:"18",height:"18",viewBox:"0 0 18 18",fill:"none",children:K.jsx("path",{"fill-rule":"evenodd","clip-rule":"evenodd",d:"M10.5981 16.4385C10.3788 16.932 9.88939 17.25 9.34938 17.25C7.91378 17.25 6.75 16.0862 6.75 14.6506V12H4.12263C2.28395 12 0.877912 10.3611 1.15747 8.54383L1.96517 3.29383C2.1904 1.83034 3.44958 0.75 4.93026 0.75H15C16.2426 0.75 17.25 1.75736 17.25 3V8.25C17.25 9.49264 16.2426 10.5 15 10.5H13.2374L10.5981 16.4385ZM12 2.25H4.93026C4.19001 2.25 3.56033 2.79019 3.44781 3.52188L2.64011 8.77191C2.50032 9.68055 3.20327 10.5 4.12263 10.5H6.75C7.57843 10.5 8.25 11.1716 8.25 12V14.6506C8.25 15.2291 8.69675 15.7032 9.26405 15.7467L11.8667 9.89079C11.9042 9.80634 11.949 9.72656 12 9.65206V2.25ZM13.5 9V2.25H15C15.4142 2.25 15.75 2.58579 15.75 3V8.25C15.75 8.66421 15.4142 9 15 9H13.5Z",fill:"#5F5F5F"})}),NT=()=>K.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[K.jsxs("g",{"clip-path":"url(#clip0_3131_12441)",children:[K.jsx("path",{d:"M13.5943 12.9714C13.4442 13.9471 12.6047 14.6673 11.6175 14.6673H2.66671C1.93033 14.6673 1.33337 14.0704 1.33337 13.334V8.66732C1.33337 7.93094 1.93033 7.33398 2.66671 7.33398H4.23346C4.49692 7.33398 4.73567 7.17883 4.84267 6.93808L7.18875 1.6594C7.27669 1.46151 7.47293 1.33398 7.68948 1.33398C8.59738 1.33398 9.33337 2.06998 9.33337 2.97788V5.33398C9.33337 5.70217 9.63185 6.00065 10 6.00065H12.3355C13.5613 6.00065 14.4986 7.09325 14.3122 8.30477L13.5943 12.9714Z",fill:"#ADADAD"}),K.jsx("path",{d:"M4.66671 14.6673V7.33398M1.33337 8.66732V13.334C1.33337 14.0704 1.93033 14.6673 2.66671 14.6673H11.6175C12.6047 14.6673 13.4442 13.9471 13.5943 12.9714L14.3122 8.30477C14.4986 7.09325 13.5613 6.00065 12.3355 6.00065H10C9.63185 6.00065 9.33337 5.70217 9.33337 5.33398V2.97788C9.33337 2.06998 8.59738 1.33398 7.68948 1.33398C7.47293 1.33398 7.27669 1.46151 7.18875 1.6594L4.84267 6.93808C4.73567 7.17883 4.49692 7.33398 4.23346 7.33398H2.66671C1.93033 7.33398 1.33337 7.93094 1.33337 8.66732Z",stroke:"#6C6C6C","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),K.jsx("defs",{children:K.jsx("clipPath",{id:"clip0_3131_12441",children:K.jsx("rect",{width:"16",height:"16",fill:"white"})})})]}),zT=()=>K.jsxs("svg",{viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:[K.jsx("path",{d:"M2.24929 4.0474C2.39745 3.08441 2.47152 2.60291 2.70757 2.24113C2.91561 1.92227 3.21034 1.66941 3.55713 1.51227C3.9506 1.33398 4.43776 1.33398 5.41208 1.33398H12.5334C13.2801 1.33398 13.6535 1.33398 13.9387 1.47931C14.1896 1.60714 14.3936 1.81111 14.5214 2.062C14.6667 2.34721 14.6667 2.72058 14.6667 3.46732V6.53398C14.6667 7.28072 14.6667 7.65409 14.5214 7.93931C14.3936 8.19019 14.1896 8.39416 13.9387 8.52199C13.6535 8.66732 13.2801 8.66732 12.5334 8.66732H12.0266C11.7757 8.66732 11.6502 8.66732 11.5407 8.70678C11.4439 8.74165 11.3565 8.79847 11.2853 8.87278C11.2047 8.95684 11.1538 9.07148 11.0519 9.30077L8.81137 14.3419C8.72342 14.5398 8.52718 14.6673 8.31064 14.6673C7.40274 14.6673 6.66674 13.9313 6.66674 13.0234V11.0673C6.66674 10.6939 6.66674 10.5073 6.59408 10.3647C6.53016 10.2392 6.42818 10.1372 6.30274 10.0733C6.16013 10.0007 5.97344 10.0007 5.60008 10.0007H5.06337C3.7783 10.0007 3.13576 10.0007 2.67602 9.73923C2.27251 9.50978 1.96137 9.14711 1.79595 8.7134C1.60747 8.21926 1.70517 7.58419 1.90058 6.31407L2.24929 4.0474Z",fill:"#ADADAD"}),K.jsx("path",{d:"M11.3334 1.33398V8.66732M14.6667 6.53398V3.46732C14.6667 2.72058 14.6667 2.34721 14.5214 2.062C14.3936 1.81111 14.1896 1.60714 13.9387 1.47931C13.6535 1.33398 13.2801 1.33398 12.5334 1.33398H5.41208C4.43776 1.33398 3.9506 1.33398 3.55713 1.51227C3.21034 1.66941 2.91561 1.92227 2.70757 2.24113C2.47152 2.60291 2.39745 3.08441 2.24929 4.0474L1.90058 6.31407C1.70517 7.58419 1.60747 8.21926 1.79595 8.7134C1.96137 9.14711 2.27251 9.50978 2.67602 9.73923C3.13576 10.0007 3.7783 10.0007 5.06337 10.0007H5.60008C5.97344 10.0007 6.16013 10.0007 6.30274 10.0733C6.42818 10.1372 6.53016 10.2392 6.59408 10.3647C6.66674 10.5073 6.66674 10.6939 6.66674 11.0673V13.0234C6.66674 13.9313 7.40274 14.6673 8.31064 14.6673C8.52718 14.6673 8.72342 14.5398 8.81137 14.3419L11.0519 9.30077C11.1538 9.07148 11.2047 8.95684 11.2853 8.87278C11.3565 8.79847 11.4439 8.74165 11.5407 8.70678C11.6502 8.66732 11.7757 8.66732 12.0266 8.66732H12.5334C13.2801 8.66732 13.6535 8.66732 13.9387 8.52199C14.1896 8.39416 14.3936 8.19019 14.5214 7.93931C14.6667 7.65409 14.6667 7.28072 14.6667 6.53398Z",stroke:"#6C6C6C","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})]}),OS=()=>K.jsx("svg",{width:"16",height:"16",viewBox:"0 0 16 16",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:K.jsx("path",{d:"M10 12.0005C8.54614 10.9492 7.2424 9.71853 6.12189 8.34057C5.95937 8.14071 5.95937 7.86027 6.12189 7.66041C7.2424 6.28245 8.54614 5.05183 10 4.00049",stroke:"#383838","stroke-width":"1.33333","stroke-linecap":"round","stroke-linejoin":"round"})}),BT=({text:r,onUpdate:i,onTypingComplete:o})=>{const[c,d]=Ue.useState(""),f=Ue.useRef(null),y=x=>{const W=x.trim().split(/\s+/).length/700*60*1e3,Q=x.length,E=W/Q;return Math.max(5,Math.min(50,E))};Ue.useEffect(()=>{i&&i()},[c,i]),Ue.useEffect(()=>{let x=0;const k=y(r),D=setInterval(()=>{d(r.substring(0,x+1)),x++,x===r.length&&(clearInterval(D),o&&o())},k);return()=>clearInterval(D)},[r,o]);const v=x=>{let k=Bn.parse(x);return k=k.replace(/<table>/g,'<div class="genius-dashboard-table-wrapper"><table>').replace(/<\/table>/g,"</table></div>"),k=k.replace(/<a\s+href=/g,'<a target="_blank" rel="noopener noreferrer" href='),{__html:k}};return K.jsx("div",{ref:f,dangerouslySetInnerHTML:v(c)})};var db={exports:{}},UT=db.exports,DS;function HT(){return DS||(DS=1,function(r){(function(i,o){r.exports?(o.default=o,r.exports=i&&i.document?o(i):o):(i.Highcharts&&i.Highcharts.error(16,!0),i.Highcharts=o(i))})(typeof window<"u"?window:UT,function(i){var o={};function c(d,f,y,v){!d.hasOwnProperty(f)&&(d[f]=v.apply(null,y),i&&typeof CustomEvent=="function"&&i.dispatchEvent(new CustomEvent("HighchartsModuleLoaded",{detail:{path:f,module:d[f]}})))}return c(o,"Core/Globals.js",[],function(){var d,f;return(f=d||(d={})).SVG_NS="http://www.w3.org/2000/svg",f.product="Highcharts",f.version="11.4.8",f.win=i!==void 0?i:{},f.doc=f.win.document,f.svg=f.doc&&f.doc.createElementNS&&!!f.doc.createElementNS(f.SVG_NS,"svg").createSVGRect,f.userAgent=f.win.navigator&&f.win.navigator.userAgent||"",f.isChrome=f.win.chrome,f.isFirefox=f.userAgent.indexOf("Firefox")!==-1,f.isMS=/(edge|msie|trident)/i.test(f.userAgent)&&!f.win.opera,f.isSafari=!f.isChrome&&f.userAgent.indexOf("Safari")!==-1,f.isTouchDevice=/(Mobile|Android|Windows Phone)/.test(f.userAgent),f.isWebKit=f.userAgent.indexOf("AppleWebKit")!==-1,f.deg2rad=2*Math.PI/360,f.hasBidiBug=f.isFirefox&&4>parseInt(f.userAgent.split("Firefox/")[1],10),f.marginNames=["plotTop","marginRight","marginBottom","plotLeft"],f.noop=function(){},f.supportsPassiveEvents=function(){let y=!1;if(!f.isMS){let v=Object.defineProperty({},"passive",{get:function(){y=!0}});f.win.addEventListener&&f.win.removeEventListener&&(f.win.addEventListener("testPassive",f.noop,v),f.win.removeEventListener("testPassive",f.noop,v))}return y}(),f.charts=[],f.composed=[],f.dateFormats={},f.seriesTypes={},f.symbolSizes={},f.chartCount=0,d}),c(o,"Core/Utilities.js",[o["Core/Globals.js"]],function(d){let f,{charts:y,doc:v,win:x}=d;function k(T,_,A,S){let N=_?"Highcharts error":"Highcharts warning";T===32&&(T=`${N}: Deprecated member`);let F=se(T),O=F?`${N} #${T}: www.highcharts.com/errors/${T}/`:T.toString();if(S!==void 0){let re="";F&&(O+="?"),ee(S,function(pe,g){re+=`
|
|
79
79
|
- ${g}: ${pe}`,F&&(O+=encodeURI(g)+"="+encodeURI(pe))}),O+=re}Z(d,"displayError",{chart:A,code:T,message:O,params:S},function(){if(_)throw Error(O);x.console&&k.messages.indexOf(O)===-1&&console.warn(O)}),k.messages.push(O)}function D(T,_){return parseInt(T,_||10)}function B(T){return typeof T=="string"}function W(T){let _=Object.prototype.toString.call(T);return _==="[object Array]"||_==="[object Array Iterator]"}function Q(T,_){return!!T&&typeof T=="object"&&(!_||!W(T))}function E(T){return Q(T)&&typeof T.nodeType=="number"}function Y(T){let _=T&&T.constructor;return!!(Q(T,!0)&&!E(T)&&_&&_.name&&_.name!=="Object")}function se(T){return typeof T=="number"&&!isNaN(T)&&T<1/0&&T>-1/0}function ne(T){return T!=null}function U(T,_,A){let S,N=B(_)&&!ne(A),F=(O,re)=>{ne(O)?T.setAttribute(re,O):N?(S=T.getAttribute(re))||re!=="class"||(S=T.getAttribute(re+"Name")):T.removeAttribute(re)};return B(_)?F(A,_):ee(_,F),S}function q(T){return W(T)?T:[T]}function X(T,_){let A;for(A in T||(T={}),_)T[A]=_[A];return T}function J(){let T=arguments,_=T.length;for(let A=0;A<_;A++){let S=T[A];if(S!=null)return S}}function H(T,_){X(T.style,_)}function P(T){return Math.pow(10,Math.floor(Math.log(T)/Math.LN10))}function ce(T,_){return T>1e14?T:parseFloat(T.toPrecision(_||14))}(k||(k={})).messages=[],Math.easeInOutSine=function(T){return-.5*(Math.cos(Math.PI*T)-1)};let ae=Array.prototype.find?function(T,_){return T.find(_)}:function(T,_){let A,S=T.length;for(A=0;A<S;A++)if(_(T[A],A))return T[A]};function ee(T,_,A){for(let S in T)Object.hasOwnProperty.call(T,S)&&_.call(A||T[S],T[S],S,T)}function L(T,_,A){function S(O,re){let pe=T.removeEventListener;pe&&pe.call(T,O,re,!1)}function N(O){let re,pe;T.nodeName&&(_?(re={})[_]=!0:re=O,ee(re,function(g,C){if(O[C])for(pe=O[C].length;pe--;)S(C,O[C][pe].fn)}))}let F=typeof T=="function"&&T.prototype||T;if(Object.hasOwnProperty.call(F,"hcEvents")){let O=F.hcEvents;if(_){let re=O[_]||[];A?(O[_]=re.filter(function(pe){return A!==pe.fn}),S(_,A)):(N(O),O[_]=[])}else N(O),delete F.hcEvents}}function Z(T,_,A,S){if(A=A||{},v.createEvent&&(T.dispatchEvent||T.fireEvent&&T!==d)){let N=v.createEvent("Events");N.initEvent(_,!0,!0),A=X(N,A),T.dispatchEvent?T.dispatchEvent(A):T.fireEvent(_,A)}else if(T.hcEvents){A.target||X(A,{preventDefault:function(){A.defaultPrevented=!0},target:T,type:_});let N=[],F=T,O=!1;for(;F.hcEvents;)Object.hasOwnProperty.call(F,"hcEvents")&&F.hcEvents[_]&&(N.length&&(O=!0),N.unshift.apply(N,F.hcEvents[_])),F=Object.getPrototypeOf(F);O&&N.sort((re,pe)=>re.order-pe.order),N.forEach(re=>{re.fn.call(T,A)===!1&&A.preventDefault()})}S&&!A.defaultPrevented&&S.call(T,A)}ee({map:"map",each:"forEach",grep:"filter",reduce:"reduce",some:"some"},function(T,_){d[_]=function(A){return k(32,!1,void 0,{[`Highcharts.${_}`]:`use Array.${T}`}),Array.prototype[T].apply(A,[].slice.call(arguments,1))}});let G=function(){let T=Math.random().toString(36).substring(2,9)+"-",_=0;return function(){return"highcharts-"+(f?"":T)+_++}}();return x.jQuery&&(x.jQuery.fn.highcharts=function(){let T=[].slice.call(arguments);if(this[0])return T[0]?(new d[B(T[0])?T.shift():"Chart"](this[0],T[0],T[1]),this):y[U(this[0],"data-highcharts-chart")]}),{addEvent:function(T,_,A,S={}){let N=typeof T=="function"&&T.prototype||T;Object.hasOwnProperty.call(N,"hcEvents")||(N.hcEvents={});let F=N.hcEvents;d.Point&&T instanceof d.Point&&T.series&&T.series.chart&&(T.series.chart.runTrackerClick=!0);let O=T.addEventListener;O&&O.call(T,_,A,!!d.supportsPassiveEvents&&{passive:S.passive===void 0?_.indexOf("touch")!==-1:S.passive,capture:!1}),F[_]||(F[_]=[]);let re={fn:A,order:typeof S.order=="number"?S.order:1/0};return F[_].push(re),F[_].sort((pe,g)=>pe.order-g.order),function(){L(T,_,A)}},arrayMax:function(T){let _=T.length,A=T[0];for(;_--;)T[_]>A&&(A=T[_]);return A},arrayMin:function(T){let _=T.length,A=T[0];for(;_--;)T[_]<A&&(A=T[_]);return A},attr:U,clamp:function(T,_,A){return T>_?T<A?T:A:_},clearTimeout:function(T){ne(T)&&clearTimeout(T)},correctFloat:ce,createElement:function(T,_,A,S,N){let F=v.createElement(T);return _&&X(F,_),N&&H(F,{padding:"0",border:"none",margin:"0"}),A&&H(F,A),S&&S.appendChild(F),F},crisp:(T,_=0,A)=>{let S=_%2/2,N=A?-1:1;return(Math.round(T*N-S)+S)*N},css:H,defined:ne,destroyObjectProperties:function(T,_,A){ee(T,function(S,N){S!==_&&(S!=null&&S.destroy)&&S.destroy(),(S!=null&&S.destroy||!A)&&delete T[N]})},diffObjects:function(T,_,A,S){let N={};return function F(O,re,pe,g){let C=A?re:O;ee(O,function(w,$){if(!g&&S&&S.indexOf($)>-1&&re[$]){w=q(w),pe[$]=[];for(let le=0;le<Math.max(w.length,re[$].length);le++)re[$][le]&&(w[le]===void 0?pe[$][le]=re[$][le]:(pe[$][le]={},F(w[le],re[$][le],pe[$][le],g+1)))}else Q(w,!0)&&!w.nodeType?(pe[$]=W(w)?[]:{},F(w,re[$]||{},pe[$],g+1),Object.keys(pe[$]).length!==0||$==="colorAxis"&&g===0||delete pe[$]):(O[$]!==re[$]||$ in O&&!($ in re))&&$!=="__proto__"&&$!=="constructor"&&(pe[$]=C[$])})}(T,_,N,0),N},discardElement:function(T){T&&T.parentElement&&T.parentElement.removeChild(T)},erase:function(T,_){let A=T.length;for(;A--;)if(T[A]===_){T.splice(A,1);break}},error:k,extend:X,extendClass:function(T,_){let A=function(){};return A.prototype=new T,X(A.prototype,_),A},find:ae,fireEvent:Z,getClosestDistance:function(T,_){let A,S,N,F=!_;return T.forEach(O=>{if(O.length>1)for(N=O.length-1;N>0;N--)(S=O[N]-O[N-1])<0&&!F?(_==null||_(),_=void 0):S&&(A===void 0||S<A)&&(A=S)}),A},getMagnitude:P,getNestedProperty:function(T,_){let A=T.split(".");for(;A.length&&ne(_);){let S=A.shift();if(S===void 0||S==="__proto__")return;if(S==="this"){let F;return Q(_)&&(F=_["@this"]),F??_}let N=_[S];if(!ne(N)||typeof N=="function"||typeof N.nodeType=="number"||N===x)return;_=N}return _},getStyle:function T(_,A,S){let N;if(A==="width"){let O=Math.min(_.offsetWidth,_.scrollWidth),re=_.getBoundingClientRect&&_.getBoundingClientRect().width;return re<O&&re>=O-1&&(O=Math.floor(re)),Math.max(0,O-(T(_,"padding-left",!0)||0)-(T(_,"padding-right",!0)||0))}if(A==="height")return Math.max(0,Math.min(_.offsetHeight,_.scrollHeight)-(T(_,"padding-top",!0)||0)-(T(_,"padding-bottom",!0)||0));let F=x.getComputedStyle(_,void 0);return F&&(N=F.getPropertyValue(A),J(S,A!=="opacity")&&(N=D(N))),N},inArray:function(T,_,A){return k(32,!1,void 0,{"Highcharts.inArray":"use Array.indexOf"}),_.indexOf(T,A)},insertItem:function(T,_){let A,S=T.options.index,N=_.length;for(A=T.options.isInternal?N:0;A<N+1;A++)if(!_[A]||se(S)&&S<J(_[A].options.index,_[A]._i)||_[A].options.isInternal){_.splice(A,0,T);break}return A},isArray:W,isClass:Y,isDOMElement:E,isFunction:function(T){return typeof T=="function"},isNumber:se,isObject:Q,isString:B,keys:function(T){return k(32,!1,void 0,{"Highcharts.keys":"use Object.keys"}),Object.keys(T)},merge:function(){let T,_=arguments,A={},S=function(F,O){return typeof F!="object"&&(F={}),ee(O,function(re,pe){pe!=="__proto__"&&pe!=="constructor"&&(!Q(re,!0)||Y(re)||E(re)?F[pe]=O[pe]:F[pe]=S(F[pe]||{},re))}),F};_[0]===!0&&(A=_[1],_=Array.prototype.slice.call(_,2));let N=_.length;for(T=0;T<N;T++)A=S(A,_[T]);return A},normalizeTickInterval:function(T,_,A,S,N){let F,O=T;A=J(A,P(T));let re=T/A;for(!_&&(_=N?[1,1.2,1.5,2,2.5,3,4,5,6,8,10]:[1,2,2.5,5,10],S===!1&&(A===1?_=_.filter(function(pe){return pe%1==0}):A<=.1&&(_=[1/A]))),F=0;F<_.length&&(O=_[F],(!N||!(O*A>=T))&&(N||!(re<=(_[F]+(_[F+1]||_[F]))/2)));F++);return ce(O*A,-Math.round(Math.log(.001)/Math.LN10))},objectEach:ee,offset:function(T){let _=v.documentElement,A=T.parentElement||T.parentNode?T.getBoundingClientRect():{top:0,left:0,width:0,height:0};return{top:A.top+(x.pageYOffset||_.scrollTop)-(_.clientTop||0),left:A.left+(x.pageXOffset||_.scrollLeft)-(_.clientLeft||0),width:A.width,height:A.height}},pad:function(T,_,A){return Array((_||2)+1-String(T).replace("-","").length).join(A||"0")+T},pick:J,pInt:D,pushUnique:function(T,_){return 0>T.indexOf(_)&&!!T.push(_)},relativeLength:function(T,_,A){return/%$/.test(T)?_*parseFloat(T)/100+(A||0):parseFloat(T)},removeEvent:L,replaceNested:function(T,..._){let A,S;do for(S of(A=T,_))T=T.replace(S[0],S[1]);while(T!==A);return T},splat:q,stableSort:function(T,_){let A,S,N=T.length;for(S=0;S<N;S++)T[S].safeI=S;for(T.sort(function(F,O){return(A=_(F,O))===0?F.safeI-O.safeI:A}),S=0;S<N;S++)delete T[S].safeI},syncTimeout:function(T,_,A){return _>0?setTimeout(T,_,A):(T.call(0,A),-1)},timeUnits:{millisecond:1,second:1e3,minute:6e4,hour:36e5,day:864e5,week:6048e5,month:24192e5,year:314496e5},uniqueKey:G,useSerialIds:function(T){return f=J(T,f)},wrap:function(T,_,A){let S=T[_];T[_]=function(){let N=arguments,F=this;return A.apply(this,[function(){return S.apply(F,arguments.length?arguments:N)}].concat([].slice.call(arguments)))}}}}),c(o,"Core/Chart/ChartDefaults.js",[],function(){return{alignThresholds:!1,panning:{enabled:!1,type:"x"},styledMode:!1,borderRadius:0,colorCount:10,allowMutatingData:!0,ignoreHiddenSeries:!0,spacing:[10,10,15,10],resetZoomButton:{theme:{},position:{}},reflow:!0,type:"line",zooming:{singleTouch:!1,resetButton:{theme:{zIndex:6},position:{align:"right",x:-10,y:10}}},width:null,height:null,borderColor:"#334eff",backgroundColor:"#ffffff",plotBorderColor:"#cccccc"}}),c(o,"Core/Color/Palettes.js",[],function(){return{colors:["#2caffe","#544fc5","#00e272","#fe6a35","#6b8abc","#d568fb","#2ee0ca","#fa4b42","#feb56a","#91e8e1"]}}),c(o,"Core/Time.js",[o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f){let{win:y}=d,{defined:v,error:x,extend:k,isNumber:D,isObject:B,merge:W,objectEach:Q,pad:E,pick:Y,splat:se,timeUnits:ne}=f,U=d.isSafari&&y.Intl&&y.Intl.DateTimeFormat.prototype.formatRange,q=d.isSafari&&y.Intl&&!y.Intl.DateTimeFormat.prototype.formatRange;class X{constructor(H){this.options={},this.useUTC=!1,this.variableTimezone=!1,this.Date=y.Date,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.update(H)}get(H,P){if(this.variableTimezone||this.timezoneOffset){let ce=P.getTime(),ae=ce-this.getTimezoneOffset(P);P.setTime(ae);let ee=P["getUTC"+H]();return P.setTime(ce),ee}return this.useUTC?P["getUTC"+H]():P["get"+H]()}set(H,P,ce){if(this.variableTimezone||this.timezoneOffset){if(H==="Milliseconds"||H==="Seconds"||H==="Minutes"&&this.getTimezoneOffset(P)%36e5==0)return P["setUTC"+H](ce);let ae=this.getTimezoneOffset(P),ee=P.getTime()-ae;P.setTime(ee),P["setUTC"+H](ce);let L=this.getTimezoneOffset(P);return ee=P.getTime()+L,P.setTime(ee)}return this.useUTC||U&&H==="FullYear"?P["setUTC"+H](ce):P["set"+H](ce)}update(H={}){let P=Y(H.useUTC,!0);this.options=H=W(!0,this.options,H),this.Date=H.Date||y.Date||Date,this.useUTC=P,this.timezoneOffset=P&&H.timezoneOffset||void 0,this.getTimezoneOffset=this.timezoneOffsetFunction(),this.variableTimezone=P&&!!(H.getTimezoneOffset||H.timezone)}makeTime(H,P,ce,ae,ee,L){let Z,G,T;return this.useUTC?(Z=this.Date.UTC.apply(0,arguments),G=this.getTimezoneOffset(Z),Z+=G,G!==(T=this.getTimezoneOffset(Z))?Z+=T-G:G-36e5!==this.getTimezoneOffset(Z-36e5)||q||(Z-=36e5)):Z=new this.Date(H,P,Y(ce,1),Y(ae,0),Y(ee,0),Y(L,0)).getTime(),Z}timezoneOffsetFunction(){let H=this,P=this.options,ce=P.getTimezoneOffset;return this.useUTC?P.timezone?ae=>{try{let ee=`shortOffset,${P.timezone||""}`,[L,Z,G,T,_=0]=(X.formatCache[ee]=X.formatCache[ee]||Intl.DateTimeFormat("en",{timeZone:P.timezone,timeZoneName:"shortOffset"})).format(ae).split(/(GMT|:)/).map(Number),A=-(36e5*(G+_/60));if(D(A))return A}catch{x(34)}return 0}:this.useUTC&&ce?ae=>6e4*ce(ae.valueOf()):()=>6e4*(H.timezoneOffset||0):ae=>6e4*new Date(ae.toString()).getTimezoneOffset()}dateFormat(H,P,ce){if(!v(P)||isNaN(P))return d.defaultOptions.lang&&d.defaultOptions.lang.invalidDate||"";H=Y(H,"%Y-%m-%d %H:%M:%S");let ae=this,ee=new this.Date(P),L=this.get("Hours",ee),Z=this.get("Day",ee),G=this.get("Date",ee),T=this.get("Month",ee),_=this.get("FullYear",ee),A=d.defaultOptions.lang,S=A&&A.weekdays,N=A&&A.shortWeekdays;return Q(k({a:N?N[Z]:S[Z].substr(0,3),A:S[Z],d:E(G),e:E(G,2," "),w:Z,b:A.shortMonths[T],B:A.months[T],m:E(T+1),o:T+1,y:_.toString().substr(2,2),Y:_,H:E(L),k:L,I:E(L%12||12),l:L%12||12,M:E(this.get("Minutes",ee)),p:L<12?"AM":"PM",P:L<12?"am":"pm",S:E(this.get("Seconds",ee)),L:E(Math.floor(P%1e3),3)},d.dateFormats),function(F,O){for(;H.indexOf("%"+O)!==-1;)H=H.replace("%"+O,typeof F=="function"?F.call(ae,P):F)}),ce?H.substr(0,1).toUpperCase()+H.substr(1):H}resolveDTLFormat(H){return B(H,!0)?H:{main:(H=se(H))[0],from:H[1],to:H[2]}}getTimeTicks(H,P,ce,ae){let ee,L,Z,G,T=this,_=T.Date,A=[],S={},N=new _(P),F=H.unitRange,O=H.count||1;if(ae=Y(ae,1),v(P)){T.set("Milliseconds",N,F>=ne.second?0:O*Math.floor(T.get("Milliseconds",N)/O)),F>=ne.second&&T.set("Seconds",N,F>=ne.minute?0:O*Math.floor(T.get("Seconds",N)/O)),F>=ne.minute&&T.set("Minutes",N,F>=ne.hour?0:O*Math.floor(T.get("Minutes",N)/O)),F>=ne.hour&&T.set("Hours",N,F>=ne.day?0:O*Math.floor(T.get("Hours",N)/O)),F>=ne.day&&T.set("Date",N,F>=ne.month?1:Math.max(1,O*Math.floor(T.get("Date",N)/O))),F>=ne.month&&(T.set("Month",N,F>=ne.year?0:O*Math.floor(T.get("Month",N)/O)),L=T.get("FullYear",N)),F>=ne.year&&(L-=L%O,T.set("FullYear",N,L)),F===ne.week&&(G=T.get("Day",N),T.set("Date",N,T.get("Date",N)-G+ae+(G<ae?-7:0))),L=T.get("FullYear",N);let re=T.get("Month",N),pe=T.get("Date",N),g=T.get("Hours",N);P=N.getTime(),(T.variableTimezone||!T.useUTC)&&v(ce)&&(Z=ce-P>4*ne.month||T.getTimezoneOffset(P)!==T.getTimezoneOffset(ce));let C=N.getTime();for(ee=1;C<ce;)A.push(C),F===ne.year?C=T.makeTime(L+ee*O,0):F===ne.month?C=T.makeTime(L,re+ee*O):Z&&(F===ne.day||F===ne.week)?C=T.makeTime(L,re,pe+ee*O*(F===ne.day?1:7)):Z&&F===ne.hour&&O>1?C=T.makeTime(L,re,pe,g+ee*O):C+=F*O,ee++;A.push(C),F<=ne.hour&&A.length<1e4&&A.forEach(function(w){w%18e5==0&&T.dateFormat("%H%M%S%L",w)==="000000000"&&(S[w]="day")})}return A.info=k(H,{higherRanks:S,totalRange:F*O}),A}getDateFormat(H,P,ce,ae){let ee=this.dateFormat("%m-%d %H:%M:%S.%L",P),L="01-01 00:00:00.000",Z={millisecond:15,second:12,minute:9,hour:6,day:3},G="millisecond",T=G;for(G in ne){if(H===ne.week&&+this.dateFormat("%w",P)===ce&&ee.substr(6)===L.substr(6)){G="week";break}if(ne[G]>H){G=T;break}if(Z[G]&&ee.substr(Z[G])!==L.substr(Z[G]))break;G!=="week"&&(T=G)}return this.resolveDTLFormat(ae[G]).main}}return X.formatCache={},X}),c(o,"Core/Defaults.js",[o["Core/Chart/ChartDefaults.js"],o["Core/Globals.js"],o["Core/Color/Palettes.js"],o["Core/Time.js"],o["Core/Utilities.js"]],function(d,f,y,v,x){let{isTouchDevice:k}=f,{fireEvent:D,merge:B}=x,W={colors:y.colors,symbols:["circle","diamond","square","triangle","triangle-down"],lang:{loading:"Loading...",months:["January","February","March","April","May","June","July","August","September","October","November","December"],shortMonths:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],weekdays:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],decimalPoint:".",numericSymbols:["k","M","G","T","P","E"],resetZoom:"Reset zoom",resetZoomTitle:"Reset zoom level 1:1",thousandsSep:" "},global:{buttonTheme:{fill:"#f7f7f7",padding:8,r:2,stroke:"#cccccc","stroke-width":1,style:{color:"#333333",cursor:"pointer",fontSize:"0.8em",fontWeight:"normal"},states:{hover:{fill:"#e6e6e6"},select:{fill:"#e6e9ff",style:{color:"#000000",fontWeight:"bold"}},disabled:{style:{color:"#cccccc"}}}}},time:{Date:void 0,getTimezoneOffset:void 0,timezone:void 0,timezoneOffset:0,useUTC:!0},chart:d,title:{style:{color:"#333333",fontWeight:"bold"},text:"Chart title",align:"center",margin:15,widthAdjust:-44},subtitle:{style:{color:"#666666",fontSize:"0.8em"},text:"",align:"center",widthAdjust:-44},caption:{margin:15,style:{color:"#666666",fontSize:"0.8em"},text:"",align:"left",verticalAlign:"bottom"},plotOptions:{},legend:{enabled:!0,align:"center",alignColumns:!0,className:"highcharts-no-tooltip",events:{},layout:"horizontal",itemMarginBottom:2,itemMarginTop:2,labelFormatter:function(){return this.name},borderColor:"#999999",borderRadius:0,navigation:{style:{fontSize:"0.8em"},activeColor:"#0022ff",inactiveColor:"#cccccc"},itemStyle:{color:"#333333",cursor:"pointer",fontSize:"0.8em",textDecoration:"none",textOverflow:"ellipsis"},itemHoverStyle:{color:"#000000"},itemHiddenStyle:{color:"#666666",textDecoration:"line-through"},shadow:!1,itemCheckboxStyle:{position:"absolute",width:"13px",height:"13px"},squareSymbol:!0,symbolPadding:5,verticalAlign:"bottom",x:0,y:0,title:{style:{fontSize:"0.8em",fontWeight:"bold"}}},loading:{labelStyle:{fontWeight:"bold",position:"relative",top:"45%"},style:{position:"absolute",backgroundColor:"#ffffff",opacity:.5,textAlign:"center"}},tooltip:{enabled:!0,animation:{duration:300,easing:E=>Math.sqrt(1-Math.pow(E-1,2))},borderRadius:3,dateTimeLabelFormats:{millisecond:"%A, %e %b, %H:%M:%S.%L",second:"%A, %e %b, %H:%M:%S",minute:"%A, %e %b, %H:%M",hour:"%A, %e %b, %H:%M",day:"%A, %e %b %Y",week:"Week from %A, %e %b %Y",month:"%B %Y",year:"%Y"},footerFormat:"",headerShape:"callout",hideDelay:500,padding:8,shape:"callout",shared:!1,snap:k?25:10,headerFormat:'<span style="font-size: 0.8em">{point.key}</span><br/>',pointFormat:'<span style="color:{point.color}">●</span> {series.name}: <b>{point.y}</b><br/>',backgroundColor:"#ffffff",borderWidth:void 0,shadow:!0,stickOnContact:!1,style:{color:"#333333",cursor:"default",fontSize:"0.8em"},useHTML:!1},credits:{enabled:!0,href:"https://www.highcharts.com?credits",position:{align:"right",x:-10,verticalAlign:"bottom",y:-5},style:{cursor:"pointer",color:"#999999",fontSize:"0.6em"},text:"Highcharts.com"}};W.chart.styledMode=!1;let Q=new v(W.time);return{defaultOptions:W,defaultTime:Q,getOptions:function(){return W},setOptions:function(E){return D(f,"setOptions",{options:E}),B(!0,W,E),(E.time||E.global)&&(f.time?f.time.update(B(W.global,W.time,E.global,E.time)):f.time=Q),W}}}),c(o,"Core/Color/Color.js",[o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f){let{isNumber:y,merge:v,pInt:x}=f;class k{static parse(B){return B?new k(B):k.None}constructor(B){let W,Q,E,Y;this.rgba=[NaN,NaN,NaN,NaN],this.input=B;let se=d.Color;if(se&&se!==k)return new se(B);if(typeof B=="object"&&B.stops!==void 0)this.stops=B.stops.map(ne=>new k(ne[1]));else if(typeof B=="string"){if(this.input=B=k.names[B.toLowerCase()]||B,B.charAt(0)==="#"){let ne=B.length,U=parseInt(B.substr(1),16);ne===7?Q=[(16711680&U)>>16,(65280&U)>>8,255&U,1]:ne===4&&(Q=[(3840&U)>>4|(3840&U)>>8,(240&U)>>4|240&U,(15&U)<<4|15&U,1])}if(!Q)for(E=k.parsers.length;E--&&!Q;)(W=(Y=k.parsers[E]).regex.exec(B))&&(Q=Y.parse(W))}Q&&(this.rgba=Q)}get(B){let W=this.input,Q=this.rgba;if(typeof W=="object"&&this.stops!==void 0){let E=v(W);return E.stops=[].slice.call(E.stops),this.stops.forEach((Y,se)=>{E.stops[se]=[E.stops[se][0],Y.get(B)]}),E}return Q&&y(Q[0])?B!=="rgb"&&(B||Q[3]!==1)?B==="a"?`${Q[3]}`:"rgba("+Q.join(",")+")":"rgb("+Q[0]+","+Q[1]+","+Q[2]+")":W}brighten(B){let W=this.rgba;if(this.stops)this.stops.forEach(function(Q){Q.brighten(B)});else if(y(B)&&B!==0)for(let Q=0;Q<3;Q++)W[Q]+=x(255*B),W[Q]<0&&(W[Q]=0),W[Q]>255&&(W[Q]=255);return this}setOpacity(B){return this.rgba[3]=B,this}tweenTo(B,W){let Q=this.rgba,E=B.rgba;if(!y(Q[0])||!y(E[0]))return B.input||"none";let Y=E[3]!==1||Q[3]!==1;return(Y?"rgba(":"rgb(")+Math.round(E[0]+(Q[0]-E[0])*(1-W))+","+Math.round(E[1]+(Q[1]-E[1])*(1-W))+","+Math.round(E[2]+(Q[2]-E[2])*(1-W))+(Y?","+(E[3]+(Q[3]-E[3])*(1-W)):"")+")"}}return k.names={white:"#ffffff",black:"#000000"},k.parsers=[{regex:/rgba\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d?(?:\.\d+)?)\s*\)/,parse:function(D){return[x(D[1]),x(D[2]),x(D[3]),parseFloat(D[4],10)]}},{regex:/rgb\(\s*(\d{1,3})\s*,\s*(\d{1,3})\s*,\s*(\d{1,3})\s*\)/,parse:function(D){return[x(D[1]),x(D[2]),x(D[3]),1]}}],k.None=new k(""),k}),c(o,"Core/Animation/Fx.js",[o["Core/Color/Color.js"],o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f,y){let{parse:v}=d,{win:x}=f,{isNumber:k,objectEach:D}=y;class B{constructor(Q,E,Y){this.pos=NaN,this.options=E,this.elem=Q,this.prop=Y}dSetter(){let Q=this.paths,E=Q&&Q[0],Y=Q&&Q[1],se=this.now||0,ne=[];if(se!==1&&E&&Y)if(E.length===Y.length&&se<1)for(let U=0;U<Y.length;U++){let q=E[U],X=Y[U],J=[];for(let H=0;H<X.length;H++){let P=q[H],ce=X[H];k(P)&&k(ce)&&!(X[0]==="A"&&(H===4||H===5))?J[H]=P+se*(ce-P):J[H]=ce}ne.push(J)}else ne=Y;else ne=this.toD||[];this.elem.attr("d",ne,void 0,!0)}update(){let Q=this.elem,E=this.prop,Y=this.now,se=this.options.step;this[E+"Setter"]?this[E+"Setter"]():Q.attr?Q.element&&Q.attr(E,Y,null,!0):Q.style[E]=Y+this.unit,se&&se.call(Q,Y,this)}run(Q,E,Y){let se=this,ne=se.options,U=function(J){return!U.stopped&&se.step(J)},q=x.requestAnimationFrame||function(J){setTimeout(J,13)},X=function(){for(let J=0;J<B.timers.length;J++)B.timers[J]()||B.timers.splice(J--,1);B.timers.length&&q(X)};Q!==E||this.elem["forceAnimate:"+this.prop]?(this.startTime=+new Date,this.start=Q,this.end=E,this.unit=Y,this.now=this.start,this.pos=0,U.elem=this.elem,U.prop=this.prop,U()&&B.timers.push(U)===1&&q(X)):(delete ne.curAnim[this.prop],ne.complete&&Object.keys(ne.curAnim).length===0&&ne.complete.call(this.elem))}step(Q){let E,Y,se=+new Date,ne=this.options,U=this.elem,q=ne.complete,X=ne.duration,J=ne.curAnim;return U.attr&&!U.element?E=!1:Q||se>=X+this.startTime?(this.now=this.end,this.pos=1,this.update(),J[this.prop]=!0,Y=!0,D(J,function(H){H!==!0&&(Y=!1)}),Y&&q&&q.call(U),E=!1):(this.pos=ne.easing((se-this.startTime)/X),this.now=this.start+(this.end-this.start)*this.pos,this.update(),E=!0),E}initPath(Q,E,Y){let se=Q.startX,ne=Q.endX,U=Y.slice(),q=Q.isArea,X=q?2:1,J=E&&Y.length>E.length&&Y.hasStackedCliffs,H,P,ce,ae,ee=E&&E.slice();if(!ee||J)return[U,U];function L(G,T){for(;G.length<P;){let _=G[0],A=T[P-G.length];if(A&&_[0]==="M"&&(A[0]==="C"?G[0]=["C",_[1],_[2],_[1],_[2],_[1],_[2]]:G[0]=["L",_[1],_[2]]),G.unshift(_),q){let S=G.pop();G.push(G[G.length-1],S)}}}function Z(G){for(;G.length<P;){let T=G[Math.floor(G.length/X)-1].slice();if(T[0]==="C"&&(T[1]=T[5],T[2]=T[6]),q){let _=G[Math.floor(G.length/X)].slice();G.splice(G.length/2,0,T,_)}else G.push(T)}}if(se&&ne&&ne.length){for(ce=0;ce<se.length;ce++){if(se[ce]===ne[0]){H=ce;break}if(se[0]===ne[ne.length-se.length+ce]){H=ce,ae=!0;break}if(se[se.length-1]===ne[ne.length-se.length+ce]){H=se.length-ce;break}}H===void 0&&(ee=[])}return ee.length&&k(H)&&(P=U.length+H*X,ae?(L(ee,U),Z(U)):(L(U,ee),Z(ee))),[ee,U]}fillSetter(){B.prototype.strokeSetter.apply(this,arguments)}strokeSetter(){this.elem.attr(this.prop,v(this.start).tweenTo(v(this.end),this.pos),void 0,!0)}}return B.timers=[],B}),c(o,"Core/Animation/AnimationUtilities.js",[o["Core/Animation/Fx.js"],o["Core/Utilities.js"]],function(d,f){let{defined:y,getStyle:v,isArray:x,isNumber:k,isObject:D,merge:B,objectEach:W,pick:Q}=f;function E(se){return D(se)?B({duration:500,defer:0},se):{duration:se?500:0,defer:0}}function Y(se,ne){let U=d.timers.length;for(;U--;)d.timers[U].elem!==se||ne&&ne!==d.timers[U].prop||(d.timers[U].stopped=!0)}return{animate:function(se,ne,U){let q,X="",J,H,P;D(U)||(P=arguments,U={duration:P[2],easing:P[3],complete:P[4]}),k(U.duration)||(U.duration=400),U.easing=typeof U.easing=="function"?U.easing:Math[U.easing]||Math.easeInOutSine,U.curAnim=B(ne),W(ne,function(ce,ae){Y(se,ae),H=new d(se,U,ae),J=void 0,ae==="d"&&x(ne.d)?(H.paths=H.initPath(se,se.pathArray,ne.d),H.toD=ne.d,q=0,J=1):se.attr?q=se.attr(ae):(q=parseFloat(v(se,ae))||0,ae!=="opacity"&&(X="px")),J||(J=ce),typeof J=="string"&&J.match("px")&&(J=J.replace(/px/g,"")),H.run(q,J,X)})},animObject:E,getDeferredAnimation:function(se,ne,U){let q=E(ne),X=U?[U]:se.series,J=0,H=0;return X.forEach(P=>{let ce=E(P.options.animation);J=D(ne)&&y(ne.defer)?q.defer:Math.max(J,ce.duration+ce.defer),H=Math.min(q.duration,ce.duration)}),se.renderer.forExport&&(J=0),{defer:Math.max(0,J-H),duration:Math.min(J,H)}},setAnimation:function(se,ne){ne.renderer.globalAnimation=Q(se,ne.options.chart.animation,!0)},stop:Y}}),c(o,"Core/Renderer/HTML/AST.js",[o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f){let{SVG_NS:y,win:v}=d,{attr:x,createElement:k,css:D,error:B,isFunction:W,isString:Q,objectEach:E,splat:Y}=f,{trustedTypes:se}=v,ne=se&&W(se.createPolicy)&&se.createPolicy("highcharts",{createHTML:J=>J}),U=ne?ne.createHTML(""):"",q=function(){try{return!!new DOMParser().parseFromString(U,"text/html")}catch{return!1}}();class X{static filterUserAttributes(H){return E(H,(P,ce)=>{let ae=!0;X.allowedAttributes.indexOf(ce)===-1&&(ae=!1),["background","dynsrc","href","lowsrc","src"].indexOf(ce)!==-1&&(ae=Q(P)&&X.allowedReferences.some(ee=>P.indexOf(ee)===0)),ae||(B(33,!1,void 0,{"Invalid attribute in config":`${ce}`}),delete H[ce]),Q(P)&&H[ce]&&(H[ce]=P.replace(/</g,"<"))}),H}static parseStyle(H){return H.split(";").reduce((P,ce)=>{let ae=ce.split(":").map(L=>L.trim()),ee=ae.shift();return ee&&ae.length&&(P[ee.replace(/-([a-z])/g,L=>L[1].toUpperCase())]=ae.join(":")),P},{})}static setElementHTML(H,P){H.innerHTML=X.emptyHTML,P&&new X(P).addToDOM(H)}constructor(H){this.nodes=typeof H=="string"?this.parseMarkup(H):H}addToDOM(H){return function P(ce,ae){let ee;return Y(ce).forEach(function(L){let Z,G=L.tagName,T=L.textContent?d.doc.createTextNode(L.textContent):void 0,_=X.bypassHTMLFiltering;if(G)if(G==="#text")Z=T;else if(X.allowedTags.indexOf(G)!==-1||_){let A=G==="svg"?y:ae.namespaceURI||y,S=d.doc.createElementNS(A,G),N=L.attributes||{};E(L,function(F,O){O!=="tagName"&&O!=="attributes"&&O!=="children"&&O!=="style"&&O!=="textContent"&&(N[O]=F)}),x(S,_?N:X.filterUserAttributes(N)),L.style&&D(S,L.style),T&&S.appendChild(T),P(L.children||[],S),Z=S}else B(33,!1,void 0,{"Invalid tagName in config":G});Z&&ae.appendChild(Z),ee=Z}),ee}(this.nodes,H)}parseMarkup(H){let P,ce=[];if(H=H.trim().replace(/ style=(["'])/g," data-style=$1"),q)P=new DOMParser().parseFromString(ne?ne.createHTML(H):H,"text/html");else{let ee=k("div");ee.innerHTML=H,P={body:ee}}let ae=(ee,L)=>{let Z=ee.nodeName.toLowerCase(),G={tagName:Z};Z==="#text"&&(G.textContent=ee.textContent||"");let T=ee.attributes;if(T){let _={};[].forEach.call(T,A=>{A.name==="data-style"?G.style=X.parseStyle(A.value):_[A.name]=A.value}),G.attributes=_}if(ee.childNodes.length){let _=[];[].forEach.call(ee.childNodes,A=>{ae(A,_)}),_.length&&(G.children=_)}L.push(G)};return[].forEach.call(P.body.childNodes,ee=>ae(ee,ce)),ce}}return X.allowedAttributes=["alt","aria-controls","aria-describedby","aria-expanded","aria-haspopup","aria-hidden","aria-label","aria-labelledby","aria-live","aria-pressed","aria-readonly","aria-roledescription","aria-selected","class","clip-path","color","colspan","cx","cy","d","dx","dy","disabled","fill","filterUnits","flood-color","flood-opacity","height","href","id","in","in2","markerHeight","markerWidth","offset","opacity","operator","orient","padding","paddingLeft","paddingRight","patternUnits","r","radius","refX","refY","role","scope","slope","src","startOffset","stdDeviation","stroke","stroke-linecap","stroke-width","style","tableValues","result","rowspan","summary","target","tabindex","text-align","text-anchor","textAnchor","textLength","title","type","valign","width","x","x1","x2","xlink:href","y","y1","y2","zIndex"],X.allowedReferences=["https://","http://","mailto:","/","../","./","#"],X.allowedTags=["a","abbr","b","br","button","caption","circle","clipPath","code","dd","defs","div","dl","dt","em","feComponentTransfer","feComposite","feDropShadow","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMorphology","feOffset","feMerge","feMergeNode","filter","h1","h2","h3","h4","h5","h6","hr","i","img","li","linearGradient","marker","ol","p","path","pattern","pre","rect","small","span","stop","strong","style","sub","sup","svg","table","text","textPath","thead","title","tbody","tspan","td","th","tr","u","ul","#text"],X.emptyHTML=U,X.bypassHTMLFiltering=!1,X}),c(o,"Core/Templating.js",[o["Core/Defaults.js"],o["Core/Utilities.js"]],function(d,f){let{defaultOptions:y,defaultTime:v}=d,{extend:x,getNestedProperty:k,isArray:D,isNumber:B,isObject:W,pick:Q,pInt:E}=f,Y={add:(U,q)=>U+q,divide:(U,q)=>q!==0?U/q:"",eq:(U,q)=>U==q,each:function(U){let q=arguments[arguments.length-1];return!!D(U)&&U.map((X,J)=>se(q.body,x(W(X)?X:{"@this":X},{"@index":J,"@first":J===0,"@last":J===U.length-1}))).join("")},ge:(U,q)=>U>=q,gt:(U,q)=>U>q,if:U=>!!U,le:(U,q)=>U<=q,lt:(U,q)=>U<q,multiply:(U,q)=>U*q,ne:(U,q)=>U!=q,subtract:(U,q)=>U-q,unless:U=>!U};function se(U="",q,X){let J=/\{([\w\:\.\,;\-\/<>%@"'’= #\(\)]+)\}/g,H=/\(([\w\:\.\,;\-\/<>%@"'= ]+)\)/g,P=[],ce=/f$/,ae=/\.(\d)/,ee=y.lang,L=X&&X.time||v,Z=X&&X.numberFormatter||ne,G=(N="")=>{let F;return N==="true"||N!=="false"&&((F=Number(N)).toString()===N?F:k(N,q))},T,_,A=0,S;for(;(T=J.exec(U))!==null;){let N=H.exec(T[1]);N&&(T=N,S=!0),_&&_.isBlock||(_={ctx:q,expression:T[1],find:T[0],isBlock:T[1].charAt(0)==="#",start:T.index,startInner:T.index+T[0].length,length:T[0].length});let F=T[1].split(" ")[0].replace("#","");Y[F]&&(_.isBlock&&F===_.fn&&A++,_.fn||(_.fn=F));let O=T[1]==="else";if(_.isBlock&&_.fn&&(T[1]===`/${_.fn}`||O))if(A)!O&&A--;else{let re=_.startInner,pe=U.substr(re,T.index-re);_.body===void 0?(_.body=pe,_.startInner=T.index+T[0].length):_.elseBody=pe,_.find+=pe+T[0],O||(P.push(_),_=void 0)}else _.isBlock||P.push(_);if(N&&!(_!=null&&_.isBlock))break}return P.forEach(N=>{let F,O,{body:re,elseBody:pe,expression:g,fn:C}=N;if(C){let w=[N],$=g.split(" ");for(O=Y[C].length;O--;)w.unshift(G($[O+1]));F=Y[C].apply(q,w),N.isBlock&&typeof F=="boolean"&&(F=se(F?re:pe,q,X))}else{let w=g.split(":");if(F=G(w.shift()||""),w.length&&typeof F=="number"){let $=w.join(":");if(ce.test($)){let le=parseInt(($.match(ae)||["","-1"])[1],10);F!==null&&(F=Z(F,le,ee.decimalPoint,$.indexOf(",")>-1?ee.thousandsSep:""))}else F=L.dateFormat($,F)}}U=U.replace(N.find,Q(F,""))}),S?se(U,q,X):U}function ne(U,q,X,J){let H,P;U=+U||0,q=+q;let ce=y.lang,ae=(U.toString().split(".")[1]||"").split("e")[0].length,ee=U.toString().split("e"),L=q;q===-1?q=Math.min(ae,20):B(q)?q&&ee[1]&&ee[1]<0&&((P=q+ +ee[1])>=0?(ee[0]=(+ee[0]).toExponential(P).split("e")[0],q=P):(ee[0]=ee[0].split(".")[0]||0,U=q<20?(ee[0]*Math.pow(10,ee[1])).toFixed(q):0,ee[1]=0)):q=2;let Z=(Math.abs(ee[1]?ee[0]:U)+Math.pow(10,-Math.max(q,ae)-1)).toFixed(q),G=String(E(Z)),T=G.length>3?G.length%3:0;return X=Q(X,ce.decimalPoint),J=Q(J,ce.thousandsSep),H=(U<0?"-":"")+(T?G.substr(0,T)+J:""),0>+ee[1]&&!L?H="0":H+=G.substr(T).replace(/(\d{3})(?=\d)/g,"$1"+J),q?H+=X+Z.slice(-q):+H==0&&(H="0"),ee[1]&&+H!=0&&(H+="e"+ee[1]),H}return{dateFormat:function(U,q,X){return v.dateFormat(U,q,X)},format:se,helpers:Y,numberFormat:ne}}),c(o,"Core/Renderer/RendererRegistry.js",[o["Core/Globals.js"]],function(d){var f,y;let v;return(y=f||(f={})).rendererTypes={},y.getRendererType=function(x=v){return y.rendererTypes[x]||y.rendererTypes[v]},y.registerRendererType=function(x,k,D){y.rendererTypes[x]=k,(!v||D)&&(v=x,d.Renderer=k)},f}),c(o,"Core/Renderer/RendererUtilities.js",[o["Core/Utilities.js"]],function(d){var f;let{clamp:y,pick:v,pushUnique:x,stableSort:k}=d;return(f||(f={})).distribute=function D(B,W,Q){let E=B,Y=E.reducedLen||W,se=(G,T)=>G.target-T.target,ne=[],U=B.length,q=[],X=ne.push,J,H,P,ce=!0,ae,ee,L=0,Z;for(J=U;J--;)L+=B[J].size;if(L>Y){for(k(B,(G,T)=>(T.rank||0)-(G.rank||0)),P=(Z=B[0].rank===B[B.length-1].rank)?U/2:-1,H=Z?P:U-1;P&&L>Y;)ae=B[J=Math.floor(H)],x(q,J)&&(L-=ae.size),H+=P,Z&&H>=B.length&&(P/=2,H=P);q.sort((G,T)=>T-G).forEach(G=>X.apply(ne,B.splice(G,1)))}for(k(B,se),B=B.map(G=>({size:G.size,targets:[G.target],align:v(G.align,.5)}));ce;){for(J=B.length;J--;)ae=B[J],ee=(Math.min.apply(0,ae.targets)+Math.max.apply(0,ae.targets))/2,ae.pos=y(ee-ae.size*ae.align,0,W-ae.size);for(J=B.length,ce=!1;J--;)J>0&&B[J-1].pos+B[J-1].size>B[J].pos&&(B[J-1].size+=B[J].size,B[J-1].targets=B[J-1].targets.concat(B[J].targets),B[J-1].align=.5,B[J-1].pos+B[J-1].size>W&&(B[J-1].pos=W-B[J-1].size),B.splice(J,1),ce=!0)}return X.apply(E,ne),J=0,B.some(G=>{let T=0;return(G.targets||[]).some(()=>(E[J].pos=G.pos+T,Q!==void 0&&Math.abs(E[J].pos-E[J].target)>Q?(E.slice(0,J+1).forEach(_=>delete _.pos),E.reducedLen=(E.reducedLen||W)-.1*W,E.reducedLen>.1*W&&D(E,W,Q),!0):(T+=E[J].size,J++,!1)))}),k(E,se),E},f}),c(o,"Core/Renderer/SVG/SVGElement.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Color/Color.js"],o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f,y,v){let{animate:x,animObject:k,stop:D}=d,{deg2rad:B,doc:W,svg:Q,SVG_NS:E,win:Y}=y,{addEvent:se,attr:ne,createElement:U,crisp:q,css:X,defined:J,erase:H,extend:P,fireEvent:ce,isArray:ae,isFunction:ee,isObject:L,isString:Z,merge:G,objectEach:T,pick:_,pInt:A,pushUnique:S,replaceNested:N,syncTimeout:F,uniqueKey:O}=v;class re{_defaultGetter(g){let C=_(this[g+"Value"],this[g],this.element?this.element.getAttribute(g):null,0);return/^-?[\d\.]+$/.test(C)&&(C=parseFloat(C)),C}_defaultSetter(g,C,w){w.setAttribute(C,g)}add(g){let C,w=this.renderer,$=this.element;return g&&(this.parentGroup=g),this.textStr!==void 0&&this.element.nodeName==="text"&&w.buildText(this),this.added=!0,(!g||g.handleZ||this.zIndex)&&(C=this.zIndexSetter()),C||(g?g.element:w.box).appendChild($),this.onAdd&&this.onAdd(),this}addClass(g,C){let w=C?"":this.attr("class")||"";return(g=(g||"").split(/ /g).reduce(function($,le){return w.indexOf(le)===-1&&$.push(le),$},w?[w]:[]).join(" "))!==w&&this.attr("class",g),this}afterSetters(){this.doTransform&&(this.updateTransform(),this.doTransform=!1)}align(g,C,w,$=!0){let le,j,z,te,fe={},R=this.renderer,V=R.alignedObjects,ie=!!g;g?(this.alignOptions=g,this.alignByTranslate=C,this.alignTo=w):(g=this.alignOptions||{},C=this.alignByTranslate,w=this.alignTo);let ue=!w||Z(w)?w||"renderer":void 0;ue&&(ie&&S(V,this),w=void 0);let de=_(w,R[ue],R),me=g.align,_e=g.verticalAlign;return le=(de.x||0)+(g.x||0),j=(de.y||0)+(g.y||0),me==="right"?z=1:me==="center"&&(z=2),z&&(le+=((de.width||0)-(g.width||0))/z),fe[C?"translateX":"x"]=Math.round(le),_e==="bottom"?te=1:_e==="middle"&&(te=2),te&&(j+=((de.height||0)-(g.height||0))/te),fe[C?"translateY":"y"]=Math.round(j),$&&(this[this.placed?"animate":"attr"](fe),this.placed=!0),this.alignAttr=fe,this}alignSetter(g){let C={left:"start",center:"middle",right:"end"};C[g]&&(this.alignValue=g,this.element.setAttribute("text-anchor",C[g]))}animate(g,C,w){let $=k(_(C,this.renderer.globalAnimation,!0)),le=$.defer;return W.hidden&&($.duration=0),$.duration!==0?(w&&($.complete=w),F(()=>{this.element&&x(this,g,$)},le)):(this.attr(g,void 0,w||$.complete),T(g,function(j,z){$.step&&$.step.call(this,j,{prop:z,pos:1,elem:this})},this)),this}applyTextOutline(g){let C=this.element;g.indexOf("contrast")!==-1&&(g=g.replace(/contrast/g,this.renderer.getContrast(C.style.fill)));let w=g.split(" "),$=w[w.length-1],le=w[0];if(le&&le!=="none"&&y.svg){this.fakeTS=!0,le=le.replace(/(^[\d\.]+)(.*?)$/g,function(R,V,ie){return 2*Number(V)+ie}),this.removeTextOutline();let j=W.createElementNS(E,"tspan");ne(j,{class:"highcharts-text-outline",fill:$,stroke:$,"stroke-width":le,"stroke-linejoin":"round"});let z=C.querySelector("textPath")||C;[].forEach.call(z.childNodes,R=>{let V=R.cloneNode(!0);V.removeAttribute&&["fill","stroke","stroke-width","stroke"].forEach(ie=>V.removeAttribute(ie)),j.appendChild(V)});let te=0;[].forEach.call(z.querySelectorAll("text tspan"),R=>{te+=Number(R.getAttribute("dy"))});let fe=W.createElementNS(E,"tspan");fe.textContent="",ne(fe,{x:Number(C.getAttribute("x")),dy:-te}),j.appendChild(fe),z.insertBefore(j,z.firstChild)}}attr(g,C,w,$){let{element:le}=this,j=re.symbolCustomAttribs,z,te,fe=this,R;return typeof g=="string"&&C!==void 0&&(z=g,(g={})[z]=C),typeof g=="string"?fe=(this[g+"Getter"]||this._defaultGetter).call(this,g,le):(T(g,function(V,ie){R=!1,$||D(this,ie),this.symbolName&&j.indexOf(ie)!==-1&&(te||(this.symbolAttr(g),te=!0),R=!0),this.rotation&&(ie==="x"||ie==="y")&&(this.doTransform=!0),R||(this[ie+"Setter"]||this._defaultSetter).call(this,V,ie,le)},this),this.afterSetters()),w&&w.call(this),fe}clip(g){if(g&&!g.clipPath){let C=O()+"-",w=this.renderer.createElement("clipPath").attr({id:C}).add(this.renderer.defs);P(g,{clipPath:w,id:C,count:0}),g.add(w)}return this.attr("clip-path",g?`url(${this.renderer.url}#${g.id})`:"none")}crisp(g,C){C=Math.round(C||g.strokeWidth||0);let w=g.x||this.x||0,$=g.y||this.y||0,le=(g.width||this.width||0)+w,j=(g.height||this.height||0)+$,z=q(w,C),te=q($,C);return P(g,{x:z,y:te,width:q(le,C)-z,height:q(j,C)-te}),J(g.strokeWidth)&&(g.strokeWidth=C),g}complexColor(g,C,w){let $=this.renderer,le,j,z,te,fe,R,V,ie,ue,de,me=[],_e;ce(this.renderer,"complexColor",{args:arguments},function(){if(g.radialGradient?j="radialGradient":g.linearGradient&&(j="linearGradient"),j){if(z=g[j],fe=$.gradients,R=g.stops,ue=w.radialReference,ae(z)&&(g[j]=z={x1:z[0],y1:z[1],x2:z[2],y2:z[3],gradientUnits:"userSpaceOnUse"}),j==="radialGradient"&&ue&&!J(z.gradientUnits)&&(te=z,z=G(z,$.getRadialAttr(ue,te),{gradientUnits:"userSpaceOnUse"})),T(z,function(we,Ae){Ae!=="id"&&me.push(Ae,we)}),T(R,function(we){me.push(we)}),fe[me=me.join(",")])de=fe[me].attr("id");else{z.id=de=O();let we=fe[me]=$.createElement(j).attr(z).add($.defs);we.radAttr=te,we.stops=[],R.forEach(function(Ae){Ae[1].indexOf("rgba")===0?(V=(le=f.parse(Ae[1])).get("rgb"),ie=le.get("a")):(V=Ae[1],ie=1);let Re=$.createElement("stop").attr({offset:Ae[0],"stop-color":V,"stop-opacity":ie}).add(we);we.stops.push(Re)})}_e="url("+$.url+"#"+de+")",w.setAttribute(C,_e),w.gradient=me,g.toString=function(){return _e}}})}css(g){let C=this.styles,w={},$=this.element,le,j=!C;if(C&&T(g,function(z,te){C&&C[te]!==z&&(w[te]=z,j=!0)}),j){C&&(g=P(C,w)),g.width===null||g.width==="auto"?delete this.textWidth:$.nodeName.toLowerCase()==="text"&&g.width&&(le=this.textWidth=A(g.width)),P(this.styles,g),le&&!Q&&this.renderer.forExport&&delete g.width;let z=G(g);$.namespaceURI===this.SVG_NS&&(["textOutline","textOverflow","width"].forEach(te=>z&&delete z[te]),z.color&&(z.fill=z.color)),X($,z)}return this.added&&(this.element.nodeName==="text"&&this.renderer.buildText(this),g.textOutline&&this.applyTextOutline(g.textOutline)),this}dashstyleSetter(g){let C,w=this["stroke-width"];if(w==="inherit"&&(w=1),g=g&&g.toLowerCase()){let $=g.replace("shortdashdotdot","3,1,1,1,1,1,").replace("shortdashdot","3,1,1,1").replace("shortdot","1,1,").replace("shortdash","3,1,").replace("longdash","8,3,").replace(/dot/g,"1,3,").replace("dash","4,3,").replace(/,$/,"").split(",");for(C=$.length;C--;)$[C]=""+A($[C])*_(w,NaN);g=$.join(",").replace(/NaN/g,"none"),this.element.setAttribute("stroke-dasharray",g)}}destroy(){var te;let g=this,C=g.element||{},w=g.renderer,$=C.ownerSVGElement,le=C.nodeName==="SPAN"&&g.parentGroup||void 0,j,z;if(C.onclick=C.onmouseout=C.onmouseover=C.onmousemove=C.point=null,D(g),g.clipPath&&$){let fe=g.clipPath;[].forEach.call($.querySelectorAll("[clip-path],[CLIP-PATH]"),function(R){R.getAttribute("clip-path").indexOf(fe.element.id)>-1&&R.removeAttribute("clip-path")}),g.clipPath=fe.destroy()}if(g.connector=(te=g.connector)==null?void 0:te.destroy(),g.stops){for(z=0;z<g.stops.length;z++)g.stops[z].destroy();g.stops.length=0,g.stops=void 0}for(g.safeRemoveChild(C);le&&le.div&&le.div.childNodes.length===0;)j=le.parentGroup,g.safeRemoveChild(le.div),delete le.div,le=j;g.alignOptions&&H(w.alignedObjects,g),T(g,function(fe,R){g[R]&&g[R].parentGroup===g&&g[R].destroy&&g[R].destroy(),delete g[R]})}dSetter(g,C,w){ae(g)&&(typeof g[0]=="string"&&(g=this.renderer.pathToSegments(g)),this.pathArray=g,g=g.reduce(($,le,j)=>le&&le.join?(j?$+" ":"")+le.join(" "):(le||"").toString(),"")),/(NaN| {2}|^$)/.test(g)&&(g="M 0 0"),this[C]!==g&&(w.setAttribute(C,g),this[C]=g)}fillSetter(g,C,w){typeof g=="string"?w.setAttribute(C,g):g&&this.complexColor(g,C,w)}hrefSetter(g,C,w){w.setAttributeNS("http://www.w3.org/1999/xlink",C,g)}getBBox(g,C){let w,$,le,j,{alignValue:z,element:te,renderer:fe,styles:R,textStr:V}=this,{cache:ie,cacheKeys:ue}=fe,de=te.namespaceURI===this.SVG_NS,me=_(C,this.rotation,0),_e=fe.styledMode?te&&re.prototype.getStyle.call(te,"font-size"):R.fontSize;if(J(V)&&((j=V.toString()).indexOf("<")===-1&&(j=j.replace(/\d/g,"0")),j+=["",fe.rootFontSize,_e,me,this.textWidth,z,R.textOverflow,R.fontWeight].join(",")),j&&!g&&(w=ie[j]),!w||w.polygon){if(de||fe.forExport){try{le=this.fakeTS&&function(Ae){let Re=te.querySelector(".highcharts-text-outline");Re&&X(Re,{display:Ae})},ee(le)&&le("none"),w=te.getBBox?P({},te.getBBox()):{width:te.offsetWidth,height:te.offsetHeight,x:0,y:0},ee(le)&&le("")}catch{}(!w||w.width<0)&&(w={x:0,y:0,width:0,height:0})}else w=this.htmlGetBBox();$=w.height,de&&(w.height=$={"11px,17":14,"13px,20":16}[`${_e||""},${Math.round($)}`]||$),me&&(w=this.getRotatedBox(w,me));let we={bBox:w};ce(this,"afterGetBBox",we),w=we.bBox}if(j&&(V===""||w.height>0)){for(;ue.length>250;)delete ie[ue.shift()];ie[j]||ue.push(j),ie[j]=w}return w}getRotatedBox(g,C){let{x:w,y:$,width:le,height:j}=g,{alignValue:z,translateY:te,rotationOriginX:fe=0,rotationOriginY:R=0}=this,V={right:1,center:.5}[z||0]||0,ie=Number(this.element.getAttribute("y")||0)-(te?0:$),ue=C*B,de=(C-90)*B,me=Math.cos(ue),_e=Math.sin(ue),we=le*me,Ae=le*_e,Re=Math.cos(de),Le=Math.sin(de),[[ve,ye],[ge,be]]=[fe,R].map(Rt=>[Rt-Rt*me,Rt*_e]),ke=w+V*(le-we)+ve+be+ie*Re,Ce=ke+we,Me=Ce-j*Re,Oe=Me-we,Ne=$+ie-V*Ae-ye+ge+ie*Le,Ge=Ne+Ae,$e=Ge-j*Le,Xe=$e-Ae,Je=Math.min(ke,Ce,Me,Oe),ot=Math.min(Ne,Ge,$e,Xe),st=Math.max(ke,Ce,Me,Oe)-Je,it=Math.max(Ne,Ge,$e,Xe)-ot;return{x:Je,y:ot,width:st,height:it,polygon:[[ke,Ne],[Ce,Ge],[Me,$e],[Oe,Xe]]}}getStyle(g){return Y.getComputedStyle(this.element||this,"").getPropertyValue(g)}hasClass(g){return(""+this.attr("class")).split(" ").indexOf(g)!==-1}hide(){return this.attr({visibility:"hidden"})}htmlGetBBox(){return{height:0,width:0,x:0,y:0}}constructor(g,C){this.onEvents={},this.opacity=1,this.SVG_NS=E,this.element=C==="span"||C==="body"?U(C):W.createElementNS(this.SVG_NS,C),this.renderer=g,this.styles={},ce(this,"afterInit")}on(g,C){let{onEvents:w}=this;return w[g]&&w[g](),w[g]=se(this.element,g,C),this}opacitySetter(g,C,w){let $=Number(Number(g).toFixed(3));this.opacity=$,w.setAttribute(C,$)}reAlign(){var g;(g=this.alignOptions)!=null&&g.width&&this.alignOptions.align!=="left"&&(this.alignOptions.width=this.getBBox().width,this.placed=!1,this.align())}removeClass(g){return this.attr("class",(""+this.attr("class")).replace(Z(g)?RegExp(`(^| )${g}( |$)`):g," ").replace(/ +/g," ").trim())}removeTextOutline(){let g=this.element.querySelector("tspan.highcharts-text-outline");g&&this.safeRemoveChild(g)}safeRemoveChild(g){let C=g.parentNode;C&&C.removeChild(g)}setRadialReference(g){let C=this.element.gradient&&this.renderer.gradients[this.element.gradient];return this.element.radialReference=g,C&&C.radAttr&&C.animate(this.renderer.getRadialAttr(g,C.radAttr)),this}shadow(g){var le;let{renderer:C}=this,w=G(((le=this.parentGroup)==null?void 0:le.rotation)===90?{offsetX:-1,offsetY:-1}:{},L(g)?g:{}),$=C.shadowDefinition(w);return this.attr({filter:g?`url(${C.url}#${$})`:"none"})}show(g=!0){return this.attr({visibility:g?"inherit":"visible"})}"stroke-widthSetter"(g,C,w){this[C]=g,w.setAttribute(C,g)}strokeWidth(){if(!this.renderer.styledMode)return this["stroke-width"]||0;let g=this.getStyle("stroke-width"),C=0,w;return/px$/.test(g)?C=A(g):g!==""&&(ne(w=W.createElementNS(E,"rect"),{width:g,"stroke-width":0}),this.element.parentNode.appendChild(w),C=w.getBBox().width,w.parentNode.removeChild(w)),C}symbolAttr(g){let C=this;re.symbolCustomAttribs.forEach(function(w){C[w]=_(g[w],C[w])}),C.attr({d:C.renderer.symbols[C.symbolName](C.x,C.y,C.width,C.height,C)})}textSetter(g){g!==this.textStr&&(delete this.textPxLength,this.textStr=g,this.added&&this.renderer.buildText(this),this.reAlign())}titleSetter(g){let C=this.element,w=C.getElementsByTagName("title")[0]||W.createElementNS(this.SVG_NS,"title");C.insertBefore?C.insertBefore(w,C.firstChild):C.appendChild(w),w.textContent=N(_(g,""),[/<[^>]*>/g,""]).replace(/</g,"<").replace(/>/g,">")}toFront(){let g=this.element;return g.parentNode.appendChild(g),this}translate(g,C){return this.attr({translateX:g,translateY:C})}updateTransform(g="transform"){var ie;let{element:C,matrix:w,rotation:$=0,rotationOriginX:le,rotationOriginY:j,scaleX:z,scaleY:te,translateX:fe=0,translateY:R=0}=this,V=["translate("+fe+","+R+")"];J(w)&&V.push("matrix("+w.join(",")+")"),$&&(V.push("rotate("+$+" "+_(le,C.getAttribute("x"),0)+" "+_(j,C.getAttribute("y")||0)+")"),((ie=this.text)==null?void 0:ie.element.tagName)==="SPAN"&&this.text.attr({rotation:$,rotationOriginX:(le||0)-this.padding,rotationOriginY:(j||0)-this.padding})),(J(z)||J(te))&&V.push("scale("+_(z,1)+" "+_(te,1)+")"),V.length&&!(this.text||this).textPath&&C.setAttribute(g,V.join(" "))}visibilitySetter(g,C,w){g==="inherit"?w.removeAttribute(C):this[C]!==g&&w.setAttribute(C,g),this[C]=g}xGetter(g){return this.element.nodeName==="circle"&&(g==="x"?g="cx":g==="y"&&(g="cy")),this._defaultGetter(g)}zIndexSetter(g,C){let w=this.renderer,$=this.parentGroup,le=($||w).element||w.box,j=this.element,z=le===w.box,te,fe,R,V=!1,ie,ue=this.added,de;if(J(g)?(j.setAttribute("data-z-index",g),g=+g,this[C]===g&&(ue=!1)):J(this[C])&&j.removeAttribute("data-z-index"),this[C]=g,ue){for((g=this.zIndex)&&$&&($.handleZ=!0),de=(te=le.childNodes).length-1;de>=0&&!V;de--)ie=!J(R=(fe=te[de]).getAttribute("data-z-index")),fe!==j&&(g<0&&ie&&!z&&!de?(le.insertBefore(j,te[de]),V=!0):(A(R)<=g||ie&&(!J(g)||g>=0))&&(le.insertBefore(j,te[de+1]),V=!0));V||(le.insertBefore(j,te[z?3:0]),V=!0)}return V}}return re.symbolCustomAttribs=["anchorX","anchorY","clockwise","end","height","innerR","r","start","width","x","y"],re.prototype.strokeSetter=re.prototype.fillSetter,re.prototype.yGetter=re.prototype.xGetter,re.prototype.matrixSetter=re.prototype.rotationOriginXSetter=re.prototype.rotationOriginYSetter=re.prototype.rotationSetter=re.prototype.scaleXSetter=re.prototype.scaleYSetter=re.prototype.translateXSetter=re.prototype.translateYSetter=re.prototype.verticalAlignSetter=function(pe,g){this[g]=pe,this.doTransform=!0},re}),c(o,"Core/Renderer/SVG/SVGLabel.js",[o["Core/Renderer/SVG/SVGElement.js"],o["Core/Utilities.js"]],function(d,f){let{defined:y,extend:v,isNumber:x,merge:k,pick:D,removeEvent:B}=f;class W extends d{constructor(E,Y,se,ne,U,q,X,J,H,P){let ce;super(E,"g"),this.paddingLeftSetter=this.paddingSetter,this.paddingRightSetter=this.paddingSetter,this.doUpdate=!1,this.textStr=Y,this.x=se,this.y=ne,this.anchorX=q,this.anchorY=X,this.baseline=H,this.className=P,this.addClass(P==="button"?"highcharts-no-tooltip":"highcharts-label"),P&&this.addClass("highcharts-"+P),this.text=E.text(void 0,0,0,J).attr({zIndex:1}),typeof U=="string"&&((ce=/^url\((.*?)\)$/.test(U))||this.renderer.symbols[U])&&(this.symbolKey=U),this.bBox=W.emptyBBox,this.padding=3,this.baselineOffset=0,this.needsBox=E.styledMode||ce,this.deferredAttr={},this.alignFactor=0}alignSetter(E){let Y={left:0,center:.5,right:1}[E];Y!==this.alignFactor&&(this.alignFactor=Y,this.bBox&&x(this.xSetting)&&this.attr({x:this.xSetting}))}anchorXSetter(E,Y){this.anchorX=E,this.boxAttr(Y,Math.round(E)-this.getCrispAdjust()-this.xSetting)}anchorYSetter(E,Y){this.anchorY=E,this.boxAttr(Y,E-this.ySetting)}boxAttr(E,Y){this.box?this.box.attr(E,Y):this.deferredAttr[E]=Y}css(E){if(E){let Y={};E=k(E),W.textProps.forEach(se=>{E[se]!==void 0&&(Y[se]=E[se],delete E[se])}),this.text.css(Y),"fontSize"in Y||"fontWeight"in Y?this.updateTextPadding():("width"in Y||"textOverflow"in Y)&&this.updateBoxSize()}return d.prototype.css.call(this,E)}destroy(){B(this.element,"mouseenter"),B(this.element,"mouseleave"),this.text&&this.text.destroy(),this.box&&(this.box=this.box.destroy()),d.prototype.destroy.call(this)}fillSetter(E,Y){E&&(this.needsBox=!0),this.fill=E,this.boxAttr(Y,E)}getBBox(E,Y){this.textStr&&this.bBox.width===0&&this.bBox.height===0&&this.updateBoxSize();let{padding:se,height:ne=0,translateX:U=0,translateY:q=0,width:X=0}=this,J=D(this.paddingLeft,se),H=Y??(this.rotation||0),P={width:X,height:ne,x:U+this.bBox.x-J,y:q+this.bBox.y-se+this.baselineOffset};return H&&(P=this.getRotatedBox(P,H)),P}getCrispAdjust(){return(this.renderer.styledMode&&this.box?this.box.strokeWidth():this["stroke-width"]?parseInt(this["stroke-width"],10):0)%2/2}heightSetter(E){this.heightSetting=E,this.doUpdate=!0}afterSetters(){super.afterSetters(),this.doUpdate&&(this.updateBoxSize(),this.doUpdate=!1)}onAdd(){this.text.add(this),this.attr({text:D(this.textStr,""),x:this.x||0,y:this.y||0}),this.box&&y(this.anchorX)&&this.attr({anchorX:this.anchorX,anchorY:this.anchorY})}paddingSetter(E,Y){x(E)?E!==this[Y]&&(this[Y]=E,this.updateTextPadding()):this[Y]=void 0}rSetter(E,Y){this.boxAttr(Y,E)}strokeSetter(E,Y){this.stroke=E,this.boxAttr(Y,E)}"stroke-widthSetter"(E,Y){E&&(this.needsBox=!0),this["stroke-width"]=E,this.boxAttr(Y,E)}"text-alignSetter"(E){this.textAlign=E}textSetter(E){E!==void 0&&this.text.attr({text:E}),this.updateTextPadding(),this.reAlign()}updateBoxSize(){let E,Y=this.text,se={},ne=this.padding,U=this.bBox=(!x(this.widthSetting)||!x(this.heightSetting)||this.textAlign)&&y(Y.textStr)?Y.getBBox(void 0,0):W.emptyBBox;this.width=this.getPaddedWidth(),this.height=(this.heightSetting||U.height||0)+2*ne;let q=this.renderer.fontMetrics(Y);if(this.baselineOffset=ne+Math.min((this.text.firstLineMetrics||q).b,U.height||1/0),this.heightSetting&&(this.baselineOffset+=(this.heightSetting-q.h)/2),this.needsBox&&!Y.textPath){if(!this.box){let X=this.box=this.symbolKey?this.renderer.symbol(this.symbolKey):this.renderer.rect();X.addClass((this.className==="button"?"":"highcharts-label-box")+(this.className?" highcharts-"+this.className+"-box":"")),X.add(this)}E=this.getCrispAdjust(),se.x=E,se.y=(this.baseline?-this.baselineOffset:0)+E,se.width=Math.round(this.width),se.height=Math.round(this.height),this.box.attr(v(se,this.deferredAttr)),this.deferredAttr={}}}updateTextPadding(){let E=this.text;if(!E.textPath){this.updateBoxSize();let Y=this.baseline?0:this.baselineOffset,se=D(this.paddingLeft,this.padding);y(this.widthSetting)&&this.bBox&&(this.textAlign==="center"||this.textAlign==="right")&&(se+={center:.5,right:1}[this.textAlign]*(this.widthSetting-this.bBox.width)),(se!==E.x||Y!==E.y)&&(E.attr("x",se),E.hasBoxWidthChanged&&(this.bBox=E.getBBox(!0)),Y!==void 0&&E.attr("y",Y)),E.x=se,E.y=Y}}widthSetter(E){this.widthSetting=x(E)?E:void 0,this.doUpdate=!0}getPaddedWidth(){let E=this.padding,Y=D(this.paddingLeft,E),se=D(this.paddingRight,E);return(this.widthSetting||this.bBox.width||0)+Y+se}xSetter(E){this.x=E,this.alignFactor&&(E-=this.alignFactor*this.getPaddedWidth(),this["forceAnimate:x"]=!0),this.xSetting=Math.round(E),this.attr("translateX",this.xSetting)}ySetter(E){this.ySetting=this.y=Math.round(E),this.attr("translateY",this.ySetting)}}return W.emptyBBox={width:0,height:0,x:0,y:0},W.textProps=["color","direction","fontFamily","fontSize","fontStyle","fontWeight","lineHeight","textAlign","textDecoration","textOutline","textOverflow","whiteSpace","width"],W}),c(o,"Core/Renderer/SVG/Symbols.js",[o["Core/Utilities.js"]],function(d){let{defined:f,isNumber:y,pick:v}=d;function x(B,W,Q,E,Y){let se=[];if(Y){let ne=Y.start||0,U=v(Y.r,Q),q=v(Y.r,E||Q),X=2e-4/(Y.borderRadius?1:Math.max(U,1)),J=Math.abs((Y.end||0)-ne-2*Math.PI)<X,H=(Y.end||0)-(J?X:0),P=Y.innerR,ce=v(Y.open,J),ae=Math.cos(ne),ee=Math.sin(ne),L=Math.cos(H),Z=Math.sin(H),G=v(Y.longArc,H-ne-Math.PI<X?0:1),T=["A",U,q,0,G,v(Y.clockwise,1),B+U*L,W+q*Z];T.params={start:ne,end:H,cx:B,cy:W},se.push(["M",B+U*ae,W+q*ee],T),f(P)&&((T=["A",P,P,0,G,f(Y.clockwise)?1-Y.clockwise:0,B+P*ae,W+P*ee]).params={start:H,end:ne,cx:B,cy:W},se.push(ce?["M",B+P*L,W+P*Z]:["L",B+P*L,W+P*Z],T)),ce||se.push(["Z"])}return se}function k(B,W,Q,E,Y){return Y&&Y.r?D(B,W,Q,E,Y):[["M",B,W],["L",B+Q,W],["L",B+Q,W+E],["L",B,W+E],["Z"]]}function D(B,W,Q,E,Y){let se=(Y==null?void 0:Y.r)||0;return[["M",B+se,W],["L",B+Q-se,W],["A",se,se,0,0,1,B+Q,W+se],["L",B+Q,W+E-se],["A",se,se,0,0,1,B+Q-se,W+E],["L",B+se,W+E],["A",se,se,0,0,1,B,W+E-se],["L",B,W+se],["A",se,se,0,0,1,B+se,W],["Z"]]}return{arc:x,callout:function(B,W,Q,E,Y){let se=Math.min(Y&&Y.r||0,Q,E),ne=se+6,U=Y&&Y.anchorX,q=Y&&Y.anchorY||0,X=D(B,W,Q,E,{r:se});if(!y(U)||U<Q&&U>0&&q<E&&q>0)return X;if(B+U>Q-ne)if(q>W+ne&&q<W+E-ne)X.splice(3,1,["L",B+Q,q-6],["L",B+Q+6,q],["L",B+Q,q+6],["L",B+Q,W+E-se]);else if(U<Q){let J=q<W+ne,H=J?W:W+E;X.splice(J?2:5,0,["L",U,q],["L",B+Q-se,H])}else X.splice(3,1,["L",B+Q,E/2],["L",U,q],["L",B+Q,E/2],["L",B+Q,W+E-se]);else if(B+U<ne)if(q>W+ne&&q<W+E-ne)X.splice(7,1,["L",B,q+6],["L",B-6,q],["L",B,q-6],["L",B,W+se]);else if(U>0){let J=q<W+ne,H=J?W:W+E;X.splice(J?1:6,0,["L",U,q],["L",B+se,H])}else X.splice(7,1,["L",B,E/2],["L",U,q],["L",B,E/2],["L",B,W+se]);else q>E&&U<Q-ne?X.splice(5,1,["L",U+6,W+E],["L",U,W+E+6],["L",U-6,W+E],["L",B+se,W+E]):q<0&&U>ne&&X.splice(1,1,["L",U-6,W],["L",U,W-6],["L",U+6,W],["L",Q-se,W]);return X},circle:function(B,W,Q,E){return x(B+Q/2,W+E/2,Q/2,E/2,{start:.5*Math.PI,end:2.5*Math.PI,open:!1})},diamond:function(B,W,Q,E){return[["M",B+Q/2,W],["L",B+Q,W+E/2],["L",B+Q/2,W+E],["L",B,W+E/2],["Z"]]},rect:k,roundedRect:D,square:k,triangle:function(B,W,Q,E){return[["M",B+Q/2,W],["L",B+Q,W+E],["L",B,W+E],["Z"]]},"triangle-down":function(B,W,Q,E){return[["M",B,W],["L",B+Q,W],["L",B+Q/2,W+E],["Z"]]}}}),c(o,"Core/Renderer/SVG/TextBuilder.js",[o["Core/Renderer/HTML/AST.js"],o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f,y){let{doc:v,SVG_NS:x,win:k}=f,{attr:D,extend:B,fireEvent:W,isString:Q,objectEach:E,pick:Y}=y;return class{constructor(se){let ne=se.styles;this.renderer=se.renderer,this.svgElement=se,this.width=se.textWidth,this.textLineHeight=ne&&ne.lineHeight,this.textOutline=ne&&ne.textOutline,this.ellipsis=!!(ne&&ne.textOverflow==="ellipsis"),this.noWrap=!!(ne&&ne.whiteSpace==="nowrap")}buildSVG(){let se=this.svgElement,ne=se.element,U=se.renderer,q=Y(se.textStr,"").toString(),X=q.indexOf("<")!==-1,J=ne.childNodes,H=!se.added&&U.box,P=[q,this.ellipsis,this.noWrap,this.textLineHeight,this.textOutline,se.getStyle("font-size"),this.width].join(",");if(P!==se.textCache){se.textCache=P,delete se.actualWidth;for(let ce=J.length;ce--;)ne.removeChild(J[ce]);if(X||this.ellipsis||this.width||se.textPath||q.indexOf(" ")!==-1&&(!this.noWrap||/<br.*?>/g.test(q))){if(q!==""){H&&H.appendChild(ne);let ce=new d(q);this.modifyTree(ce.nodes),ce.addToDOM(ne),this.modifyDOM(),this.ellipsis&&(ne.textContent||"").indexOf("…")!==-1&&se.attr("title",this.unescapeEntities(se.textStr||"",["<",">"])),H&&H.removeChild(ne)}}else ne.appendChild(v.createTextNode(this.unescapeEntities(q)));Q(this.textOutline)&&se.applyTextOutline&&se.applyTextOutline(this.textOutline)}}modifyDOM(){let se,ne=this.svgElement,U=D(ne.element,"x");for(ne.firstLineMetrics=void 0;(se=ne.element.firstChild)&&/^[\s\u200B]*$/.test(se.textContent||" ");)ne.element.removeChild(se);[].forEach.call(ne.element.querySelectorAll("tspan.highcharts-br"),(H,P)=>{H.nextSibling&&H.previousSibling&&(P===0&&H.previousSibling.nodeType===1&&(ne.firstLineMetrics=ne.renderer.fontMetrics(H.previousSibling)),D(H,{dy:this.getLineHeight(H.nextSibling),x:U}))});let q=this.width||0;if(!q)return;let X=(H,P)=>{let ce=H.textContent||"",ae=ce.replace(/([^\^])-/g,"$1- ").split(" "),ee=!this.noWrap&&(ae.length>1||ne.element.childNodes.length>1),L=this.getLineHeight(P),Z=0,G=ne.actualWidth;if(this.ellipsis)ce&&this.truncate(H,ce,void 0,0,Math.max(0,q-.8*L),(T,_)=>T.substring(0,_)+"…");else if(ee){let T=[],_=[];for(;P.firstChild&&P.firstChild!==H;)_.push(P.firstChild),P.removeChild(P.firstChild);for(;ae.length;)ae.length&&!this.noWrap&&Z>0&&(T.push(H.textContent||""),H.textContent=ae.join(" ").replace(/- /g,"-")),this.truncate(H,void 0,ae,Z===0&&G||0,q,(A,S)=>ae.slice(0,S).join(" ").replace(/- /g,"-")),G=ne.actualWidth,Z++;_.forEach(A=>{P.insertBefore(A,H)}),T.forEach(A=>{P.insertBefore(v.createTextNode(A),H);let S=v.createElementNS(x,"tspan");S.textContent="",D(S,{dy:L,x:U}),P.insertBefore(S,H)})}},J=H=>{[].slice.call(H.childNodes).forEach(P=>{P.nodeType===k.Node.TEXT_NODE?X(P,H):(P.className.baseVal.indexOf("highcharts-br")!==-1&&(ne.actualWidth=0),J(P))})};J(ne.element)}getLineHeight(se){let ne=se.nodeType===k.Node.TEXT_NODE?se.parentElement:se;return this.textLineHeight?parseInt(this.textLineHeight.toString(),10):this.renderer.fontMetrics(ne||this.svgElement.element).h}modifyTree(se){let ne=(U,q)=>{let{attributes:X={},children:J,style:H={},tagName:P}=U,ce=this.renderer.styledMode;if(P==="b"||P==="strong"?ce?X.class="highcharts-strong":H.fontWeight="bold":(P==="i"||P==="em")&&(ce?X.class="highcharts-emphasized":H.fontStyle="italic"),H&&H.color&&(H.fill=H.color),P==="br"){X.class="highcharts-br",U.textContent="";let ae=se[q+1];ae&&ae.textContent&&(ae.textContent=ae.textContent.replace(/^ +/gm,""))}else P==="a"&&J&&J.some(ae=>ae.tagName==="#text")&&(U.children=[{children:J,tagName:"tspan"}]);P!=="#text"&&P!=="a"&&(U.tagName="tspan"),B(U,{attributes:X,style:H}),J&&J.filter(ae=>ae.tagName!=="#text").forEach(ne)};se.forEach(ne),W(this.svgElement,"afterModifyTree",{nodes:se})}truncate(se,ne,U,q,X,J){let H,P,ce=this.svgElement,{rotation:ae}=ce,ee=[],L=U?1:0,Z=(ne||U||"").length,G=Z,T=function(_,A){let S=A||_,N=se.parentNode;if(N&&ee[S]===void 0&&N.getSubStringLength)try{ee[S]=q+N.getSubStringLength(0,U?S+1:S)}catch{}return ee[S]};if(ce.rotation=0,q+(P=T(se.textContent.length))>X){for(;L<=Z;)G=Math.ceil((L+Z)/2),U&&(H=J(U,G)),P=T(G,H&&H.length-1),L===Z?L=Z+1:P>X?Z=G-1:L=G;Z===0?se.textContent="":ne&&Z===ne.length-1||(se.textContent=H||J(ne||U,G))}U&&U.splice(0,G),ce.actualWidth=P,ce.rotation=ae}unescapeEntities(se,ne){return E(this.renderer.escapes,function(U,q){ne&&ne.indexOf(U)!==-1||(se=se.toString().replace(RegExp(U,"g"),q))}),se}}}),c(o,"Core/Renderer/SVG/SVGRenderer.js",[o["Core/Renderer/HTML/AST.js"],o["Core/Defaults.js"],o["Core/Color/Color.js"],o["Core/Globals.js"],o["Core/Renderer/RendererRegistry.js"],o["Core/Renderer/SVG/SVGElement.js"],o["Core/Renderer/SVG/SVGLabel.js"],o["Core/Renderer/SVG/Symbols.js"],o["Core/Renderer/SVG/TextBuilder.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k,D,B,W,Q){let E,{defaultOptions:Y}=f,{charts:se,deg2rad:ne,doc:U,isFirefox:q,isMS:X,isWebKit:J,noop:H,SVG_NS:P,symbolSizes:ce,win:ae}=v,{addEvent:ee,attr:L,createElement:Z,crisp:G,css:T,defined:_,destroyObjectProperties:A,extend:S,isArray:N,isNumber:F,isObject:O,isString:re,merge:pe,pick:g,pInt:C,replaceNested:w,uniqueKey:$}=Q;class le{constructor(z,te,fe,R,V,ie,ue){let de,me,_e=this.createElement("svg").attr({version:"1.1",class:"highcharts-root"}),we=_e.element;ue||_e.css(this.getStyle(R||{})),z.appendChild(we),L(z,"dir","ltr"),z.innerHTML.indexOf("xmlns")===-1&&L(we,"xmlns",this.SVG_NS),this.box=we,this.boxWrapper=_e,this.alignedObjects=[],this.url=this.getReferenceURL(),this.createElement("desc").add().element.appendChild(U.createTextNode("Created with Highcharts 11.4.8")),this.defs=this.createElement("defs").add(),this.allowHTML=ie,this.forExport=V,this.styledMode=ue,this.gradients={},this.cache={},this.cacheKeys=[],this.imgCount=0,this.rootFontSize=_e.getStyle("font-size"),this.setSize(te,fe,!1),q&&z.getBoundingClientRect&&((de=function(){T(z,{left:0,top:0}),me=z.getBoundingClientRect(),T(z,{left:Math.ceil(me.left)-me.left+"px",top:Math.ceil(me.top)-me.top+"px"})})(),this.unSubPixelFix=ee(ae,"resize",de))}definition(z){return new d([z]).addToDOM(this.defs.element)}getReferenceURL(){if((q||J)&&U.getElementsByTagName("base").length){if(!_(E)){let z=$(),te=new d([{tagName:"svg",attributes:{width:8,height:8},children:[{tagName:"defs",children:[{tagName:"clipPath",attributes:{id:z},children:[{tagName:"rect",attributes:{width:4,height:4}}]}]},{tagName:"rect",attributes:{id:"hitme",width:8,height:8,"clip-path":`url(#${z})`,fill:"rgba(0,0,0,0.001)"}}]}]).addToDOM(U.body);T(te,{position:"fixed",top:0,left:0,zIndex:9e5});let fe=U.elementFromPoint(6,6);E=(fe&&fe.id)==="hitme",U.body.removeChild(te)}if(E)return w(ae.location.href.split("#")[0],[/<[^>]*>/g,""],[/([\('\)])/g,"\\$1"],[/ /g,"%20"])}return""}getStyle(z){return this.style=S({fontFamily:"Helvetica, Arial, sans-serif",fontSize:"1rem"},z),this.style}setStyle(z){this.boxWrapper.css(this.getStyle(z))}isHidden(){return!this.boxWrapper.getBBox().width}destroy(){let z=this.defs;return this.box=null,this.boxWrapper=this.boxWrapper.destroy(),A(this.gradients||{}),this.gradients=null,this.defs=z.destroy(),this.unSubPixelFix&&this.unSubPixelFix(),this.alignedObjects=null,null}createElement(z){return new this.Element(this,z)}getRadialAttr(z,te){return{cx:z[0]-z[2]/2+(te.cx||0)*z[2],cy:z[1]-z[2]/2+(te.cy||0)*z[2],r:(te.r||0)*z[2]}}shadowDefinition(z){let te=[`highcharts-drop-shadow-${this.chartIndex}`,...Object.keys(z).map(R=>`${R}-${z[R]}`)].join("-").toLowerCase().replace(/[^a-z\d\-]/g,""),fe=pe({color:"#000000",offsetX:1,offsetY:1,opacity:.15,width:5},z);return this.defs.element.querySelector(`#${te}`)||this.definition({tagName:"filter",attributes:{id:te,filterUnits:fe.filterUnits},children:this.getShadowFilterContent(fe)}),te}getShadowFilterContent(z){return[{tagName:"feDropShadow",attributes:{dx:z.offsetX,dy:z.offsetY,"flood-color":z.color,"flood-opacity":Math.min(5*z.opacity,1),stdDeviation:z.width/2}}]}buildText(z){new W(z).buildSVG()}getContrast(z){let te=y.parse(z).rgba.map(R=>{let V=R/255;return V<=.03928?V/12.92:Math.pow((V+.055)/1.055,2.4)}),fe=.2126*te[0]+.7152*te[1]+.0722*te[2];return 1.05/(fe+.05)>(fe+.05)/.05?"#FFFFFF":"#000000"}button(z,te,fe,R,V={},ie,ue,de,me,_e){let we=this.label(z,te,fe,me,void 0,void 0,_e,void 0,"button"),Ae=this.styledMode,Re=arguments,Le=0;V=pe(Y.global.buttonTheme,V),Ae&&(delete V.fill,delete V.stroke,delete V["stroke-width"]);let ve=V.states||{},ye=V.style||{};delete V.states,delete V.style;let ge=[d.filterUserAttributes(V)],be=[ye];return Ae||["hover","select","disabled"].forEach((ke,Ce)=>{ge.push(pe(ge[0],d.filterUserAttributes(Re[Ce+5]||ve[ke]||{}))),be.push(ge[Ce+1].style),delete ge[Ce+1].style}),ee(we.element,X?"mouseover":"mouseenter",function(){Le!==3&&we.setState(1)}),ee(we.element,X?"mouseout":"mouseleave",function(){Le!==3&&we.setState(Le)}),we.setState=(ke=0)=>{if(ke!==1&&(we.state=Le=ke),we.removeClass(/highcharts-button-(normal|hover|pressed|disabled)/).addClass("highcharts-button-"+["normal","hover","pressed","disabled"][ke]),!Ae){we.attr(ge[ke]);let Ce=be[ke];O(Ce)&&we.css(Ce)}},we.attr(ge[0]),!Ae&&(we.css(S({cursor:"default"},ye)),_e&&we.text.css({pointerEvents:"none"})),we.on("touchstart",ke=>ke.stopPropagation()).on("click",function(ke){Le!==3&&R.call(we,ke)})}crispLine(z,te){let[fe,R]=z;return _(fe[1])&&fe[1]===R[1]&&(fe[1]=R[1]=G(fe[1],te)),_(fe[2])&&fe[2]===R[2]&&(fe[2]=R[2]=G(fe[2],te)),z}path(z){let te=this.styledMode?{}:{fill:"none"};return N(z)?te.d=z:O(z)&&S(te,z),this.createElement("path").attr(te)}circle(z,te,fe){let R=O(z)?z:z===void 0?{}:{x:z,y:te,r:fe},V=this.createElement("circle");return V.xSetter=V.ySetter=function(ie,ue,de){de.setAttribute("c"+ue,ie)},V.attr(R)}arc(z,te,fe,R,V,ie){let ue;O(z)?(te=(ue=z).y,fe=ue.r,R=ue.innerR,V=ue.start,ie=ue.end,z=ue.x):ue={innerR:R,start:V,end:ie};let de=this.symbol("arc",z,te,fe,fe,ue);return de.r=fe,de}rect(z,te,fe,R,V,ie){let ue=O(z)?z:z===void 0?{}:{x:z,y:te,r:V,width:Math.max(fe||0,0),height:Math.max(R||0,0)},de=this.createElement("rect");return this.styledMode||(ie!==void 0&&(ue["stroke-width"]=ie,S(ue,de.crisp(ue))),ue.fill="none"),de.rSetter=function(me,_e,we){de.r=me,L(we,{rx:me,ry:me})},de.rGetter=function(){return de.r||0},de.attr(ue)}roundedRect(z){return this.symbol("roundedRect").attr(z)}setSize(z,te,fe){this.width=z,this.height=te,this.boxWrapper.animate({width:z,height:te},{step:function(){this.attr({viewBox:"0 0 "+this.attr("width")+" "+this.attr("height")})},duration:g(fe,!0)?void 0:0}),this.alignElements()}g(z){let te=this.createElement("g");return z?te.attr({class:"highcharts-"+z}):te}image(z,te,fe,R,V,ie){let ue={preserveAspectRatio:"none"};F(te)&&(ue.x=te),F(fe)&&(ue.y=fe),F(R)&&(ue.width=R),F(V)&&(ue.height=V);let de=this.createElement("image").attr(ue),me=function(_e){de.attr({href:z}),ie.call(de,_e)};if(ie){de.attr({href:"data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw=="});let _e=new ae.Image;ee(_e,"load",me),_e.src=z,_e.complete&&me({})}else de.attr({href:z});return de}symbol(z,te,fe,R,V,ie){let ue,de,me,_e,we=this,Ae=/^url\((.*?)\)$/,Re=Ae.test(z),Le=!Re&&(this.symbols[z]?z:"circle"),ve=Le&&this.symbols[Le];if(ve)typeof te=="number"&&(de=ve.call(this.symbols,te||0,fe||0,R||0,V||0,ie)),ue=this.path(de),we.styledMode||ue.attr("fill","none"),S(ue,{symbolName:Le||void 0,x:te,y:fe,width:R,height:V}),ie&&S(ue,ie);else if(Re){me=z.match(Ae)[1];let ye=ue=this.image(me);ye.imgwidth=g(ie&&ie.width,ce[me]&&ce[me].width),ye.imgheight=g(ie&&ie.height,ce[me]&&ce[me].height),_e=ge=>ge.attr({width:ge.width,height:ge.height}),["width","height"].forEach(ge=>{ye[`${ge}Setter`]=function(be,ke){this[ke]=be;let{alignByTranslate:Ce,element:Me,width:Oe,height:Ne,imgwidth:Ge,imgheight:$e}=this,Xe=ke==="width"?Ge:$e,Je=1;ie&&ie.backgroundSize==="within"&&Oe&&Ne&&Ge&&$e?(Je=Math.min(Oe/Ge,Ne/$e),L(Me,{width:Math.round(Ge*Je),height:Math.round($e*Je)})):Me&&Xe&&Me.setAttribute(ke,Xe),!Ce&&Ge&&$e&&this.translate(((Oe||0)-Ge*Je)/2,((Ne||0)-$e*Je)/2)}}),_(te)&&ye.attr({x:te,y:fe}),ye.isImg=!0,ye.symbolUrl=z,_(ye.imgwidth)&&_(ye.imgheight)?_e(ye):(ye.attr({width:0,height:0}),Z("img",{onload:function(){let ge=se[we.chartIndex];this.width===0&&(T(this,{position:"absolute",top:"-999em"}),U.body.appendChild(this)),ce[me]={width:this.width,height:this.height},ye.imgwidth=this.width,ye.imgheight=this.height,ye.element&&_e(ye),this.parentNode&&this.parentNode.removeChild(this),we.imgCount--,we.imgCount||!ge||ge.hasLoaded||ge.onload()},src:me}),this.imgCount++)}return ue}clipRect(z,te,fe,R){return this.rect(z,te,fe,R,0)}text(z,te,fe,R){let V={};if(R&&(this.allowHTML||!this.forExport))return this.html(z,te,fe);V.x=Math.round(te||0),fe&&(V.y=Math.round(fe)),_(z)&&(V.text=z);let ie=this.createElement("text").attr(V);return R&&(!this.forExport||this.allowHTML)||(ie.xSetter=function(ue,de,me){let _e=me.getElementsByTagName("tspan"),we=me.getAttribute(de);for(let Ae=0,Re;Ae<_e.length;Ae++)(Re=_e[Ae]).getAttribute(de)===we&&Re.setAttribute(de,ue);me.setAttribute(de,ue)}),ie}fontMetrics(z){let te=C(k.prototype.getStyle.call(z,"font-size")||0),fe=te<24?te+3:Math.round(1.2*te),R=Math.round(.8*fe);return{h:fe,b:R,f:te}}rotCorr(z,te,fe){let R=z;return te&&fe&&(R=Math.max(R*Math.cos(te*ne),4)),{x:-z/3*Math.sin(te*ne),y:R}}pathToSegments(z){let te=[],fe=[],R={A:8,C:7,H:2,L:3,M:3,Q:5,S:5,T:3,V:2};for(let V=0;V<z.length;V++)re(fe[0])&&F(z[V])&&fe.length===R[fe[0].toUpperCase()]&&z.splice(V,0,fe[0].replace("M","L").replace("m","l")),typeof z[V]=="string"&&(fe.length&&te.push(fe.slice(0)),fe.length=0),fe.push(z[V]);return te.push(fe.slice(0)),te}label(z,te,fe,R,V,ie,ue,de,me){return new D(this,z,te,fe,R,V,ie,ue,de,me)}alignElements(){this.alignedObjects.forEach(z=>z.align())}}return S(le.prototype,{Element:k,SVG_NS:P,escapes:{"&":"&","<":"<",">":">","'":"'",'"':"""},symbols:B,draw:H}),x.registerRendererType("svg",le,!0),le}),c(o,"Core/Renderer/HTML/HTMLElement.js",[o["Core/Renderer/HTML/AST.js"],o["Core/Globals.js"],o["Core/Renderer/SVG/SVGElement.js"],o["Core/Utilities.js"]],function(d,f,y,v){let{composed:x}=f,{attr:k,css:D,createElement:B,defined:W,extend:Q,pInt:E,pushUnique:Y}=v;function se(X,J,H){var ce;let P=((ce=this.div)==null?void 0:ce.style)||H.style;y.prototype[`${J}Setter`].call(this,X,J,H),P&&(P[J]=X)}let ne=(X,J)=>{var H;if(!X.div){let P=k(X.element,"class"),ce=X.css,ae=B("div",P?{className:P}:void 0,{position:"absolute",left:`${X.translateX||0}px`,top:`${X.translateY||0}px`,...X.styles,display:X.display,opacity:X.opacity,visibility:X.visibility},((H=X.parentGroup)==null?void 0:H.div)||J);X.classSetter=(ee,L,Z)=>{Z.setAttribute("class",ee),ae.className=ee},X.translateXSetter=X.translateYSetter=(ee,L)=>{X[L]=ee,ae.style[L==="translateX"?"left":"top"]=`${ee}px`,X.doTransform=!0},X.opacitySetter=X.visibilitySetter=se,X.css=ee=>(ce.call(X,ee),ee.cursor&&(ae.style.cursor=ee.cursor),ee.pointerEvents&&(ae.style.pointerEvents=ee.pointerEvents),X),X.on=function(){return y.prototype.on.apply({element:ae,onEvents:X.onEvents},arguments),X},X.div=ae}return X.div};class U extends y{static compose(J){Y(x,this.compose)&&(J.prototype.html=function(H,P,ce){return new U(this,"span").attr({text:H,x:Math.round(P),y:Math.round(ce)})})}constructor(J,H){super(J,H),this.css({position:"absolute",...J.styledMode?{}:{fontFamily:J.style.fontFamily,fontSize:J.style.fontSize}}),this.element.style.whiteSpace="nowrap"}getSpanCorrection(J,H,P){this.xCorr=-J*P,this.yCorr=-H}css(J){let H,{element:P}=this,ce=P.tagName==="SPAN"&&J&&"width"in J,ae=ce&&J.width;return ce&&(delete J.width,this.textWidth=E(ae)||void 0,H=!0),(J==null?void 0:J.textOverflow)==="ellipsis"&&(J.whiteSpace="nowrap",J.overflow="hidden"),Q(this.styles,J),D(P,J),H&&this.updateTransform(),this}htmlGetBBox(){let{element:J}=this;return{x:J.offsetLeft,y:J.offsetTop,width:J.offsetWidth,height:J.offsetHeight}}updateTransform(){var F;if(!this.added){this.alignOnAdd=!0;return}let{element:J,renderer:H,rotation:P,rotationOriginX:ce,rotationOriginY:ae,styles:ee,textAlign:L="left",textWidth:Z,translateX:G=0,translateY:T=0,x:_=0,y:A=0}=this,S={left:0,center:.5,right:1}[L],N=ee.whiteSpace;if(D(J,{marginLeft:`${G}px`,marginTop:`${T}px`}),J.tagName==="SPAN"){let O=[P,L,J.innerHTML,Z,this.textAlign].join(","),re=-(((F=this.parentGroup)==null?void 0:F.padding)*1)||0,pe,g=!1;if(Z!==this.oldTextWidth){let j=this.textPxLength?this.textPxLength:(D(J,{width:"",whiteSpace:N||"nowrap"}),J.offsetWidth),z=Z||0;(z>this.oldTextWidth||j>z)&&(/[ \-]/.test(J.textContent||J.innerText)||J.style.textOverflow==="ellipsis")&&(D(J,{width:j>z||P?Z+"px":"auto",display:"block",whiteSpace:N||"normal"}),this.oldTextWidth=Z,g=!0)}this.hasBoxWidthChanged=g,O!==this.cTT&&(pe=H.fontMetrics(J).b,W(P)&&(P!==(this.oldRotation||0)||L!==this.oldAlign)&&this.setSpanRotation(P,re,re),this.getSpanCorrection(!W(P)&&this.textPxLength||J.offsetWidth,pe,S));let{xCorr:C=0,yCorr:w=0}=this,$=(ce??_)-C-_-re,le=(ae??A)-w-A-re;D(J,{left:`${_+C}px`,top:`${A+w}px`,transformOrigin:`${$}px ${le}px`}),this.cTT=O,this.oldRotation=P,this.oldAlign=L}}setSpanRotation(J,H,P){D(this.element,{transform:`rotate(${J}deg)`,transformOrigin:`${H}% ${P}px`})}add(J){let H,P=this.renderer.box.parentNode,ce=[];if(this.parentGroup=J,J&&!(H=J.div)){let ae=J;for(;ae;)ce.push(ae),ae=ae.parentGroup;for(let ee of ce.reverse())H=ne(ee,P)}return(H||P).appendChild(this.element),this.added=!0,this.alignOnAdd&&this.updateTransform(),this}textSetter(J){J!==this.textStr&&(delete this.bBox,delete this.oldTextWidth,d.setElementHTML(this.element,J??""),this.textStr=J,this.doTransform=!0)}alignSetter(J){this.alignValue=this.textAlign=J,this.doTransform=!0}xSetter(J,H){this[H]=J,this.doTransform=!0}}let q=U.prototype;return q.visibilitySetter=q.opacitySetter=se,q.ySetter=q.rotationSetter=q.rotationOriginXSetter=q.rotationOriginYSetter=q.xSetter,U}),c(o,"Core/Axis/AxisDefaults.js",[],function(){var d,f;return(f=d||(d={})).xAxis={alignTicks:!0,allowDecimals:void 0,panningEnabled:!0,zIndex:2,zoomEnabled:!0,dateTimeLabelFormats:{millisecond:{main:"%H:%M:%S.%L",range:!1},second:{main:"%H:%M:%S",range:!1},minute:{main:"%H:%M",range:!1},hour:{main:"%H:%M",range:!1},day:{main:"%e %b"},week:{main:"%e %b"},month:{main:"%b '%y"},year:{main:"%Y"}},endOnTick:!1,gridLineDashStyle:"Solid",gridZIndex:1,labels:{autoRotationLimit:80,distance:15,enabled:!0,indentation:10,overflow:"justify",reserveSpace:void 0,rotation:void 0,staggerLines:0,step:0,useHTML:!1,zIndex:7,style:{color:"#333333",cursor:"default",fontSize:"0.8em"}},maxPadding:.01,minorGridLineDashStyle:"Solid",minorTickLength:2,minorTickPosition:"outside",minorTicksPerMajor:5,minPadding:.01,offset:void 0,reversed:void 0,reversedStacks:!1,showEmpty:!0,showFirstLabel:!0,showLastLabel:!0,startOfWeek:1,startOnTick:!1,tickLength:10,tickPixelInterval:100,tickmarkPlacement:"between",tickPosition:"outside",title:{align:"middle",useHTML:!1,x:0,y:0,style:{color:"#666666",fontSize:"0.8em"}},visible:!0,minorGridLineColor:"#f2f2f2",minorGridLineWidth:1,minorTickColor:"#999999",lineColor:"#333333",lineWidth:1,gridLineColor:"#e6e6e6",gridLineWidth:void 0,tickColor:"#333333"},f.yAxis={reversedStacks:!0,endOnTick:!0,maxPadding:.05,minPadding:.05,tickPixelInterval:72,showLastLabel:!0,labels:{x:void 0},startOnTick:!0,title:{text:"Values"},stackLabels:{animation:{},allowOverlap:!1,enabled:!1,crop:!0,overflow:"justify",formatter:function(){let{numberFormatter:y}=this.axis.chart;return y(this.total||0,-1)},style:{color:"#000000",fontSize:"0.7em",fontWeight:"bold",textOutline:"1px contrast"}},gridLineWidth:1,lineWidth:0},d}),c(o,"Core/Foundation.js",[o["Core/Utilities.js"]],function(d){var f;let{addEvent:y,isFunction:v,objectEach:x,removeEvent:k}=d;return(f||(f={})).registerEventOptions=function(D,B){D.eventOptions=D.eventOptions||{},x(B.events,function(W,Q){D.eventOptions[Q]!==W&&(D.eventOptions[Q]&&(k(D,Q,D.eventOptions[Q]),delete D.eventOptions[Q]),v(W)&&(D.eventOptions[Q]=W,y(D,Q,W,{order:0})))})},f}),c(o,"Core/Axis/Tick.js",[o["Core/Templating.js"],o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f,y){let{deg2rad:v}=f,{clamp:x,correctFloat:k,defined:D,destroyObjectProperties:B,extend:W,fireEvent:Q,isNumber:E,merge:Y,objectEach:se,pick:ne}=y;return class{constructor(U,q,X,J,H){this.isNew=!0,this.isNewLabel=!0,this.axis=U,this.pos=q,this.type=X||"",this.parameters=H||{},this.tickmarkOffset=this.parameters.tickmarkOffset,this.options=this.parameters.options,Q(this,"init"),X||J||this.addLabel()}addLabel(){let U=this,q=U.axis,X=q.options,J=q.chart,H=q.categories,P=q.logarithmic,ce=q.names,ae=U.pos,ee=ne(U.options&&U.options.labels,X.labels),L=q.tickPositions,Z=ae===L[0],G=ae===L[L.length-1],T=(!ee.step||ee.step===1)&&q.tickInterval===1,_=L.info,A=U.label,S,N,F,O=this.parameters.category||(H?ne(H[ae],ce[ae],ae):ae);P&&E(O)&&(O=k(P.lin2log(O))),q.dateTime&&(_?S=(N=J.time.resolveDTLFormat(X.dateTimeLabelFormats[!X.grid&&_.higherRanks[ae]||_.unitName])).main:E(O)&&(S=q.dateTime.getXDateFormat(O,X.dateTimeLabelFormats||{}))),U.isFirst=Z,U.isLast=G;let re={axis:q,chart:J,dateTimeLabelFormat:S,isFirst:Z,isLast:G,pos:ae,tick:U,tickPositionInfo:_,value:O};Q(this,"labelFormat",re);let pe=w=>ee.formatter?ee.formatter.call(w,w):ee.format?(w.text=q.defaultLabelFormatter.call(w),d.format(ee.format,w,J)):q.defaultLabelFormatter.call(w),g=pe.call(re,re),C=N&&N.list;C?U.shortenLabel=function(){for(F=0;F<C.length;F++)if(W(re,{dateTimeLabelFormat:C[F]}),A.attr({text:pe.call(re,re)}),A.getBBox().width<q.getSlotWidth(U)-2*(ee.padding||0))return;A.attr({text:""})}:U.shortenLabel=void 0,T&&q._addedPlotLB&&U.moveLabel(g,ee),D(A)||U.movedLabel?A&&A.textStr!==g&&!T&&(!A.textWidth||ee.style.width||A.styles.width||A.css({width:null}),A.attr({text:g}),A.textPxLength=A.getBBox().width):(U.label=A=U.createLabel(g,ee),U.rotation=0)}createLabel(U,q,X){let J=this.axis,H=J.chart,P=D(U)&&q.enabled?H.renderer.text(U,X==null?void 0:X.x,X==null?void 0:X.y,q.useHTML).add(J.labelGroup):void 0;return P&&(H.styledMode||P.css(Y(q.style)),P.textPxLength=P.getBBox().width),P}destroy(){B(this,this.axis)}getPosition(U,q,X,J){let H=this.axis,P=H.chart,ce=J&&P.oldChartHeight||P.chartHeight,ae={x:U?k(H.translate(q+X,void 0,void 0,J)+H.transB):H.left+H.offset+(H.opposite?(J&&P.oldChartWidth||P.chartWidth)-H.right-H.left:0),y:U?ce-H.bottom+H.offset-(H.opposite?H.height:0):k(ce-H.translate(q+X,void 0,void 0,J)-H.transB)};return ae.y=x(ae.y,-1e9,1e9),Q(this,"afterGetPosition",{pos:ae}),ae}getLabelPosition(U,q,X,J,H,P,ce,ae){let ee,L,Z=this.axis,G=Z.transA,T=Z.isLinked&&Z.linkedParent?Z.linkedParent.reversed:Z.reversed,_=Z.staggerLines,A=Z.tickRotCorr||{x:0,y:0},S=J||Z.reserveSpaceDefault?0:-Z.labelOffset*(Z.labelAlign==="center"?.5:1),N=H.distance,F={};return ee=Z.side===0?X.rotation?-N:-X.getBBox().height:Z.side===2?A.y+N:Math.cos(X.rotation*v)*(A.y-X.getBBox(!1,0).height/2),D(H.y)&&(ee=Z.side===0&&Z.horiz?H.y+ee:H.y),U=U+ne(H.x,[0,1,0,-1][Z.side]*N)+S+A.x-(P&&J?P*G*(T?-1:1):0),q=q+ee-(P&&!J?P*G*(T?1:-1):0),_&&(L=ce/(ae||1)%_,Z.opposite&&(L=_-L-1),q+=L*(Z.labelOffset/_)),F.x=U,F.y=Math.round(q),Q(this,"afterGetLabelPosition",{pos:F,tickmarkOffset:P,index:ce}),F}getLabelSize(){return this.label?this.label.getBBox()[this.axis.horiz?"height":"width"]:0}getMarkPath(U,q,X,J,H=!1,P){return P.crispLine([["M",U,q],["L",U+(H?0:-X),q+(H?X:0)]],J)}handleOverflow(U){let q=this.axis,X=q.options.labels,J=U.x,H=q.chart.chartWidth,P=q.chart.spacing,ce=ne(q.labelLeft,Math.min(q.pos,P[3])),ae=ne(q.labelRight,Math.max(q.isRadial?0:q.pos+q.len,H-P[1])),ee=this.label,L=this.rotation,Z={left:0,center:.5,right:1}[q.labelAlign||ee.attr("align")],G=ee.getBBox().width,T=q.getSlotWidth(this),_={},A=T,S=1,N,F,O;L||X.overflow!=="justify"?L<0&&J-Z*G<ce?O=Math.round(J/Math.cos(L*v)-ce):L>0&&J+Z*G>ae&&(O=Math.round((H-J)/Math.cos(L*v))):(N=J-Z*G,F=J+(1-Z)*G,N<ce?A=U.x+A*(1-Z)-ce:F>ae&&(A=ae-U.x+A*Z,S=-1),(A=Math.min(T,A))<T&&q.labelAlign==="center"&&(U.x+=S*(T-A-Z*(T-Math.min(G,A)))),(G>A||q.autoRotation&&(ee.styles||{}).width)&&(O=A)),O&&(this.shortenLabel?this.shortenLabel():(_.width=Math.floor(O)+"px",(X.style||{}).textOverflow||(_.textOverflow="ellipsis"),ee.css(_)))}moveLabel(U,q){let X=this,J=X.label,H=X.axis,P=!1,ce;J&&J.textStr===U?(X.movedLabel=J,P=!0,delete X.label):se(H.ticks,function(ae){P||ae.isNew||ae===X||!ae.label||ae.label.textStr!==U||(X.movedLabel=ae.label,P=!0,ae.labelPos=X.movedLabel.xy,delete ae.label)}),!P&&(X.labelPos||J)&&(ce=X.labelPos||J.xy,X.movedLabel=X.createLabel(U,q,ce),X.movedLabel&&X.movedLabel.attr({opacity:0}))}render(U,q,X){let J=this.axis,H=J.horiz,P=this.pos,ce=ne(this.tickmarkOffset,J.tickmarkOffset),ae=this.getPosition(H,P,ce,q),ee=ae.x,L=ae.y,Z=J.pos,G=Z+J.len,T=H?ee:L;!J.chart.polar&&this.isNew&&(k(T)<Z||T>G)&&(X=0);let _=ne(X,this.label&&this.label.newOpacity,1);X=ne(X,1),this.isActive=!0,this.renderGridLine(q,X),this.renderMark(ae,X),this.renderLabel(ae,q,_,U),this.isNew=!1,Q(this,"afterRender")}renderGridLine(U,q){let X=this.axis,J=X.options,H={},P=this.pos,ce=this.type,ae=ne(this.tickmarkOffset,X.tickmarkOffset),ee=X.chart.renderer,L=this.gridLine,Z,G=J.gridLineWidth,T=J.gridLineColor,_=J.gridLineDashStyle;this.type==="minor"&&(G=J.minorGridLineWidth,T=J.minorGridLineColor,_=J.minorGridLineDashStyle),L||(X.chart.styledMode||(H.stroke=T,H["stroke-width"]=G||0,H.dashstyle=_),ce||(H.zIndex=1),U&&(q=0),this.gridLine=L=ee.path().attr(H).addClass("highcharts-"+(ce?ce+"-":"")+"grid-line").add(X.gridGroup)),L&&(Z=X.getPlotLinePath({value:P+ae,lineWidth:L.strokeWidth(),force:"pass",old:U,acrossPanes:!1}))&&L[U||this.isNew?"attr":"animate"]({d:Z,opacity:q})}renderMark(U,q){let X=this.axis,J=X.options,H=X.chart.renderer,P=this.type,ce=X.tickSize(P?P+"Tick":"tick"),ae=U.x,ee=U.y,L=ne(J[P!=="minor"?"tickWidth":"minorTickWidth"],!P&&X.isXAxis?1:0),Z=J[P!=="minor"?"tickColor":"minorTickColor"],G=this.mark,T=!G;ce&&(X.opposite&&(ce[0]=-ce[0]),G||(this.mark=G=H.path().addClass("highcharts-"+(P?P+"-":"")+"tick").add(X.axisGroup),X.chart.styledMode||G.attr({stroke:Z,"stroke-width":L})),G[T?"attr":"animate"]({d:this.getMarkPath(ae,ee,ce[0],G.strokeWidth(),X.horiz,H),opacity:q}))}renderLabel(U,q,X,J){let H=this.axis,P=H.horiz,ce=H.options,ae=this.label,ee=ce.labels,L=ee.step,Z=ne(this.tickmarkOffset,H.tickmarkOffset),G=U.x,T=U.y,_=!0;ae&&E(G)&&(ae.xy=U=this.getLabelPosition(G,T,ae,P,ee,Z,J,L),(!this.isFirst||this.isLast||ce.showFirstLabel)&&(!this.isLast||this.isFirst||ce.showLastLabel)?!P||ee.step||ee.rotation||q||X===0||this.handleOverflow(U):_=!1,L&&J%L&&(_=!1),_&&E(U.y)?(U.opacity=X,ae[this.isNewLabel?"attr":"animate"](U).show(!0),this.isNewLabel=!1):(ae.hide(),this.isNewLabel=!0))}replaceMovedLabel(){let U=this.label,q=this.axis;U&&!this.isNew&&(U.animate({opacity:0},void 0,U.destroy),delete this.label),q.isDirty=!0,this.label=this.movedLabel,delete this.movedLabel}}}),c(o,"Core/Axis/Axis.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Axis/AxisDefaults.js"],o["Core/Color/Color.js"],o["Core/Defaults.js"],o["Core/Foundation.js"],o["Core/Globals.js"],o["Core/Axis/Tick.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k,D,B){let{animObject:W}=d,{xAxis:Q,yAxis:E}=f,{defaultOptions:Y}=v,{registerEventOptions:se}=x,{deg2rad:ne}=k,{arrayMax:U,arrayMin:q,clamp:X,correctFloat:J,defined:H,destroyObjectProperties:P,erase:ce,error:ae,extend:ee,fireEvent:L,getClosestDistance:Z,insertItem:G,isArray:T,isNumber:_,isString:A,merge:S,normalizeTickInterval:N,objectEach:F,pick:O,relativeLength:re,removeEvent:pe,splat:g,syncTimeout:C}=B,w=(le,j)=>N(j,void 0,void 0,O(le.options.allowDecimals,j<.5||le.tickAmount!==void 0),!!le.tickAmount);ee(Y,{xAxis:Q,yAxis:S(Q,E)});class ${constructor(j,z,te){this.init(j,z,te)}init(j,z,te=this.coll){let fe=te==="xAxis",R=this.isZAxis||(j.inverted?!fe:fe);this.chart=j,this.horiz=R,this.isXAxis=fe,this.coll=te,L(this,"init",{userOptions:z}),this.opposite=O(z.opposite,this.opposite),this.side=O(z.side,this.side,R?this.opposite?0:2:this.opposite?1:3),this.setOptions(z);let V=this.options,ie=V.labels;this.type??(this.type=V.type||"linear"),this.uniqueNames??(this.uniqueNames=V.uniqueNames??!0),L(this,"afterSetType"),this.userOptions=z,this.minPixelPadding=0,this.reversed=O(V.reversed,this.reversed),this.visible=V.visible,this.zoomEnabled=V.zoomEnabled,this.hasNames=this.type==="category"||V.categories===!0,this.categories=T(V.categories)&&V.categories||(this.hasNames?[]:void 0),this.names||(this.names=[],this.names.keys={}),this.plotLinesAndBandsGroups={},this.positiveValuesOnly=!!this.logarithmic,this.isLinked=H(V.linkedTo),this.ticks={},this.labelEdge=[],this.minorTicks={},this.plotLinesAndBands=[],this.alternateBands={},this.len??(this.len=0),this.minRange=this.userMinRange=V.minRange||V.maxZoom,this.range=V.range,this.offset=V.offset||0,this.max=void 0,this.min=void 0;let ue=O(V.crosshair,g(j.options.tooltip.crosshairs)[fe?0:1]);this.crosshair=ue===!0?{}:ue,j.axes.indexOf(this)===-1&&(fe?j.axes.splice(j.xAxis.length,0,this):j.axes.push(this),G(this,j[this.coll])),j.orderItems(this.coll),this.series=this.series||[],j.inverted&&!this.isZAxis&&fe&&!H(this.reversed)&&(this.reversed=!0),this.labelRotation=_(ie.rotation)?ie.rotation:void 0,se(this,V),L(this,"afterInit")}setOptions(j){let z=this.horiz?{labels:{autoRotation:[-45],padding:4},margin:15}:{labels:{padding:1},title:{rotation:90*this.side}};this.options=S(z,Y[this.coll],j),L(this,"afterSetOptions",{userOptions:j})}defaultLabelFormatter(){let j=this.axis,{numberFormatter:z}=this.chart,te=_(this.value)?this.value:NaN,fe=j.chart.time,R=j.categories,V=this.dateTimeLabelFormat,ie=Y.lang,ue=ie.numericSymbols,de=ie.numericSymbolMagnitude||1e3,me=j.logarithmic?Math.abs(te):j.tickInterval,_e=ue&&ue.length,we,Ae;if(R)Ae=`${this.value}`;else if(V)Ae=fe.dateFormat(V,te);else if(_e&&ue&&me>=1e3)for(;_e--&&Ae===void 0;)me>=(we=Math.pow(de,_e+1))&&10*te%we==0&&ue[_e]!==null&&te!==0&&(Ae=z(te/we,-1)+ue[_e]);return Ae===void 0&&(Ae=Math.abs(te)>=1e4?z(te,-1):z(te,-1,void 0,"")),Ae}getSeriesExtremes(){let j,z=this;L(this,"getSeriesExtremes",null,function(){z.hasVisibleSeries=!1,z.dataMin=z.dataMax=z.threshold=void 0,z.softThreshold=!z.isXAxis,z.series.forEach(te=>{if(te.reserveSpace()){let fe=te.options,R,V=fe.threshold,ie,ue;if(z.hasVisibleSeries=!0,z.positiveValuesOnly&&0>=(V||0)&&(V=void 0),z.isXAxis)(R=te.xData)&&R.length&&(R=z.logarithmic?R.filter(de=>de>0):R,ie=(j=te.getXExtremes(R)).min,ue=j.max,_(ie)||ie instanceof Date||(R=R.filter(_),ie=(j=te.getXExtremes(R)).min,ue=j.max),R.length&&(z.dataMin=Math.min(O(z.dataMin,ie),ie),z.dataMax=Math.max(O(z.dataMax,ue),ue)));else{let de=te.applyExtremes();_(de.dataMin)&&(ie=de.dataMin,z.dataMin=Math.min(O(z.dataMin,ie),ie)),_(de.dataMax)&&(ue=de.dataMax,z.dataMax=Math.max(O(z.dataMax,ue),ue)),H(V)&&(z.threshold=V),(!fe.softThreshold||z.positiveValuesOnly)&&(z.softThreshold=!1)}}})}),L(this,"afterGetSeriesExtremes")}translate(j,z,te,fe,R,V){var Le;let ie=this.linkedParent||this,ue=fe&&ie.old?ie.old.min:ie.min;if(!_(ue))return NaN;let de=ie.minPixelPadding,me=(ie.isOrdinal||((Le=ie.brokenAxis)==null?void 0:Le.hasBreaks)||ie.logarithmic&&R)&&ie.lin2val,_e=1,we=0,Ae=fe&&ie.old?ie.old.transA:ie.transA,Re=0;return Ae||(Ae=ie.transA),te&&(_e*=-1,we=ie.len),ie.reversed&&(_e*=-1,we-=_e*(ie.sector||ie.len)),z?(Re=(j=j*_e+we-de)/Ae+ue,me&&(Re=ie.lin2val(Re))):(me&&(j=ie.val2lin(j)),Re=_e*(j-ue)*Ae+we+_e*de+(_(V)?Ae*V:0),ie.isRadial||(Re=J(Re))),Re}toPixels(j,z){return this.translate(j,!1,!this.horiz,void 0,!0)+(z?0:this.pos)}toValue(j,z){return this.translate(j-(z?0:this.pos),!0,!this.horiz,void 0,!0)}getPlotLinePath(j){let z=this,te=z.chart,fe=z.left,R=z.top,V=j.old,ie=j.value,ue=j.lineWidth,de=V&&te.oldChartHeight||te.chartHeight,me=V&&te.oldChartWidth||te.chartWidth,_e=z.transB,we=j.translatedValue,Ae=j.force,Re,Le,ve,ye,ge;function be(Ce,Me,Oe){return Ae!=="pass"&&(Ce<Me||Ce>Oe)&&(Ae?Ce=X(Ce,Me,Oe):ge=!0),Ce}let ke={value:ie,lineWidth:ue,old:V,force:Ae,acrossPanes:j.acrossPanes,translatedValue:we};return L(this,"getPlotLinePath",ke,function(Ce){Re=ve=(we=X(we=O(we,z.translate(ie,void 0,void 0,V)),-1e9,1e9))+_e,Le=ye=de-we-_e,_(we)?z.horiz?(Le=R,ye=de-z.bottom+(z.options.isInternal?0:te.scrollablePixelsY||0),Re=ve=be(Re,fe,fe+z.width)):(Re=fe,ve=me-z.right+(te.scrollablePixelsX||0),Le=ye=be(Le,R,R+z.height)):(ge=!0,Ae=!1),Ce.path=ge&&!Ae?void 0:te.renderer.crispLine([["M",Re,Le],["L",ve,ye]],ue||1)}),ke.path}getLinearTickPositions(j,z,te){let fe,R,V,ie=J(Math.floor(z/j)*j),ue=J(Math.ceil(te/j)*j),de=[];if(J(ie+j)===ie&&(V=20),this.single)return[z];for(fe=ie;fe<=ue&&(de.push(fe),(fe=J(fe+j,V))!==R);)R=fe;return de}getMinorTickInterval(){let{minorTicks:j,minorTickInterval:z}=this.options;return j===!0?O(z,"auto"):j!==!1?z:void 0}getMinorTickPositions(){let j=this.options,z=this.tickPositions,te=this.minorTickInterval,fe=this.pointRangePadding||0,R=(this.min||0)-fe,V=(this.max||0)+fe,ie=V-R,ue=[],de;if(ie&&ie/te<this.len/3){let me=this.logarithmic;if(me)this.paddedTicks.forEach(function(_e,we,Ae){we&&ue.push.apply(ue,me.getLogTickPositions(te,Ae[we-1],Ae[we],!0))});else if(this.dateTime&&this.getMinorTickInterval()==="auto")ue=ue.concat(this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(te),R,V,j.startOfWeek));else for(de=R+(z[0]-R)%te;de<=V&&de!==ue[0];de+=te)ue.push(de)}return ue.length!==0&&this.trimTicks(ue),ue}adjustForMinRange(){let j=this.options,z=this.logarithmic,{max:te,min:fe,minRange:R}=this,V,ie,ue,de;this.isXAxis&&R===void 0&&!z&&(R=H(j.min)||H(j.max)||H(j.floor)||H(j.ceiling)?null:Math.min(5*(Z(this.series.map(me=>{var _e;return(me.xIncrement?(_e=me.xData)==null?void 0:_e.slice(0,2):me.xData)||[]}))||0),this.dataMax-this.dataMin)),_(te)&&_(fe)&&_(R)&&te-fe<R&&(ie=this.dataMax-this.dataMin>=R,V=(R-te+fe)/2,ue=[fe-V,O(j.min,fe-V)],ie&&(ue[2]=z?z.log2lin(this.dataMin):this.dataMin),de=[(fe=U(ue))+R,O(j.max,fe+R)],ie&&(de[2]=z?z.log2lin(this.dataMax):this.dataMax),(te=q(de))-fe<R&&(ue[0]=te-R,ue[1]=O(j.min,te-R),fe=U(ue))),this.minRange=R,this.min=fe,this.max=te}getClosest(){let j,z;if(this.categories)z=1;else{let te=[];this.series.forEach(function(fe){var V;let R=fe.closestPointRange;((V=fe.xData)==null?void 0:V.length)===1?te.push(fe.xData[0]):!fe.noSharedTooltip&&H(R)&&fe.reserveSpace()&&(z=H(z)?Math.min(z,R):R)}),te.length&&(te.sort((fe,R)=>fe-R),j=Z([te]))}return j&&z?Math.min(j,z):j||z}nameToX(j){let z=T(this.options.categories),te=z?this.categories:this.names,fe=j.options.x,R;return j.series.requireSorting=!1,H(fe)||(fe=this.uniqueNames&&te?z?te.indexOf(j.name):O(te.keys[j.name],-1):j.series.autoIncrement()),fe===-1?!z&&te&&(R=te.length):R=fe,R!==void 0?(this.names[R]=j.name,this.names.keys[j.name]=R):j.x&&(R=j.x),R}updateNames(){let j=this,z=this.names;z.length>0&&(Object.keys(z.keys).forEach(function(te){delete z.keys[te]}),z.length=0,this.minRange=this.userMinRange,(this.series||[]).forEach(te=>{te.xIncrement=null,(!te.points||te.isDirtyData)&&(j.max=Math.max(j.max,te.xData.length-1),te.processData(),te.generatePoints()),te.data.forEach(function(fe,R){let V;fe!=null&&fe.options&&fe.name!==void 0&&(V=j.nameToX(fe))!==void 0&&V!==fe.x&&(fe.x=V,te.xData[R]=V)})}))}setAxisTranslation(){let j=this,z=j.max-j.min,te=j.linkedParent,fe=!!j.categories,R=j.isXAxis,V=j.axisPointRange||0,ie,ue=0,de=0,me,_e=j.transA;(R||fe||V)&&(ie=j.getClosest(),te?(ue=te.minPointOffset,de=te.pointRangePadding):j.series.forEach(function(we){let Ae=fe?1:R?O(we.options.pointRange,ie,0):j.axisPointRange||0,Re=we.options.pointPlacement;if(V=Math.max(V,Ae),!j.single||fe){let Le=we.is("xrange")?!R:R;ue=Math.max(ue,Le&&A(Re)?0:Ae/2),de=Math.max(de,Le&&Re==="on"?0:Ae)}}),me=j.ordinal&&j.ordinal.slope&&ie?j.ordinal.slope/ie:1,j.minPointOffset=ue*=me,j.pointRangePadding=de*=me,j.pointRange=Math.min(V,j.single&&fe?1:z),R&&ie&&(j.closestPointRange=ie)),j.translationSlope=j.transA=_e=j.staticScale||j.len/(z+de||1),j.transB=j.horiz?j.left:j.bottom,j.minPixelPadding=_e*ue,L(this,"afterSetAxisTranslation")}minFromRange(){let{max:j,min:z}=this;return _(j)&&_(z)&&j-z||void 0}setTickInterval(j){var st,it,Rt,He;let{categories:z,chart:te,dataMax:fe,dataMin:R,dateTime:V,isXAxis:ie,logarithmic:ue,options:de,softThreshold:me}=this,_e=_(this.threshold)?this.threshold:void 0,we=this.minRange||0,{ceiling:Ae,floor:Re,linkedTo:Le,softMax:ve,softMin:ye}=de,ge=_(Le)&&((st=te[this.coll])==null?void 0:st[Le]),be=de.tickPixelInterval,ke=de.maxPadding,Ce=de.minPadding,Me=0,Oe,Ne=_(de.tickInterval)&&de.tickInterval>=0?de.tickInterval:void 0,Ge,$e,Xe,Je;if(V||z||ge||this.getTickAmount(),Xe=O(this.userMin,de.min),Je=O(this.userMax,de.max),ge?(this.linkedParent=ge,Oe=ge.getExtremes(),this.min=O(Oe.min,Oe.dataMin),this.max=O(Oe.max,Oe.dataMax),this.type!==ge.type&&ae(11,!0,te)):(me&&H(_e)&&_(fe)&&_(R)&&(R>=_e?(Ge=_e,Ce=0):fe<=_e&&($e=_e,ke=0)),this.min=O(Xe,Ge,R),this.max=O(Je,$e,fe)),_(this.max)&&_(this.min)&&(ue&&(this.positiveValuesOnly&&!j&&0>=Math.min(this.min,O(R,this.min))&&ae(10,!0,te),this.min=J(ue.log2lin(this.min),16),this.max=J(ue.log2lin(this.max),16)),this.range&&_(R)&&(this.userMin=this.min=Xe=Math.max(R,this.minFromRange()||0),this.userMax=Je=this.max,this.range=void 0)),L(this,"foundExtremes"),this.adjustForMinRange(),_(this.min)&&_(this.max)){if(!_(this.userMin)&&_(ye)&&ye<this.min&&(this.min=Xe=ye),!_(this.userMax)&&_(ve)&&ve>this.max&&(this.max=Je=ve),z||this.axisPointRange||(it=this.stacking)!=null&&it.usePercentage||ge||!(Me=this.max-this.min)||(!H(Xe)&&Ce&&(this.min-=Me*Ce),H(Je)||!ke||(this.max+=Me*ke)),!_(this.userMin)&&_(Re)&&(this.min=Math.max(this.min,Re)),!_(this.userMax)&&_(Ae)&&(this.max=Math.min(this.max,Ae)),me&&_(R)&&_(fe)){let lt=_e||0;!H(Xe)&&this.min<lt&&R>=lt?this.min=de.minRange?Math.min(lt,this.max-we):lt:!H(Je)&&this.max>lt&&fe<=lt&&(this.max=de.minRange?Math.max(lt,this.min+we):lt)}!te.polar&&this.min>this.max&&(H(de.min)?this.max=this.min:H(de.max)&&(this.min=this.max)),Me=this.max-this.min}if(this.min!==this.max&&_(this.min)&&_(this.max)?ge&&!Ne&&be===ge.options.tickPixelInterval?this.tickInterval=Ne=ge.tickInterval:this.tickInterval=O(Ne,this.tickAmount?Me/Math.max(this.tickAmount-1,1):void 0,z?1:Me*be/Math.max(this.len,be)):this.tickInterval=1,ie&&!j){let lt=this.min!==((Rt=this.old)==null?void 0:Rt.min)||this.max!==((He=this.old)==null?void 0:He.max);this.series.forEach(function(St){var qe;St.forceCrop=(qe=St.forceCropping)==null?void 0:qe.call(St),St.processData(lt)}),L(this,"postProcessData",{hasExtremesChanged:lt})}this.setAxisTranslation(),L(this,"initialAxisTranslation"),this.pointRange&&!Ne&&(this.tickInterval=Math.max(this.pointRange,this.tickInterval));let ot=O(de.minTickInterval,V&&!this.series.some(lt=>lt.noSharedTooltip)?this.closestPointRange:0);!Ne&&this.tickInterval<ot&&(this.tickInterval=ot),V||ue||Ne||(this.tickInterval=w(this,this.tickInterval)),this.tickAmount||(this.tickInterval=this.unsquish()),this.setTickPositions()}setTickPositions(){var me,_e;let j=this.options,z=j.tickPositions,te=j.tickPositioner,fe=this.getMinorTickInterval(),R=!this.isPanning,V=R&&j.startOnTick,ie=R&&j.endOnTick,ue=[],de;if(this.tickmarkOffset=this.categories&&j.tickmarkPlacement==="between"&&this.tickInterval===1?.5:0,this.single=this.min===this.max&&H(this.min)&&!this.tickAmount&&(this.min%1==0||j.allowDecimals!==!1),z)ue=z.slice();else if(_(this.min)&&_(this.max)){if(!((me=this.ordinal)!=null&&me.positions)&&(this.max-this.min)/this.tickInterval>Math.max(2*this.len,200))ue=[this.min,this.max],ae(19,!1,this.chart);else if(this.dateTime)ue=this.getTimeTicks(this.dateTime.normalizeTimeTickInterval(this.tickInterval,j.units),this.min,this.max,j.startOfWeek,(_e=this.ordinal)==null?void 0:_e.positions,this.closestPointRange,!0);else if(this.logarithmic)ue=this.logarithmic.getLogTickPositions(this.tickInterval,this.min,this.max);else{let we=this.tickInterval,Ae=we;for(;Ae<=2*we&&(ue=this.getLinearTickPositions(this.tickInterval,this.min,this.max),this.tickAmount&&ue.length>this.tickAmount);)this.tickInterval=w(this,Ae*=1.1)}ue.length>this.len&&(ue=[ue[0],ue[ue.length-1]])[0]===ue[1]&&(ue.length=1),te&&(this.tickPositions=ue,(de=te.apply(this,[this.min,this.max]))&&(ue=de))}this.tickPositions=ue,this.minorTickInterval=fe==="auto"&&this.tickInterval?this.tickInterval/j.minorTicksPerMajor:fe,this.paddedTicks=ue.slice(0),this.trimTicks(ue,V,ie),!this.isLinked&&_(this.min)&&_(this.max)&&(this.single&&ue.length<2&&!this.categories&&!this.series.some(we=>we.is("heatmap")&&we.options.pointPlacement==="between")&&(this.min-=.5,this.max+=.5),z||de||this.adjustTickAmount()),L(this,"afterSetTickPositions")}trimTicks(j,z,te){let fe=j[0],R=j[j.length-1],V=!this.isOrdinal&&this.minPointOffset||0;if(L(this,"trimTicks"),!this.isLinked){if(z&&fe!==-1/0)this.min=fe;else for(;this.min-V>j[0];)j.shift();if(te)this.max=R;else for(;this.max+V<j[j.length-1];)j.pop();j.length===0&&H(fe)&&!this.options.tickPositions&&j.push((R+fe)/2)}}alignToOthers(){let j,z=this,te=z.chart,fe=[this],R=z.options,V=te.options.chart,ie=this.coll==="yAxis"&&V.alignThresholds,ue=[];if(z.thresholdAlignment=void 0,(V.alignTicks!==!1&&R.alignTicks||ie)&&R.startOnTick!==!1&&R.endOnTick!==!1&&!z.logarithmic){let de=_e=>{let{horiz:we,options:Ae}=_e;return[we?Ae.left:Ae.top,Ae.width,Ae.height,Ae.pane].join(",")},me=de(this);te[this.coll].forEach(function(_e){let{series:we}=_e;we.length&&we.some(Ae=>Ae.visible)&&_e!==z&&de(_e)===me&&(j=!0,fe.push(_e))})}if(j&&ie){fe.forEach(me=>{let _e=me.getThresholdAlignment(z);_(_e)&&ue.push(_e)});let de=ue.length>1?ue.reduce((me,_e)=>me+=_e,0)/ue.length:void 0;fe.forEach(me=>{me.thresholdAlignment=de})}return j}getThresholdAlignment(j){if((!_(this.dataMin)||this!==j&&this.series.some(z=>z.isDirty||z.isDirtyData))&&this.getSeriesExtremes(),_(this.threshold)){let z=X((this.threshold-(this.dataMin||0))/((this.dataMax||0)-(this.dataMin||0)),0,1);return this.options.reversed&&(z=1-z),z}}getTickAmount(){let j=this.options,z=j.tickPixelInterval,te=j.tickAmount;H(j.tickInterval)||te||!(this.len<z)||this.isRadial||this.logarithmic||!j.startOnTick||!j.endOnTick||(te=2),!te&&this.alignToOthers()&&(te=Math.ceil(this.len/z)+1),te<4&&(this.finalTickAmt=te,te=5),this.tickAmount=te}adjustTickAmount(){let j=this,{finalTickAmt:z,max:te,min:fe,options:R,tickPositions:V,tickAmount:ie,thresholdAlignment:ue}=j,de=V==null?void 0:V.length,me=O(j.threshold,j.softThreshold?0:null),_e,we,Ae=j.tickInterval,Re,Le=()=>V.push(J(V[V.length-1]+Ae)),ve=()=>V.unshift(J(V[0]-Ae));if(_(ue)&&(Re=ue<.5?Math.ceil(ue*(ie-1)):Math.floor(ue*(ie-1)),R.reversed&&(Re=ie-1-Re)),j.hasData()&&_(fe)&&_(te)){let ye=()=>{j.transA*=(de-1)/(ie-1),j.min=R.startOnTick?V[0]:Math.min(fe,V[0]),j.max=R.endOnTick?V[V.length-1]:Math.max(te,V[V.length-1])};if(_(Re)&&_(j.threshold)){for(;V[Re]!==me||V.length!==ie||V[0]>fe||V[V.length-1]<te;){for(V.length=0,V.push(j.threshold);V.length<ie;)V[Re]===void 0||V[Re]>j.threshold?ve():Le();if(Ae>8*j.tickInterval)break;Ae*=2}ye()}else if(de<ie){for(;V.length<ie;)V.length%2||fe===me?Le():ve();ye()}if(H(z)){for(we=_e=V.length;we--;)(z===3&&we%2==1||z<=2&&we>0&&we<_e-1)&&V.splice(we,1);j.finalTickAmt=void 0}}}setScale(){var V,ie;let{coll:j,stacking:z}=this,te=!1,fe=!1;this.series.forEach(ue=>{te=te||ue.isDirtyData||ue.isDirty,fe=fe||ue.xAxis&&ue.xAxis.isDirty||!1}),this.setAxisSize();let R=this.len!==(this.old&&this.old.len);R||te||fe||this.isLinked||this.forceRedraw||this.userMin!==(this.old&&this.old.userMin)||this.userMax!==(this.old&&this.old.userMax)||this.alignToOthers()?(z&&j==="yAxis"&&z.buildStacks(),this.forceRedraw=!1,this.userMinRange||(this.minRange=void 0),this.getSeriesExtremes(),this.setTickInterval(),z&&j==="xAxis"&&z.buildStacks(),this.isDirty||(this.isDirty=R||this.min!==((V=this.old)==null?void 0:V.min)||this.max!==((ie=this.old)==null?void 0:ie.max))):z&&z.cleanStacks(),te&&delete this.allExtremes,L(this,"afterSetScale")}setExtremes(j,z,te=!0,fe,R){this.series.forEach(V=>{delete V.kdTree}),L(this,"setExtremes",R=ee(R,{min:j,max:z}),V=>{this.userMin=V.min,this.userMax=V.max,this.eventArgs=V,te&&this.chart.redraw(fe)})}setAxisSize(){let j=this.chart,z=this.options,te=z.offsets||[0,0,0,0],fe=this.horiz,R=this.width=Math.round(re(O(z.width,j.plotWidth-te[3]+te[1]),j.plotWidth)),V=this.height=Math.round(re(O(z.height,j.plotHeight-te[0]+te[2]),j.plotHeight)),ie=this.top=Math.round(re(O(z.top,j.plotTop+te[0]),j.plotHeight,j.plotTop)),ue=this.left=Math.round(re(O(z.left,j.plotLeft+te[3]),j.plotWidth,j.plotLeft));this.bottom=j.chartHeight-V-ie,this.right=j.chartWidth-R-ue,this.len=Math.max(fe?R:V,0),this.pos=fe?ue:ie}getExtremes(){let j=this.logarithmic;return{min:j?J(j.lin2log(this.min)):this.min,max:j?J(j.lin2log(this.max)):this.max,dataMin:this.dataMin,dataMax:this.dataMax,userMin:this.userMin,userMax:this.userMax}}getThreshold(j){let z=this.logarithmic,te=z?z.lin2log(this.min):this.min,fe=z?z.lin2log(this.max):this.max;return j===null||j===-1/0?j=te:j===1/0?j=fe:te>j?j=te:fe<j&&(j=fe),this.translate(j,0,1,0,1)}autoLabelAlign(j){let z=(O(j,0)-90*this.side+720)%360,te={align:"center"};return L(this,"autoLabelAlign",te,function(fe){z>15&&z<165?fe.align="right":z>195&&z<345&&(fe.align="left")}),te.align}tickSize(j){let z=this.options,te=O(z[j==="tick"?"tickWidth":"minorTickWidth"],j==="tick"&&this.isXAxis&&!this.categories?1:0),fe=z[j==="tick"?"tickLength":"minorTickLength"],R;te&&fe&&(z[j+"Position"]==="inside"&&(fe=-fe),R=[fe,te]);let V={tickSize:R};return L(this,"afterTickSize",V),V.tickSize}labelMetrics(){let j=this.chart.renderer,z=this.ticks,te=z[Object.keys(z)[0]]||{};return this.chart.renderer.fontMetrics(te.label||te.movedLabel||j.box)}unsquish(){let j=this.options.labels,z=j.padding||0,te=this.horiz,fe=this.tickInterval,R=this.len/(((this.categories?1:0)+this.max-this.min)/fe),V=j.rotation,ie=J(.8*this.labelMetrics().h),ue=Math.max(this.max-this.min,0),de=function(Re){let Le=(Re+2*z)/(R||1);return(Le=Le>1?Math.ceil(Le):1)*fe>ue&&Re!==1/0&&R!==1/0&&ue&&(Le=Math.ceil(ue/fe)),J(Le*fe)},me=fe,_e,we=Number.MAX_VALUE,Ae;if(te){if(!j.staggerLines&&(_(V)?Ae=[V]:R<j.autoRotationLimit&&(Ae=j.autoRotation)),Ae){let Re,Le;for(let ve of Ae)(ve===V||ve&&ve>=-90&&ve<=90)&&(Le=(Re=de(Math.abs(ie/Math.sin(ne*ve))))+Math.abs(ve/360))<we&&(we=Le,_e=ve,me=Re)}}else me=de(.75*ie);return this.autoRotation=Ae,this.labelRotation=O(_e,_(V)?V:0),j.step?fe:me}getSlotWidth(j){let z=this.chart,te=this.horiz,fe=this.options.labels,R=Math.max(this.tickPositions.length-(this.categories?0:1),1),V=z.margin[3];if(j&&_(j.slotWidth))return j.slotWidth;if(te&&fe.step<2)return fe.rotation?0:(this.staggerLines||1)*this.len/R;if(!te){let ie=fe.style.width;if(ie!==void 0)return parseInt(String(ie),10);if(V)return V-z.spacing[3]}return .33*z.chartWidth}renderUnsquish(){let j=this.chart,z=j.renderer,te=this.tickPositions,fe=this.ticks,R=this.options.labels,V=R.style,ie=this.horiz,ue=this.getSlotWidth(),de=Math.max(1,Math.round(ue-(ie?2*(R.padding||0):R.distance||0))),me={},_e=this.labelMetrics(),we=V.textOverflow,Ae,Re,Le=0,ve,ye;if(A(R.rotation)||(me.rotation=R.rotation||0),te.forEach(function(ge){let be=fe[ge];be.movedLabel&&be.replaceMovedLabel(),be&&be.label&&be.label.textPxLength>Le&&(Le=be.label.textPxLength)}),this.maxLabelLength=Le,this.autoRotation)Le>de&&Le>_e.h?me.rotation=this.labelRotation:this.labelRotation=0;else if(ue&&(Ae=de,!we))for(Re="clip",ye=te.length;!ie&&ye--;)(ve=fe[te[ye]].label)&&(ve.styles.textOverflow==="ellipsis"?ve.css({textOverflow:"clip"}):ve.textPxLength>ue&&ve.css({width:ue+"px"}),ve.getBBox().height>this.len/te.length-(_e.h-_e.f)&&(ve.specificTextOverflow="ellipsis"));me.rotation&&(Ae=Le>.5*j.chartHeight?.33*j.chartHeight:Le,we||(Re="ellipsis")),this.labelAlign=R.align||this.autoLabelAlign(this.labelRotation),this.labelAlign&&(me.align=this.labelAlign),te.forEach(function(ge){let be=fe[ge],ke=be&&be.label,Ce=V.width,Me={};ke&&(ke.attr(me),be.shortenLabel?be.shortenLabel():Ae&&!Ce&&V.whiteSpace!=="nowrap"&&(Ae<ke.textPxLength||ke.element.tagName==="SPAN")?(Me.width=Ae+"px",we||(Me.textOverflow=ke.specificTextOverflow||Re),ke.css(Me)):!ke.styles.width||Me.width||Ce||ke.css({width:null}),delete ke.specificTextOverflow,be.rotation=me.rotation)},this),this.tickRotCorr=z.rotCorr(_e.b,this.labelRotation||0,this.side!==0)}hasData(){return this.series.some(function(j){return j.hasData()})||this.options.showEmpty&&H(this.min)&&H(this.max)}addTitle(j){let z,te=this.chart.renderer,fe=this.horiz,R=this.opposite,V=this.options.title,ie=this.chart.styledMode;this.axisTitle||((z=V.textAlign)||(z=(fe?{low:"left",middle:"center",high:"right"}:{low:R?"right":"left",middle:"center",high:R?"left":"right"})[V.align]),this.axisTitle=te.text(V.text||"",0,0,V.useHTML).attr({zIndex:7,rotation:V.rotation||0,align:z}).addClass("highcharts-axis-title"),ie||this.axisTitle.css(S(V.style)),this.axisTitle.add(this.axisGroup),this.axisTitle.isNew=!0),ie||V.style.width||this.isRadial||this.axisTitle.css({width:this.len+"px"}),this.axisTitle[j?"show":"hide"](j)}generateTick(j){let z=this.ticks;z[j]?z[j].addLabel():z[j]=new D(this,j)}createGroups(){let{axisParent:j,chart:z,coll:te,options:fe}=this,R=z.renderer,V=(ie,ue,de)=>R.g(ie).attr({zIndex:de}).addClass(`highcharts-${te.toLowerCase()}${ue} `+(this.isRadial?`highcharts-radial-axis${ue} `:"")+(fe.className||"")).add(j);this.axisGroup||(this.gridGroup=V("grid","-grid",fe.gridZIndex),this.axisGroup=V("axis","",fe.zIndex),this.labelGroup=V("axis-labels","-labels",fe.labels.zIndex))}getOffset(){let j=this,{chart:z,horiz:te,options:fe,side:R,ticks:V,tickPositions:ie,coll:ue}=j,de=z.inverted&&!j.isZAxis?[1,0,3,2][R]:R,me=j.hasData(),_e=fe.title,we=fe.labels,Ae=_(fe.crossing),Re=z.axisOffset,Le=z.clipOffset,ve=[-1,1,1,-1][R],ye,ge=0,be,ke=0,Ce=0,Me,Oe;if(j.showAxis=ye=me||fe.showEmpty,j.staggerLines=j.horiz&&we.staggerLines||void 0,j.createGroups(),me||j.isLinked?(ie.forEach(function(Ne){j.generateTick(Ne)}),j.renderUnsquish(),j.reserveSpaceDefault=R===0||R===2||{1:"left",3:"right"}[R]===j.labelAlign,O(we.reserveSpace,!Ae&&null,j.labelAlign==="center"||null,j.reserveSpaceDefault)&&ie.forEach(function(Ne){Ce=Math.max(V[Ne].getLabelSize(),Ce)}),j.staggerLines&&(Ce*=j.staggerLines),j.labelOffset=Ce*(j.opposite?-1:1)):F(V,function(Ne,Ge){Ne.destroy(),delete V[Ge]}),_e!=null&&_e.text&&_e.enabled!==!1&&(j.addTitle(ye),ye&&!Ae&&_e.reserveSpace!==!1&&(j.titleOffset=ge=j.axisTitle.getBBox()[te?"height":"width"],ke=H(be=_e.offset)?0:O(_e.margin,te?5:10))),j.renderLine(),j.offset=ve*O(fe.offset,Re[R]?Re[R]+(fe.margin||0):0),j.tickRotCorr=j.tickRotCorr||{x:0,y:0},Oe=R===0?-j.labelMetrics().h:R===2?j.tickRotCorr.y:0,Me=Math.abs(Ce)+ke,Ce&&(Me-=Oe,Me+=ve*(te?O(we.y,j.tickRotCorr.y+ve*we.distance):O(we.x,ve*we.distance))),j.axisTitleMargin=O(be,Me),j.getMaxLabelDimensions&&(j.maxLabelDimensions=j.getMaxLabelDimensions(V,ie)),ue!=="colorAxis"&&Le){let Ne=this.tickSize("tick");Re[R]=Math.max(Re[R],(j.axisTitleMargin||0)+ge+ve*j.offset,Me,ie&&ie.length&&Ne?Ne[0]+ve*j.offset:0);let Ge=!j.axisLine||fe.offset?0:j.axisLine.strokeWidth()/2;Le[de]=Math.max(Le[de],Ge)}L(this,"afterGetOffset")}getLinePath(j){let z=this.chart,te=this.opposite,fe=this.offset,R=this.horiz,V=this.left+(te?this.width:0)+fe,ie=z.chartHeight-this.bottom-(te?this.height:0)+fe;return te&&(j*=-1),z.renderer.crispLine([["M",R?this.left:V,R?ie:this.top],["L",R?z.chartWidth-this.right:V,R?ie:z.chartHeight-this.bottom]],j)}renderLine(){this.axisLine||(this.axisLine=this.chart.renderer.path().addClass("highcharts-axis-line").add(this.axisGroup),this.chart.styledMode||this.axisLine.attr({stroke:this.options.lineColor,"stroke-width":this.options.lineWidth,zIndex:7}))}getTitlePosition(j){let z=this.horiz,te=this.left,fe=this.top,R=this.len,V=this.options.title,ie=z?te:fe,ue=this.opposite,de=this.offset,me=V.x,_e=V.y,we=this.chart.renderer.fontMetrics(j),Ae=j?Math.max(j.getBBox(!1,0).height-we.h-1,0):0,Re={low:ie+(z?0:R),middle:ie+R/2,high:ie+(z?R:0)}[V.align],Le=(z?fe+this.height:te)+(z?1:-1)*(ue?-1:1)*(this.axisTitleMargin||0)+[-Ae,Ae,we.f,-Ae][this.side],ve={x:z?Re+me:Le+(ue?this.width:0)+de+me,y:z?Le+_e-(ue?this.height:0)+de:Re+_e};return L(this,"afterGetTitlePosition",{titlePosition:ve}),ve}renderMinorTick(j,z){let te=this.minorTicks;te[j]||(te[j]=new D(this,j,"minor")),z&&te[j].isNew&&te[j].render(null,!0),te[j].render(null,!1,1)}renderTick(j,z,te){let fe=this.isLinked,R=this.ticks;(!fe||j>=this.min&&j<=this.max||this.grid&&this.grid.isColumn)&&(R[j]||(R[j]=new D(this,j)),te&&R[j].isNew&&R[j].render(z,!0,-1),R[j].render(z))}render(){let j,z,te=this,fe=te.chart,R=te.logarithmic,V=fe.renderer,ie=te.options,ue=te.isLinked,de=te.tickPositions,me=te.axisTitle,_e=te.ticks,we=te.minorTicks,Ae=te.alternateBands,Re=ie.stackLabels,Le=ie.alternateGridColor,ve=ie.crossing,ye=te.tickmarkOffset,ge=te.axisLine,be=te.showAxis,ke=W(V.globalAnimation);if(te.labelEdge.length=0,te.overlap=!1,[_e,we,Ae].forEach(function(Ce){F(Ce,function(Me){Me.isActive=!1})}),_(ve)){let Ce=this.isXAxis?fe.yAxis[0]:fe.xAxis[0],Me=[1,-1,-1,1][this.side];if(Ce){let Oe=Ce.toPixels(ve,!0);te.horiz&&(Oe=Ce.len-Oe),te.offset=Me*Oe}}if(te.hasData()||ue){let Ce=te.chart.hasRendered&&te.old&&_(te.old.min);te.minorTickInterval&&!te.categories&&te.getMinorTickPositions().forEach(function(Me){te.renderMinorTick(Me,Ce)}),de.length&&(de.forEach(function(Me,Oe){te.renderTick(Me,Oe,Ce)}),ye&&(te.min===0||te.single)&&(_e[-1]||(_e[-1]=new D(te,-1,null,!0)),_e[-1].render(-1))),Le&&de.forEach(function(Me,Oe){z=de[Oe+1]!==void 0?de[Oe+1]+ye:te.max-ye,Oe%2==0&&Me<te.max&&z<=te.max+(fe.polar?-ye:ye)&&(Ae[Me]||(Ae[Me]=new k.PlotLineOrBand(te,{})),j=Me+ye,Ae[Me].options={from:R?R.lin2log(j):j,to:R?R.lin2log(z):z,color:Le,className:"highcharts-alternate-grid"},Ae[Me].render(),Ae[Me].isActive=!0)}),te._addedPlotLB||(te._addedPlotLB=!0,(ie.plotLines||[]).concat(ie.plotBands||[]).forEach(function(Me){te.addPlotBandOrLine(Me)}))}[_e,we,Ae].forEach(function(Ce){let Me=[],Oe=ke.duration;F(Ce,function(Ne,Ge){Ne.isActive||(Ne.render(Ge,!1,0),Ne.isActive=!1,Me.push(Ge))}),C(function(){let Ne=Me.length;for(;Ne--;)Ce[Me[Ne]]&&!Ce[Me[Ne]].isActive&&(Ce[Me[Ne]].destroy(),delete Ce[Me[Ne]])},Ce!==Ae&&fe.hasRendered&&Oe?Oe:0)}),ge&&(ge[ge.isPlaced?"animate":"attr"]({d:this.getLinePath(ge.strokeWidth())}),ge.isPlaced=!0,ge[be?"show":"hide"](be)),me&&be&&(me[me.isNew?"attr":"animate"](te.getTitlePosition(me)),me.isNew=!1),Re&&Re.enabled&&te.stacking&&te.stacking.renderStackTotals(),te.old={len:te.len,max:te.max,min:te.min,transA:te.transA,userMax:te.userMax,userMin:te.userMin},te.isDirty=!1,L(this,"afterRender")}redraw(){this.visible&&(this.render(),this.plotLinesAndBands.forEach(function(j){j.render()})),this.series.forEach(function(j){j.isDirty=!0})}getKeepProps(){return this.keepProps||$.keepProps}destroy(j){let z=this,te=z.plotLinesAndBands,fe=this.eventOptions;if(L(this,"destroy",{keepEvents:j}),j||pe(z),[z.ticks,z.minorTicks,z.alternateBands].forEach(function(R){P(R)}),te){let R=te.length;for(;R--;)te[R].destroy()}for(let R in["axisLine","axisTitle","axisGroup","gridGroup","labelGroup","cross","scrollbar"].forEach(function(V){z[V]&&(z[V]=z[V].destroy())}),z.plotLinesAndBandsGroups)z.plotLinesAndBandsGroups[R]=z.plotLinesAndBandsGroups[R].destroy();F(z,function(R,V){z.getKeepProps().indexOf(V)===-1&&delete z[V]}),this.eventOptions=fe}drawCrosshair(j,z){let te=this.crosshair,fe=O(te&&te.snap,!0),R=this.chart,V,ie,ue,de=this.cross,me;if(L(this,"drawCrosshair",{e:j,point:z}),j||(j=this.cross&&this.cross.e),te&&(H(z)||!fe)!==!1){if(fe?H(z)&&(ie=O(this.coll!=="colorAxis"?z.crosshairPos:null,this.isXAxis?z.plotX:this.len-z.plotY)):ie=j&&(this.horiz?j.chartX-this.pos:this.len-j.chartY+this.pos),H(ie)&&(me={value:z&&(this.isXAxis?z.x:O(z.stackY,z.y)),translatedValue:ie},R.polar&&ee(me,{isCrosshair:!0,chartX:j&&j.chartX,chartY:j&&j.chartY,point:z}),V=this.getPlotLinePath(me)||null),!H(V)){this.hideCrosshair();return}ue=this.categories&&!this.isRadial,de||(this.cross=de=R.renderer.path().addClass("highcharts-crosshair highcharts-crosshair-"+(ue?"category ":"thin ")+(te.className||"")).attr({zIndex:O(te.zIndex,2)}).add(),!R.styledMode&&(de.attr({stroke:te.color||(ue?y.parse("#ccd3ff").setOpacity(.25).get():"#cccccc"),"stroke-width":O(te.width,1)}).css({"pointer-events":"none"}),te.dashStyle&&de.attr({dashstyle:te.dashStyle}))),de.show().attr({d:V}),ue&&!te.width&&de.attr({"stroke-width":this.transA}),this.cross.e=j}else this.hideCrosshair();L(this,"afterDrawCrosshair",{e:j,point:z})}hideCrosshair(){this.cross&&this.cross.hide(),L(this,"afterHideCrosshair")}update(j,z){let te=this.chart;j=S(this.userOptions,j),this.destroy(!0),this.init(te,j),te.isDirtyBox=!0,O(z,!0)&&te.redraw()}remove(j){let z=this.chart,te=this.coll,fe=this.series,R=fe.length;for(;R--;)fe[R]&&fe[R].remove(!1);ce(z.axes,this),ce(z[te]||[],this),z.orderItems(te),this.destroy(),z.isDirtyBox=!0,O(j,!0)&&z.redraw()}setTitle(j,z){this.update({title:j},z)}setCategories(j,z){this.update({categories:j},z)}}return $.keepProps=["coll","extKey","hcEvents","len","names","series","userMax","userMin"],$}),c(o,"Core/Axis/DateTimeAxis.js",[o["Core/Utilities.js"]],function(d){var f;let{addEvent:y,getMagnitude:v,normalizeTickInterval:x,timeUnits:k}=d;return function(D){function B(){return this.chart.time.getTimeTicks.apply(this.chart.time,arguments)}function W(){if(this.type!=="datetime"){this.dateTime=void 0;return}this.dateTime||(this.dateTime=new Q(this))}D.compose=function(E){return E.keepProps.includes("dateTime")||(E.keepProps.push("dateTime"),E.prototype.getTimeTicks=B,y(E,"afterSetType",W)),E};class Q{constructor(Y){this.axis=Y}normalizeTimeTickInterval(Y,se){let ne=se||[["millisecond",[1,2,5,10,20,25,50,100,200,500]],["second",[1,2,5,10,15,30]],["minute",[1,2,5,10,15,30]],["hour",[1,2,3,4,6,8,12]],["day",[1,2]],["week",[1,2]],["month",[1,2,3,4,6]],["year",null]],U=ne[ne.length-1],q=k[U[0]],X=U[1],J;for(J=0;J<ne.length&&(q=k[(U=ne[J])[0]],X=U[1],!ne[J+1]||!(Y<=(q*X[X.length-1]+k[ne[J+1][0]])/2));J++);q===k.year&&Y<5*q&&(X=[1,2,5]);let H=x(Y/q,X,U[0]==="year"?Math.max(v(Y/q),1):1);return{unitRange:q,count:H,unitName:U[0]}}getXDateFormat(Y,se){let{axis:ne}=this,U=ne.chart.time;return ne.closestPointRange?U.getDateFormat(ne.closestPointRange,Y,ne.options.startOfWeek,se)||U.resolveDTLFormat(se.year).main:U.resolveDTLFormat(se.day).main}}D.Additions=Q}(f||(f={})),f}),c(o,"Core/Axis/LogarithmicAxis.js",[o["Core/Utilities.js"]],function(d){var f;let{addEvent:y,normalizeTickInterval:v,pick:x}=d;return function(k){function D(){this.type!=="logarithmic"?this.logarithmic=void 0:this.logarithmic??(this.logarithmic=new W(this))}function B(){let Q=this.logarithmic;Q&&(this.lin2val=function(E){return Q.lin2log(E)},this.val2lin=function(E){return Q.log2lin(E)})}k.compose=function(Q){return Q.keepProps.includes("logarithmic")||(Q.keepProps.push("logarithmic"),y(Q,"afterSetType",D),y(Q,"afterInit",B)),Q};class W{constructor(E){this.axis=E}getLogTickPositions(E,Y,se,ne){let U=this.axis,q=U.len,X=U.options,J=[];if(ne||(this.minorAutoInterval=void 0),E>=.5)E=Math.round(E),J=U.getLinearTickPositions(E,Y,se);else if(E>=.08){let H,P,ce,ae,ee,L,Z,G=Math.floor(Y);for(H=E>.3?[1,2,4]:E>.15?[1,2,4,6,8]:[1,2,3,4,5,6,7,8,9],P=G;P<se+1&&!Z;P++)for(ce=0,ae=H.length;ce<ae&&!Z;ce++)(ee=this.log2lin(this.lin2log(P)*H[ce]))>Y&&(!ne||L<=se)&&L!==void 0&&J.push(L),L>se&&(Z=!0),L=ee}else{let H=this.lin2log(Y),P=this.lin2log(se),ce=ne?U.getMinorTickInterval():X.tickInterval,ae=X.tickPixelInterval/(ne?5:1),ee=ne?q/U.tickPositions.length:q;E=v(E=x(ce==="auto"?null:ce,this.minorAutoInterval,(P-H)*ae/(ee||1))),J=U.getLinearTickPositions(E,H,P).map(this.log2lin),ne||(this.minorAutoInterval=E/5)}return ne||(U.tickInterval=E),J}lin2log(E){return Math.pow(10,E)}log2lin(E){return Math.log(E)/Math.LN10}}k.Additions=W}(f||(f={})),f}),c(o,"Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js",[o["Core/Utilities.js"]],function(d){var f;let{erase:y,extend:v,isNumber:x}=d;return function(k){let D;function B(U){return this.addPlotBandOrLine(U,"plotBands")}function W(U,q){let X=this.userOptions,J=new D(this,U);if(this.visible&&(J=J.render()),J){if(this._addedPlotLB||(this._addedPlotLB=!0,(X.plotLines||[]).concat(X.plotBands||[]).forEach(H=>{this.addPlotBandOrLine(H)})),q){let H=X[q]||[];H.push(U),X[q]=H}this.plotLinesAndBands.push(J)}return J}function Q(U){return this.addPlotBandOrLine(U,"plotLines")}function E(U,q,X){X=X||this.options;let J=this.getPlotLinePath({value:q,force:!0,acrossPanes:X.acrossPanes}),H=[],P=this.horiz,ce=!x(this.min)||!x(this.max)||U<this.min&&q<this.min||U>this.max&&q>this.max,ae=this.getPlotLinePath({value:U,force:!0,acrossPanes:X.acrossPanes}),ee,L=1,Z;if(ae&&J)for(ce&&(Z=ae.toString()===J.toString(),L=0),ee=0;ee<ae.length;ee+=2){let G=ae[ee],T=ae[ee+1],_=J[ee],A=J[ee+1];(G[0]==="M"||G[0]==="L")&&(T[0]==="M"||T[0]==="L")&&(_[0]==="M"||_[0]==="L")&&(A[0]==="M"||A[0]==="L")&&(P&&_[1]===G[1]?(_[1]+=L,A[1]+=L):P||_[2]!==G[2]||(_[2]+=L,A[2]+=L),H.push(["M",G[1],G[2]],["L",T[1],T[2]],["L",A[1],A[2]],["L",_[1],_[2]],["Z"])),H.isFlat=Z}return H}function Y(U){this.removePlotBandOrLine(U)}function se(U){let q=this.plotLinesAndBands,X=this.options,J=this.userOptions;if(q){let H=q.length;for(;H--;)q[H].id===U&&q[H].destroy();[X.plotLines||[],J.plotLines||[],X.plotBands||[],J.plotBands||[]].forEach(function(P){for(H=P.length;H--;)(P[H]||{}).id===U&&y(P,P[H])})}}function ne(U){this.removePlotBandOrLine(U)}k.compose=function(U,q){let X=q.prototype;return X.addPlotBand||(D=U,v(X,{addPlotBand:B,addPlotLine:Q,addPlotBandOrLine:W,getPlotBandPath:E,removePlotBand:Y,removePlotLine:ne,removePlotBandOrLine:se})),q}}(f||(f={})),f}),c(o,"Core/Axis/PlotLineOrBand/PlotLineOrBand.js",[o["Core/Axis/PlotLineOrBand/PlotLineOrBandAxis.js"],o["Core/Utilities.js"]],function(d,f){let{addEvent:y,arrayMax:v,arrayMin:x,defined:k,destroyObjectProperties:D,erase:B,fireEvent:W,merge:Q,objectEach:E,pick:Y}=f;class se{static compose(U,q){return y(U,"afterInit",function(){this.labelCollectors.push(()=>{var J;let X=[];for(let H of this.axes)for(let{label:P,options:ce}of H.plotLinesAndBands)P&&!((J=ce==null?void 0:ce.label)!=null&&J.allowOverlap)&&X.push(P);return X})}),d.compose(se,q)}constructor(U,q){this.axis=U,this.options=q,this.id=q.id}render(){W(this,"render");let{axis:U,options:q}=this,{horiz:X,logarithmic:J}=U,{color:H,events:P,zIndex:ce=0}=q,ae={},ee=U.chart.renderer,L=q.to,Z=q.from,G=q.value,T=q.borderWidth,_=q.label,{label:A,svgElem:S}=this,N=[],F,O=k(Z)&&k(L),re=k(G),pe=!S,g={class:"highcharts-plot-"+(O?"band ":"line ")+(q.className||"")},C=O?"bands":"lines";if(!U.chart.styledMode&&(re?(g.stroke=H||"#999999",g["stroke-width"]=Y(q.width,1),q.dashStyle&&(g.dashstyle=q.dashStyle)):O&&(g.fill=H||"#e6e9ff",T&&(g.stroke=q.borderColor,g["stroke-width"]=T))),ae.zIndex=ce,C+="-"+ce,(F=U.plotLinesAndBandsGroups[C])||(U.plotLinesAndBandsGroups[C]=F=ee.g("plot-"+C).attr(ae).add()),S||(this.svgElem=S=ee.path().attr(g).add(F)),k(G))N=U.getPlotLinePath({value:(J==null?void 0:J.log2lin(G))??G,lineWidth:S.strokeWidth(),acrossPanes:q.acrossPanes});else{if(!(k(Z)&&k(L)))return;N=U.getPlotBandPath((J==null?void 0:J.log2lin(Z))??Z,(J==null?void 0:J.log2lin(L))??L,q)}return!this.eventsAdded&&P&&(E(P,(w,$)=>{S==null||S.on($,le=>{P[$].apply(this,[le])})}),this.eventsAdded=!0),(pe||!S.d)&&(N!=null&&N.length)?S.attr({d:N}):S&&(N?(S.show(),S.animate({d:N})):S.d&&(S.hide(),A&&(this.label=A=A.destroy()))),_&&(k(_.text)||k(_.formatter))&&(N!=null&&N.length)&&U.width>0&&U.height>0&&!N.isFlat?(_=Q({align:X&&O?"center":void 0,x:X?!O&&4:10,verticalAlign:!X&&O?"middle":void 0,y:X?O?16:10:O?6:-4,rotation:X&&!O?90:0,...O?{inside:!0}:{}},_),this.renderLabel(_,N,O,ce)):A&&A.hide(),this}renderLabel(U,q,X,J){var _;let H=this.axis,P=H.chart.renderer,ce=U.inside,ae=this.label;ae||(this.label=ae=P.text(this.getLabelText(U),0,0,U.useHTML).attr({align:U.textAlign||U.align,rotation:U.rotation,class:"highcharts-plot-"+(X?"band":"line")+"-label "+(U.className||""),zIndex:J}),H.chart.styledMode||ae.css(Q({fontSize:"0.8em",textOverflow:X&&!ce?"":"ellipsis"},U.style)),ae.add());let ee=q.xBounds||[q[0][1],q[1][1],X?q[2][1]:q[0][1]],L=q.yBounds||[q[0][2],q[1][2],X?q[2][2]:q[0][2]],Z=x(ee),G=x(L),T=v(ee)-Z;ae.align(U,!1,{x:Z,y:G,width:T,height:v(L)-G}),(!ae.alignValue||ae.alignValue==="left"||k(ce))&&ae.css({width:(((_=U.style)==null?void 0:_.width)||(X&&ce?T:ae.rotation===90?H.height-(ae.alignAttr.y-H.top):(U.clip?H.width:H.chart.chartWidth)-(ae.alignAttr.x-H.left)))+"px"}),ae.show(!0)}getLabelText(U){return k(U.formatter)?U.formatter.call(this):U.text}destroy(){B(this.axis.plotLinesAndBands,this),delete this.axis,D(this)}}return se}),c(o,"Core/Tooltip.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Templating.js"],o["Core/Globals.js"],o["Core/Renderer/RendererUtilities.js"],o["Core/Renderer/RendererRegistry.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k){var D;let{animObject:B}=d,{format:W}=f,{composed:Q,doc:E,isSafari:Y}=y,{distribute:se}=v,{addEvent:ne,clamp:U,css:q,discardElement:X,extend:J,fireEvent:H,isArray:P,isNumber:ce,isString:ae,merge:ee,pick:L,pushUnique:Z,splat:G,syncTimeout:T}=k;class _{constructor(S,N,F){this.allowShared=!0,this.crosshairs=[],this.distance=0,this.isHidden=!0,this.isSticky=!1,this.options={},this.outside=!1,this.chart=S,this.init(S,N),this.pointer=F}bodyFormatter(S){return S.map(function(N){let F=N.series.tooltipOptions;return(F[(N.point.formatPrefix||"point")+"Formatter"]||N.point.tooltipFormatter).call(N.point,F[(N.point.formatPrefix||"point")+"Format"]||"")})}cleanSplit(S){this.chart.series.forEach(function(N){let F=N&&N.tt;F&&(!F.isActive||S?N.tt=F.destroy():F.isActive=!1)})}defaultFormatter(S){let N,F=this.points||G(this);return(N=(N=[S.tooltipFooterHeaderFormatter(F[0])]).concat(S.bodyFormatter(F))).push(S.tooltipFooterHeaderFormatter(F[0],!0)),N}destroy(){this.label&&(this.label=this.label.destroy()),this.split&&(this.cleanSplit(!0),this.tt&&(this.tt=this.tt.destroy())),this.renderer&&(this.renderer=this.renderer.destroy(),X(this.container)),k.clearTimeout(this.hideTimer)}getAnchor(S,N){let F,{chart:O,pointer:re}=this,pe=O.inverted,g=O.plotTop,C=O.plotLeft;if((S=G(S))[0].series&&S[0].series.yAxis&&!S[0].series.yAxis.options.reversedStacks&&(S=S.slice().reverse()),this.followPointer&&N)N.chartX===void 0&&(N=re.normalize(N)),F=[N.chartX-C,N.chartY-g];else if(S[0].tooltipPos)F=S[0].tooltipPos;else{let w=0,$=0;S.forEach(function(le){let j=le.pos(!0);j&&(w+=j[0],$+=j[1])}),w/=S.length,$/=S.length,this.shared&&S.length>1&&N&&(pe?w=N.chartX:$=N.chartY),F=[w-C,$-g]}return F.map(Math.round)}getClassName(S,N,F){let O=this.options,re=S.series,pe=re.options;return[O.className,"highcharts-label",F&&"highcharts-tooltip-header",N?"highcharts-tooltip-box":"highcharts-tooltip",!F&&"highcharts-color-"+L(S.colorIndex,re.colorIndex),pe&&pe.className].filter(ae).join(" ")}getLabel({anchorX:S,anchorY:N}={anchorX:0,anchorY:0}){let F=this,O=this.chart.styledMode,re=this.options,pe=this.split&&this.allowShared,g=this.container,C=this.chart.renderer;if(this.label){let w=!this.label.hasClass("highcharts-label");(!pe&&w||pe&&!w)&&this.destroy()}if(!this.label){if(this.outside){let w=this.chart.options.chart.style,$=x.getRendererType();this.container=g=y.doc.createElement("div"),g.className="highcharts-tooltip-container",q(g,{position:"absolute",top:"1px",pointerEvents:"none",zIndex:Math.max(this.options.style.zIndex||0,(w&&w.zIndex||0)+3)}),this.renderer=C=new $(g,0,0,w,void 0,void 0,C.styledMode)}if(pe?this.label=C.g("tooltip"):(this.label=C.label("",S,N,re.shape,void 0,void 0,re.useHTML,void 0,"tooltip").attr({padding:re.padding,r:re.borderRadius}),O||this.label.attr({fill:re.backgroundColor,"stroke-width":re.borderWidth||0}).css(re.style).css({pointerEvents:re.style.pointerEvents||(this.shouldStickOnContact()?"auto":"none")})),F.outside){let w=this.label;[w.xSetter,w.ySetter].forEach(($,le)=>{w[le?"ySetter":"xSetter"]=j=>{$.call(w,F.distance),w[le?"y":"x"]=j,g&&(g.style[le?"top":"left"]=`${j}px`)}})}this.label.attr({zIndex:8}).shadow(re.shadow).add()}return g&&!g.parentElement&&y.doc.body.appendChild(g),this.label}getPlayingField(){let{body:S,documentElement:N}=E,{chart:F,distance:O,outside:re}=this;return{width:re?Math.max(S.scrollWidth,N.scrollWidth,S.offsetWidth,N.offsetWidth,N.clientWidth)-2*O:F.chartWidth,height:re?Math.max(S.scrollHeight,N.scrollHeight,S.offsetHeight,N.offsetHeight,N.clientHeight):F.chartHeight}}getPosition(S,N,F){var ke,Ce;let{distance:O,chart:re,outside:pe,pointer:g}=this,{inverted:C,plotLeft:w,plotTop:$,polar:le}=re,{plotX:j=0,plotY:z=0}=F,te={},fe=C&&F.h||0,{height:R,width:V}=this.getPlayingField(),ie=g.getChartPosition(),ue=Me=>Me*ie.scaleX,de=Me=>Me*ie.scaleY,me=Me=>{let Oe=Me==="x";return[Me,Oe?V:R,Oe?S:N].concat(pe?[Oe?ue(S):de(N),Oe?ie.left-O+ue(j+w):ie.top-O+de(z+$),0,Oe?V:R]:[Oe?S:N,Oe?j+w:z+$,Oe?w:$,Oe?w+re.plotWidth:$+re.plotHeight])},_e=me("y"),we=me("x"),Ae,Re=!!F.negative;!le&&((Ce=(ke=re.hoverSeries)==null?void 0:ke.yAxis)!=null&&Ce.reversed)&&(Re=!Re);let Le=!this.followPointer&&L(F.ttBelow,!le&&!C===Re),ve=function(Me,Oe,Ne,Ge,$e,Xe,Je){let ot=pe?Me==="y"?de(O):ue(O):O,st=(Ne-Ge)/2,it=Ge<$e-O,Rt=$e+O+Ge<Oe,He=$e-ot-Ne+st,lt=$e+ot-st;if(Le&&Rt)te[Me]=lt;else if(!Le&&it)te[Me]=He;else if(it)te[Me]=Math.min(Je-Ge,He-fe<0?He:He-fe);else{if(!Rt)return!1;te[Me]=Math.max(Xe,lt+fe+Ne>Oe?lt:lt+fe)}},ye=function(Me,Oe,Ne,Ge,$e){if($e<O||$e>Oe-O)return!1;$e<Ne/2?te[Me]=1:$e>Oe-Ge/2?te[Me]=Oe-Ge-2:te[Me]=$e-Ne/2},ge=function(Me){[_e,we]=[we,_e],Ae=Me},be=()=>{ve.apply(0,_e)!==!1?ye.apply(0,we)!==!1||Ae||(ge(!0),be()):Ae?te.x=te.y=0:(ge(!0),be())};return(C&&!le||this.len>1)&&ge(),be(),te}hide(S){let N=this;k.clearTimeout(this.hideTimer),S=L(S,this.options.hideDelay),this.isHidden||(this.hideTimer=T(function(){let F=N.getLabel();N.getLabel().animate({opacity:0},{duration:S&&150,complete:()=>{F.hide(),N.container&&N.container.remove()}}),N.isHidden=!0},S))}init(S,N){this.chart=S,this.options=N,this.crosshairs=[],this.isHidden=!0,this.split=N.split&&!S.inverted&&!S.polar,this.shared=N.shared||this.split,this.outside=L(N.outside,!!(S.scrollablePixelsX||S.scrollablePixelsY))}shouldStickOnContact(S){return!!(!this.followPointer&&this.options.stickOnContact&&(!S||this.pointer.inClass(S.target,"highcharts-tooltip")))}move(S,N,F,O){let re=this,pe=B(!re.isHidden&&re.options.animation),g=re.followPointer||(re.len||0)>1,C={x:S,y:N};g||(C.anchorX=F,C.anchorY=O),pe.step=()=>re.drawTracker(),re.getLabel().animate(C,pe)}refresh(S,N){let{chart:F,options:O,pointer:re,shared:pe}=this,g=G(S),C=g[0],w=[],$=O.format,le=O.formatter||this.defaultFormatter,j=F.styledMode,z={},te=this.allowShared;if(!O.enabled||!C.series)return;k.clearTimeout(this.hideTimer),this.allowShared=!(!P(S)&&S.series&&S.series.noSharedTooltip),te=te&&!this.allowShared,this.followPointer=!this.split&&C.series.tooltipOptions.followPointer;let fe=this.getAnchor(S,N),R=fe[0],V=fe[1];pe&&this.allowShared?(re.applyInactiveState(g),g.forEach(function(de){de.setState("hover"),w.push(de.getLabelConfig())}),(z=C.getLabelConfig()).points=w):z=C.getLabelConfig(),this.len=w.length;let ie=ae($)?W($,z,F):le.call(z,this),ue=C.series;if(this.distance=L(ue.tooltipOptions.distance,16),ie===!1)this.hide();else{if(this.split&&this.allowShared)this.renderSplit(ie,g);else{let de=R,me=V;if(N&&re.isDirectTouch&&(de=N.chartX-F.plotLeft,me=N.chartY-F.plotTop),F.polar||ue.options.clip===!1||g.some(_e=>re.isDirectTouch||_e.series.shouldShowTooltip(de,me))){let _e=this.getLabel(te&&this.tt||{});(!O.style.width||j)&&_e.css({width:(this.outside?this.getPlayingField():F.spacingBox).width+"px"}),_e.attr({class:this.getClassName(C),text:ie&&ie.join?ie.join(""):ie}),this.outside&&_e.attr({x:U(_e.x||0,0,this.getPlayingField().width-(_e.width||0))}),j||_e.attr({stroke:O.borderColor||C.color||ue.color||"#666666"}),this.updatePosition({plotX:R,plotY:V,negative:C.negative,ttBelow:C.ttBelow,h:fe[2]||0})}else{this.hide();return}}this.isHidden&&this.label&&this.label.attr({opacity:1}).show(),this.isHidden=!1}H(this,"refresh")}renderSplit(S,N){var Oe;let F=this,{chart:O,chart:{chartWidth:re,chartHeight:pe,plotHeight:g,plotLeft:C,plotTop:w,scrollablePixelsY:$=0,scrollablePixelsX:le,styledMode:j},distance:z,options:te,options:{positioner:fe},pointer:R}=F,{scrollLeft:V=0,scrollTop:ie=0}=((Oe=O.scrollablePlotArea)==null?void 0:Oe.scrollingContainer)||{},ue=F.outside&&typeof le!="number"?E.documentElement.getBoundingClientRect():{left:V,right:V+re},de=F.getLabel(),me=this.renderer||O.renderer,_e=!!(O.xAxis[0]&&O.xAxis[0].opposite),{left:we,top:Ae}=R.getChartPosition(),Re=w+ie,Le=0,ve=g-$;function ye(Ne,Ge,$e,Xe,Je=!0){let ot,st;return $e?(ot=_e?0:ve,st=U(Ne-Xe/2,ue.left,ue.right-Xe-(F.outside?we:0))):(ot=Ge-Re,st=U(st=Je?Ne-Xe-z:Ne+z,Je?st:ue.left,ue.right)),{x:st,y:ot}}ae(S)&&(S=[!1,S]);let ge=S.slice(0,N.length+1).reduce(function(Ne,Ge,$e){if(Ge!==!1&&Ge!==""){let Xe=N[$e-1]||{isHeader:!0,plotX:N[0].plotX,plotY:g,series:{}},Je=Xe.isHeader,ot=Je?F:Xe.series,st=ot.tt=function(St,qe,ht){let xt=St,{isHeader:zt,series:jt}=qe;if(!xt){let yt={padding:te.padding,r:te.borderRadius};j||(yt.fill=te.backgroundColor,yt["stroke-width"]=te.borderWidth??1),xt=me.label("",0,0,te[zt?"headerShape":"shape"],void 0,void 0,te.useHTML).addClass(F.getClassName(qe,!0,zt)).attr(yt).add(de)}return xt.isActive=!0,xt.attr({text:ht}),j||xt.css(te.style).attr({stroke:te.borderColor||qe.color||jt.color||"#333333"}),xt}(ot.tt,Xe,Ge.toString()),it=st.getBBox(),Rt=it.width+st.strokeWidth();Je&&(Le=it.height,ve+=Le,_e&&(Re-=Le));let{anchorX:He,anchorY:lt}=function(St){let qe,ht,{isHeader:xt,plotX:zt=0,plotY:jt=0,series:yt}=St;if(xt)qe=Math.max(C+zt,C),ht=w+g/2;else{let{xAxis:vt,yAxis:ft}=yt;qe=vt.pos+U(zt,-z,vt.len+z),yt.shouldShowTooltip(0,ft.pos-w+jt,{ignoreX:!0})&&(ht=ft.pos+jt)}return{anchorX:qe=U(qe,ue.left-z,ue.right+z),anchorY:ht}}(Xe);if(typeof lt=="number"){let St=it.height+1,qe=fe?fe.call(F,Rt,St,Xe):ye(He,lt,Je,Rt);Ne.push({align:fe?0:void 0,anchorX:He,anchorY:lt,boxWidth:Rt,point:Xe,rank:L(qe.rank,Je?1:0),size:St,target:qe.y,tt:st,x:qe.x})}else st.isActive=!1}return Ne},[]);!fe&&ge.some(Ne=>{let{outside:Ge}=F,$e=(Ge?we:0)+Ne.anchorX;return $e<ue.left&&$e+Ne.boxWidth<ue.right||$e<we-ue.left+Ne.boxWidth&&ue.right-$e>$e})&&(ge=ge.map(Ne=>{let{x:Ge,y:$e}=ye(Ne.anchorX,Ne.anchorY,Ne.point.isHeader,Ne.boxWidth,!1);return J(Ne,{target:$e,x:Ge})})),F.cleanSplit(),se(ge,ve);let be={left:we,right:we};ge.forEach(function(Ne){let{x:Ge,boxWidth:$e,isHeader:Xe}=Ne;!Xe&&(F.outside&&we+Ge<be.left&&(be.left=we+Ge),!Xe&&F.outside&&be.left+$e>be.right&&(be.right=we+Ge))}),ge.forEach(function(Ne){let{x:Ge,anchorX:$e,anchorY:Xe,pos:Je,point:{isHeader:ot}}=Ne,st={visibility:Je===void 0?"hidden":"inherit",x:Ge,y:(Je||0)+Re,anchorX:$e,anchorY:Xe};if(F.outside&&Ge<$e){let it=we-be.left;it>0&&(ot||(st.x=Ge+it,st.anchorX=$e+it),ot&&(st.x=(be.right-be.left)/2,st.anchorX=$e+it))}Ne.tt.attr(st)});let{container:ke,outside:Ce,renderer:Me}=F;if(Ce&&ke&&Me){let{width:Ne,height:Ge,x:$e,y:Xe}=de.getBBox();Me.setSize(Ne+$e,Ge+Xe,!1),ke.style.left=be.left+"px",ke.style.top=Ae+"px"}Y&&de.attr({opacity:de.opacity===1?.999:1})}drawTracker(){if(!this.shouldStickOnContact()){this.tracker&&(this.tracker=this.tracker.destroy());return}let S=this.chart,N=this.label,F=this.shared?S.hoverPoints:S.hoverPoint;if(!N||!F)return;let O={x:0,y:0,width:0,height:0},re=this.getAnchor(F),pe=N.getBBox();re[0]+=S.plotLeft-(N.translateX||0),re[1]+=S.plotTop-(N.translateY||0),O.x=Math.min(0,re[0]),O.y=Math.min(0,re[1]),O.width=re[0]<0?Math.max(Math.abs(re[0]),pe.width-re[0]):Math.max(Math.abs(re[0]),pe.width),O.height=re[1]<0?Math.max(Math.abs(re[1]),pe.height-Math.abs(re[1])):Math.max(Math.abs(re[1]),pe.height),this.tracker?this.tracker.attr(O):(this.tracker=N.renderer.rect(O).addClass("highcharts-tracker").add(N),S.styledMode||this.tracker.attr({fill:"rgba(0,0,0,0)"}))}styledModeFormat(S){return S.replace('style="font-size: 0.8em"','class="highcharts-header"').replace(/style="color:{(point|series)\.color}"/g,'class="highcharts-color-{$1.colorIndex} {series.options.className} {point.options.className}"')}tooltipFooterHeaderFormatter(S,N){let F=S.series,O=F.tooltipOptions,re=F.xAxis,pe=re&&re.dateTime,g={isFooter:N,labelConfig:S},C=O.xDateFormat,w=O[N?"footerFormat":"headerFormat"];return H(this,"headerFormatter",g,function($){pe&&!C&&ce(S.key)&&(C=pe.getXDateFormat(S.key,O.dateTimeLabelFormats)),pe&&C&&(S.point&&S.point.tooltipDateKeys||["key"]).forEach(function(le){w=w.replace("{point."+le+"}","{point."+le+":"+C+"}")}),F.chart.styledMode&&(w=this.styledModeFormat(w)),$.text=W(w,{point:S,series:F},this.chart)}),g.text}update(S){this.destroy(),this.init(this.chart,ee(!0,this.options,S))}updatePosition(S){let{chart:N,container:F,distance:O,options:re,pointer:pe,renderer:g}=this,{height:C=0,width:w=0}=this.getLabel(),{left:$,top:le,scaleX:j,scaleY:z}=pe.getChartPosition(),te=(re.positioner||this.getPosition).call(this,w,C,S),fe=(S.plotX||0)+N.plotLeft,R=(S.plotY||0)+N.plotTop,V;g&&F&&(re.positioner&&(te.x+=$-O,te.y+=le-O),V=(re.borderWidth||0)+2*O+2,g.setSize(w+V,C+V,!1),(j!==1||z!==1)&&(q(F,{transform:`scale(${j}, ${z})`}),fe*=j,R*=z),fe+=$-te.x,R+=le-te.y),this.move(Math.round(te.x),Math.round(te.y||0),fe,R)}}return(D=_||(_={})).compose=function(A){Z(Q,"Core.Tooltip")&&ne(A,"afterInit",function(){let S=this.chart;S.options.tooltip&&(S.tooltip=new D(S,S.options.tooltip,this))})},_}),c(o,"Core/Series/Point.js",[o["Core/Renderer/HTML/AST.js"],o["Core/Animation/AnimationUtilities.js"],o["Core/Defaults.js"],o["Core/Templating.js"],o["Core/Utilities.js"]],function(d,f,y,v,x){let{animObject:k}=f,{defaultOptions:D}=y,{format:B}=v,{addEvent:W,crisp:Q,erase:E,extend:Y,fireEvent:se,getNestedProperty:ne,isArray:U,isFunction:q,isNumber:X,isObject:J,merge:H,pick:P,syncTimeout:ce,removeEvent:ae,uniqueKey:ee}=x;class L{animateBeforeDestroy(){let G=this,T={x:G.startXPos,opacity:0},_=G.getGraphicalProps();_.singular.forEach(function(A){G[A]=G[A].animate(A==="dataLabel"?{x:G[A].startXPos,y:G[A].startYPos,opacity:0}:T)}),_.plural.forEach(function(A){G[A].forEach(function(S){S.element&&S.animate(Y({x:G.startXPos},S.startYPos?{x:S.startXPos,y:S.startYPos}:{}))})})}applyOptions(G,T){let _=this.series,A=_.options.pointValKey||_.pointValKey;return Y(this,G=L.prototype.optionsToObject.call(this,G)),this.options=this.options?Y(this.options,G):G,G.group&&delete this.group,G.dataLabels&&delete this.dataLabels,A&&(this.y=L.prototype.getNestedProperty.call(this,A)),this.selected&&(this.state="select"),"name"in this&&T===void 0&&_.xAxis&&_.xAxis.hasNames&&(this.x=_.xAxis.nameToX(this)),this.x===void 0&&_?this.x=T??_.autoIncrement():X(G.x)&&_.options.relativeXValue&&(this.x=_.autoIncrement(G.x)),this.isNull=this.isValid&&!this.isValid(),this.formatPrefix=this.isNull?"null":"point",this}destroy(){if(!this.destroyed){let G=this,T=G.series,_=T.chart,A=T.options.dataSorting,S=_.hoverPoints,N=k(G.series.chart.renderer.globalAnimation),F=()=>{for(let O in(G.graphic||G.graphics||G.dataLabel||G.dataLabels)&&(ae(G),G.destroyElements()),G)delete G[O]};G.legendItem&&_.legend.destroyItem(G),S&&(G.setState(),E(S,G),S.length||(_.hoverPoints=null)),G===_.hoverPoint&&G.onMouseOut(),A&&A.enabled?(this.animateBeforeDestroy(),ce(F,N.duration)):F(),_.pointCount--}this.destroyed=!0}destroyElements(G){let T=this,_=T.getGraphicalProps(G);_.singular.forEach(function(A){T[A]=T[A].destroy()}),_.plural.forEach(function(A){T[A].forEach(function(S){S&&S.element&&S.destroy()}),delete T[A]})}firePointEvent(G,T,_){let A=this,S=this.series.options;A.manageEvent(G),G==="click"&&S.allowPointSelect&&(_=function(N){!A.destroyed&&A.select&&A.select(null,N.ctrlKey||N.metaKey||N.shiftKey)}),se(A,G,T,_)}getClassName(){return"highcharts-point"+(this.selected?" highcharts-point-select":"")+(this.negative?" highcharts-negative":"")+(this.isNull?" highcharts-null-point":"")+(this.colorIndex!==void 0?" highcharts-color-"+this.colorIndex:"")+(this.options.className?" "+this.options.className:"")+(this.zone&&this.zone.className?" "+this.zone.className.replace("highcharts-negative",""):"")}getGraphicalProps(G){let T,_,A=this,S=[],N={singular:[],plural:[]};for((G=G||{graphic:1,dataLabel:1}).graphic&&S.push("graphic","connector"),G.dataLabel&&S.push("dataLabel","dataLabelPath","dataLabelUpper"),_=S.length;_--;)A[T=S[_]]&&N.singular.push(T);return["graphic","dataLabel"].forEach(function(F){let O=F+"s";G[F]&&A[O]&&N.plural.push(O)}),N}getLabelConfig(){return{x:this.category,y:this.y,color:this.color,colorIndex:this.colorIndex,key:this.name||this.category,series:this.series,point:this,percentage:this.percentage,total:this.total||this.stackTotal}}getNestedProperty(G){return G?G.indexOf("custom.")===0?ne(G,this.options):this[G]:void 0}getZone(){let G=this.series,T=G.zones,_=G.zoneAxis||"y",A,S=0;for(A=T[0];this[_]>=A.value;)A=T[++S];return this.nonZonedColor||(this.nonZonedColor=this.color),A&&A.color&&!this.options.color?this.color=A.color:this.color=this.nonZonedColor,A}hasNewShapeType(){return(this.graphic&&(this.graphic.symbolName||this.graphic.element.nodeName))!==this.shapeType}constructor(G,T,_){this.formatPrefix="point",this.visible=!0,this.series=G,this.applyOptions(T,_),this.id??(this.id=ee()),this.resolveColor(),G.chart.pointCount++,se(this,"afterInit")}isValid(){return(X(this.x)||this.x instanceof Date)&&X(this.y)}optionsToObject(G){let T=this.series,_=T.options.keys,A=_||T.pointArrayMap||["y"],S=A.length,N={},F,O=0,re=0;if(X(G)||G===null)N[A[0]]=G;else if(U(G))for(!_&&G.length>S&&((F=typeof G[0])=="string"?N.name=G[0]:F==="number"&&(N.x=G[0]),O++);re<S;)_&&G[O]===void 0||(A[re].indexOf(".")>0?L.prototype.setNestedProperty(N,G[O],A[re]):N[A[re]]=G[O]),O++,re++;else typeof G=="object"&&(N=G,G.dataLabels&&(T.hasDataLabels=()=>!0),G.marker&&(T._hasPointMarkers=!0));return N}pos(G,T=this.plotY){if(!this.destroyed){let{plotX:_,series:A}=this,{chart:S,xAxis:N,yAxis:F}=A,O=0,re=0;if(X(_)&&X(T))return G&&(O=N?N.pos:S.plotLeft,re=F?F.pos:S.plotTop),S.inverted&&N&&F?[F.len-T+re,N.len-_+O]:[_+O,T+re]}}resolveColor(){let G=this.series,T=G.chart.options.chart,_=G.chart.styledMode,A,S,N=T.colorCount,F;delete this.nonZonedColor,G.options.colorByPoint?(_||(A=(S=G.options.colors||G.chart.options.colors)[G.colorCounter],N=S.length),F=G.colorCounter,G.colorCounter++,G.colorCounter===N&&(G.colorCounter=0)):(_||(A=G.color),F=G.colorIndex),this.colorIndex=P(this.options.colorIndex,F),this.color=P(this.options.color,A)}setNestedProperty(G,T,_){return _.split(".").reduce(function(A,S,N,F){let O=F.length-1===N;return A[S]=O?T:J(A[S],!0)?A[S]:{},A[S]},G),G}shouldDraw(){return!this.isNull}tooltipFormatter(G){let T=this.series,_=T.tooltipOptions,A=P(_.valueDecimals,""),S=_.valuePrefix||"",N=_.valueSuffix||"";return T.chart.styledMode&&(G=T.chart.tooltip.styledModeFormat(G)),(T.pointArrayMap||["y"]).forEach(function(F){F="{point."+F,(S||N)&&(G=G.replace(RegExp(F+"}","g"),S+F+"}"+N)),G=G.replace(RegExp(F+"}","g"),F+":,."+A+"f}")}),B(G,{point:this,series:this.series},T.chart)}update(G,T,_,A){let S,N=this,F=N.series,O=N.graphic,re=F.chart,pe=F.options;function g(){N.applyOptions(G);let C=O&&N.hasMockGraphic,w=N.y===null?!C:C;O&&w&&(N.graphic=O.destroy(),delete N.hasMockGraphic),J(G,!0)&&(O&&O.element&&G&&G.marker&&G.marker.symbol!==void 0&&(N.graphic=O.destroy()),G!=null&&G.dataLabels&&N.dataLabel&&(N.dataLabel=N.dataLabel.destroy())),S=N.index,F.updateParallelArrays(N,S),pe.data[S]=J(pe.data[S],!0)||J(G,!0)?N.options:P(G,pe.data[S]),F.isDirty=F.isDirtyData=!0,!F.fixedBox&&F.hasCartesianSeries&&(re.isDirtyBox=!0),pe.legendType==="point"&&(re.isDirtyLegend=!0),T&&re.redraw(_)}T=P(T,!0),A===!1?g():N.firePointEvent("update",{options:G},g)}remove(G,T){this.series.removePoint(this.series.data.indexOf(this),G,T)}select(G,T){let _=this,A=_.series,S=A.chart;G=P(G,!_.selected),this.selectedStaging=G,_.firePointEvent(G?"select":"unselect",{accumulate:T},function(){_.selected=_.options.selected=G,A.options.data[A.data.indexOf(_)]=_.options,_.setState(G&&"select"),T||S.getSelectedPoints().forEach(function(N){let F=N.series;N.selected&&N!==_&&(N.selected=N.options.selected=!1,F.options.data[F.data.indexOf(N)]=N.options,N.setState(S.hoverPoints&&F.options.inactiveOtherPoints?"inactive":""),N.firePointEvent("unselect"))})}),delete this.selectedStaging}onMouseOver(G){let{inverted:T,pointer:_}=this.series.chart;_&&(G=G?_.normalize(G):_.getChartCoordinatesFromPoint(this,T),_.runPointActions(G,this))}onMouseOut(){let G=this.series.chart;this.firePointEvent("mouseOut"),this.series.options.inactiveOtherPoints||(G.hoverPoints||[]).forEach(function(T){T.setState()}),G.hoverPoints=G.hoverPoint=null}manageEvent(G){var A,S,N,F,O,re;let T=H(this.series.options.point,this.options),_=(A=T.events)==null?void 0:A[G];q(_)&&(!((S=this.hcEvents)!=null&&S[G])||((F=(N=this.hcEvents)==null?void 0:N[G])==null?void 0:F.map(pe=>pe.fn).indexOf(_))===-1)?((O=this.importedUserEvent)==null||O.call(this),this.importedUserEvent=W(this,G,_)):this.importedUserEvent&&!_&&((re=this.hcEvents)!=null&&re[G])&&(ae(this,G),delete this.hcEvents[G],Object.keys(this.hcEvents)||delete this.importedUserEvent)}setState(G,T){var ie;let _=this.series,A=this.state,S=_.options.states[G||"normal"]||{},N=D.plotOptions[_.type].marker&&_.options.marker,F=N&&N.enabled===!1,O=N&&N.states&&N.states[G||"normal"]||{},re=O.enabled===!1,pe=this.marker||{},g=_.chart,C=N&&_.markerAttribs,w=_.halo,$,le,j,z=_.stateMarkerGraphic,te;if((G=G||"")===this.state&&!T||this.selected&&G!=="select"||S.enabled===!1||G&&(re||F&&O.enabled===!1)||G&&pe.states&&pe.states[G]&&pe.states[G].enabled===!1)return;if(this.state=G,C&&($=_.markerAttribs(this,G)),this.graphic&&!this.hasMockGraphic){if(A&&this.graphic.removeClass("highcharts-point-"+A),G&&this.graphic.addClass("highcharts-point-"+G),!g.styledMode){le=_.pointAttribs(this,G),j=P(g.options.chart.animation,S.animation);let ue=le.opacity;_.options.inactiveOtherPoints&&X(ue)&&(this.dataLabels||[]).forEach(function(de){de&&!de.hasClass("highcharts-data-label-hidden")&&(de.animate({opacity:ue},j),de.connector&&de.connector.animate({opacity:ue},j))}),this.graphic.animate(le,j)}$&&this.graphic.animate($,P(g.options.chart.animation,O.animation,N.animation)),z&&z.hide()}else G&&O&&(te=pe.symbol||_.symbol,z&&z.currentSymbol!==te&&(z=z.destroy()),$&&(z?z[T?"animate":"attr"]({x:$.x,y:$.y}):te&&(_.stateMarkerGraphic=z=g.renderer.symbol(te,$.x,$.y,$.width,$.height).add(_.markerGroup),z.currentSymbol=te)),!g.styledMode&&z&&this.state!=="inactive"&&z.attr(_.pointAttribs(this,G))),z&&(z[G&&this.isInside?"show":"hide"](),z.element.point=this,z.addClass(this.getClassName(),!0));let fe=S.halo,R=this.graphic||z,V=R&&R.visibility||"inherit";fe&&fe.size&&R&&V!=="hidden"&&!this.isCluster?(w||(_.halo=w=g.renderer.path().add(R.parentGroup)),w.show()[T?"animate":"attr"]({d:this.haloPath(fe.size)}),w.attr({class:"highcharts-halo highcharts-color-"+P(this.colorIndex,_.colorIndex)+(this.className?" "+this.className:""),visibility:V,zIndex:-1}),w.point=this,g.styledMode||w.attr(Y({fill:this.color||_.color,"fill-opacity":fe.opacity},d.filterUserAttributes(fe.attributes||{})))):(ie=w==null?void 0:w.point)!=null&&ie.haloPath&&!w.point.destroyed&&w.animate({d:w.point.haloPath(0)},null,w.hide),se(this,"afterSetState",{state:G})}haloPath(G){let T=this.pos();return T?this.series.chart.renderer.symbols.circle(Q(T[0],1)-G,T[1]-G,2*G,2*G):[]}}return L}),c(o,"Core/Pointer.js",[o["Core/Color/Color.js"],o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f,y){var v;let{parse:x}=d,{charts:k,composed:D,isTouchDevice:B}=f,{addEvent:W,attr:Q,css:E,extend:Y,find:se,fireEvent:ne,isNumber:U,isObject:q,objectEach:X,offset:J,pick:H,pushUnique:P,splat:ce}=y;class ae{applyInactiveState(L){let Z=[],G;(L||[]).forEach(function(T){G=T.series,Z.push(G),G.linkedParent&&Z.push(G.linkedParent),G.linkedSeries&&(Z=Z.concat(G.linkedSeries)),G.navigatorSeries&&Z.push(G.navigatorSeries)}),this.chart.series.forEach(function(T){Z.indexOf(T)===-1?T.setState("inactive",!0):T.options.inactiveOtherPoints&&T.setAllPointsToState("inactive")})}destroy(){let L=this;this.eventsToUnbind.forEach(Z=>Z()),this.eventsToUnbind=[],!f.chartCount&&(ae.unbindDocumentMouseUp&&ae.unbindDocumentMouseUp.forEach(Z=>Z()),ae.unbindDocumentTouchEnd&&(ae.unbindDocumentTouchEnd=ae.unbindDocumentTouchEnd())),clearInterval(L.tooltipTimeout),X(L,function(Z,G){L[G]=void 0})}getSelectionMarkerAttrs(L,Z){let G={args:{chartX:L,chartY:Z},attrs:{},shapeType:"rect"};return ne(this,"getSelectionMarkerAttrs",G,T=>{let _,{chart:A,zoomHor:S,zoomVert:N}=this,{mouseDownX:F=0,mouseDownY:O=0}=A,re=T.attrs;re.x=A.plotLeft,re.y=A.plotTop,re.width=S?1:A.plotWidth,re.height=N?1:A.plotHeight,S&&(_=L-F,re.width=Math.max(1,Math.abs(_)),re.x=(_>0?0:_)+F),N&&(_=Z-O,re.height=Math.max(1,Math.abs(_)),re.y=(_>0?0:_)+O)}),G}drag(L){let{chart:Z}=this,{mouseDownX:G=0,mouseDownY:T=0}=Z,{panning:_,panKey:A,selectionMarkerFill:S}=Z.options.chart,N=Z.plotLeft,F=Z.plotTop,O=Z.plotWidth,re=Z.plotHeight,pe=q(_)?_.enabled:_,g=A&&L[`${A}Key`],C=L.chartX,w=L.chartY,$,le=this.selectionMarker;if((!le||!le.touch)&&(C<N?C=N:C>N+O&&(C=N+O),w<F?w=F:w>F+re&&(w=F+re),this.hasDragged=Math.sqrt(Math.pow(G-C,2)+Math.pow(T-w,2)),this.hasDragged>10)){$=Z.isInsidePlot(G-N,T-F,{visiblePlotOnly:!0});let{shapeType:j,attrs:z}=this.getSelectionMarkerAttrs(C,w);(Z.hasCartesianSeries||Z.mapView)&&this.hasZoom&&$&&!g&&!le&&(this.selectionMarker=le=Z.renderer[j](),le.attr({class:"highcharts-selection-marker",zIndex:7}).add(),Z.styledMode||le.attr({fill:S||x("#334eff").setOpacity(.25).get()})),le&&le.attr(z),$&&!le&&pe&&Z.pan(L,_)}}dragStart(L){let Z=this.chart;Z.mouseIsDown=L.type,Z.cancelClick=!1,Z.mouseDownX=L.chartX,Z.mouseDownY=L.chartY}getSelectionBox(L){let Z={args:{marker:L},result:L.getBBox()};return ne(this,"getSelectionBox",Z),Z.result}drop(L){let Z,{chart:G,selectionMarker:T}=this;for(let _ of G.axes)_.isPanning&&(_.isPanning=!1,(_.options.startOnTick||_.options.endOnTick||_.series.some(A=>A.boosted))&&(_.forceRedraw=!0,_.setExtremes(_.userMin,_.userMax,!1),Z=!0));if(Z&&G.redraw(),T&&L){if(this.hasDragged){let _=this.getSelectionBox(T);G.transform({axes:G.axes.filter(A=>A.zoomEnabled&&(A.coll==="xAxis"&&this.zoomX||A.coll==="yAxis"&&this.zoomY)),selection:{originalEvent:L,xAxis:[],yAxis:[],..._},from:_})}U(G.index)&&(this.selectionMarker=T.destroy())}G&&U(G.index)&&(E(G.container,{cursor:G._cursor}),G.cancelClick=this.hasDragged>10,G.mouseIsDown=!1,this.hasDragged=0,this.pinchDown=[])}findNearestKDPoint(L,Z,G){let T;return L.forEach(function(_){let A=!(_.noSharedTooltip&&Z)&&0>_.options.findNearestPointBy.indexOf("y"),S=_.searchPoint(G,A);q(S,!0)&&S.series&&(!q(T,!0)||function(N,F){var g,C;let O=N.distX-F.distX,re=N.dist-F.dist,pe=((g=F.series.group)==null?void 0:g.zIndex)-((C=N.series.group)==null?void 0:C.zIndex);return O!==0&&Z?O:re!==0?re:pe!==0?pe:N.series.index>F.series.index?-1:1}(T,S)>0)&&(T=S)}),T}getChartCoordinatesFromPoint(L,Z){let{xAxis:G,yAxis:T}=L.series,_=L.shapeArgs;if(G&&T){let A=L.clientX??L.plotX??0,S=L.plotY||0;return L.isNode&&_&&U(_.x)&&U(_.y)&&(A=_.x,S=_.y),Z?{chartX:T.len+T.pos-S,chartY:G.len+G.pos-A}:{chartX:A+G.pos,chartY:S+T.pos}}if(_&&_.x&&_.y)return{chartX:_.x,chartY:_.y}}getChartPosition(){if(this.chartPosition)return this.chartPosition;let{container:L}=this.chart,Z=J(L);this.chartPosition={left:Z.left,top:Z.top,scaleX:1,scaleY:1};let{offsetHeight:G,offsetWidth:T}=L;return T>2&&G>2&&(this.chartPosition.scaleX=Z.width/T,this.chartPosition.scaleY=Z.height/G),this.chartPosition}getCoordinates(L){let Z={xAxis:[],yAxis:[]};for(let G of this.chart.axes)Z[G.isXAxis?"xAxis":"yAxis"].push({axis:G,value:G.toValue(L[G.horiz?"chartX":"chartY"])});return Z}getHoverData(L,Z,G,T,_,A){let S=[],N=function(g){return g.visible&&!(!_&&g.directTouch)&&H(g.options.enableMouseTracking,!0)},F=Z,O,re={chartX:A?A.chartX:void 0,chartY:A?A.chartY:void 0,shared:_};ne(this,"beforeGetHoverData",re),O=F&&!F.stickyTracking?[F]:G.filter(g=>g.stickyTracking&&(re.filter||N)(g));let pe=T&&L||!A?L:this.findNearestKDPoint(O,_,A);return F=pe&&pe.series,pe&&(_&&!F.noSharedTooltip?(O=G.filter(function(g){return re.filter?re.filter(g):N(g)&&!g.noSharedTooltip})).forEach(function(g){let C=se(g.points,function(w){return w.x===pe.x&&!w.isNull});q(C)&&(g.boosted&&g.boost&&(C=g.boost.getPoint(C)),S.push(C))}):S.push(pe)),ne(this,"afterGetHoverData",re={hoverPoint:pe}),{hoverPoint:re.hoverPoint,hoverSeries:F,hoverPoints:S}}getPointFromEvent(L){let Z=L.target,G;for(;Z&&!G;)G=Z.point,Z=Z.parentNode;return G}onTrackerMouseOut(L){let Z=this.chart,G=L.relatedTarget,T=Z.hoverSeries;this.isDirectTouch=!1,!T||!G||T.stickyTracking||this.inClass(G,"highcharts-tooltip")||this.inClass(G,"highcharts-series-"+T.index)&&this.inClass(G,"highcharts-tracker")||T.onMouseOut()}inClass(L,Z){let G=L,T;for(;G;){if(T=Q(G,"class")){if(T.indexOf(Z)!==-1)return!0;if(T.indexOf("highcharts-container")!==-1)return!1}G=G.parentElement}}constructor(L,Z){var G;this.hasDragged=0,this.pointerCaptureEventsToUnbind=[],this.eventsToUnbind=[],this.options=Z,this.chart=L,this.runChartClick=!!((G=Z.chart.events)!=null&&G.click),this.pinchDown=[],this.setDOMEvents(),ne(this,"afterInit")}normalize(L,Z){let G=L.touches,T=G?G.length?G.item(0):H(G.changedTouches,L.changedTouches)[0]:L;Z||(Z=this.getChartPosition());let _=T.pageX-Z.left,A=T.pageY-Z.top;return Y(L,{chartX:Math.round(_/=Z.scaleX),chartY:Math.round(A/=Z.scaleY)})}onContainerClick(L){let Z=this.chart,G=Z.hoverPoint,T=this.normalize(L),_=Z.plotLeft,A=Z.plotTop;!Z.cancelClick&&(G&&this.inClass(T.target,"highcharts-tracker")?(ne(G.series,"click",Y(T,{point:G})),Z.hoverPoint&&G.firePointEvent("click",T)):(Y(T,this.getCoordinates(T)),Z.isInsidePlot(T.chartX-_,T.chartY-A,{visiblePlotOnly:!0})&&ne(Z,"click",T)))}onContainerMouseDown(L){var G;let Z=(1&(L.buttons||L.button))==1;L=this.normalize(L),f.isFirefox&&L.button!==0&&this.onContainerMouseMove(L),(L.button===void 0||Z)&&(this.zoomOption(L),Z&&((G=L.preventDefault)==null||G.call(L)),this.dragStart(L))}onContainerMouseLeave(L){let{pointer:Z}=k[H(ae.hoverChartIndex,-1)]||{};L=this.normalize(L),this.onContainerMouseMove(L),Z&&!this.inClass(L.relatedTarget,"highcharts-tooltip")&&(Z.reset(),Z.chartPosition=void 0)}onContainerMouseEnter(){delete this.chartPosition}onContainerMouseMove(L){let Z=this.chart,G=Z.tooltip,T=this.normalize(L);this.setHoverChartIndex(L),(Z.mouseIsDown==="mousedown"||this.touchSelect(T))&&this.drag(T),!Z.openMenu&&(this.inClass(T.target,"highcharts-tracker")||Z.isInsidePlot(T.chartX-Z.plotLeft,T.chartY-Z.plotTop,{visiblePlotOnly:!0}))&&!(G&&G.shouldStickOnContact(T))&&(this.inClass(T.target,"highcharts-no-tooltip")?this.reset(!1,0):this.runPointActions(T))}onDocumentTouchEnd(L){this.onDocumentMouseUp(L)}onContainerTouchMove(L){this.touchSelect(L)?this.onContainerMouseMove(L):this.touch(L)}onContainerTouchStart(L){this.touchSelect(L)?this.onContainerMouseDown(L):(this.zoomOption(L),this.touch(L,!0))}onDocumentMouseMove(L){let Z=this.chart,G=Z.tooltip,T=this.chartPosition,_=this.normalize(L,T);!T||Z.isInsidePlot(_.chartX-Z.plotLeft,_.chartY-Z.plotTop,{visiblePlotOnly:!0})||G&&G.shouldStickOnContact(_)||_.target!==Z.container.ownerDocument&&this.inClass(_.target,"highcharts-tracker")||this.reset()}onDocumentMouseUp(L){var Z,G;(G=(Z=k[H(ae.hoverChartIndex,-1)])==null?void 0:Z.pointer)==null||G.drop(L)}pinch(L){let Z=this,{chart:G,hasZoom:T,lastTouches:_}=Z,A=[].map.call(L.touches||[],re=>Z.normalize(re)),S=A.length,N=S===1&&(Z.inClass(L.target,"highcharts-tracker")&&G.runTrackerClick||Z.runChartClick),F=G.tooltip,O=S===1&&H(F==null?void 0:F.options.followTouchMove,!0);S>1?Z.initiated=!0:O&&(Z.initiated=!1),T&&Z.initiated&&!N&&L.cancelable!==!1&&L.preventDefault(),L.type==="touchstart"?(Z.pinchDown=A,Z.res=!0,G.mouseDownX=L.chartX):O?this.runPointActions(Z.normalize(L)):_&&(ne(G,"touchpan",{originalEvent:L,touches:A},()=>{let re=pe=>{let g=pe[0],C=pe[1]||g;return{x:g.chartX,y:g.chartY,width:C.chartX-g.chartX,height:C.chartY-g.chartY}};G.transform({axes:G.axes.filter(pe=>pe.zoomEnabled&&(this.zoomHor&&pe.horiz||this.zoomVert&&!pe.horiz)),to:re(A),from:re(_),trigger:L.type})}),Z.res&&(Z.res=!1,this.reset(!1,0))),Z.lastTouches=A}reset(L,Z){let G=this.chart,T=G.hoverSeries,_=G.hoverPoint,A=G.hoverPoints,S=G.tooltip,N=S&&S.shared?A:_;L&&N&&ce(N).forEach(function(F){F.series.isCartesian&&F.plotX===void 0&&(L=!1)}),L?S&&N&&ce(N).length&&(S.refresh(N),S.shared&&A?A.forEach(function(F){F.setState(F.state,!0),F.series.isCartesian&&(F.series.xAxis.crosshair&&F.series.xAxis.drawCrosshair(null,F),F.series.yAxis.crosshair&&F.series.yAxis.drawCrosshair(null,F))}):_&&(_.setState(_.state,!0),G.axes.forEach(function(F){F.crosshair&&_.series[F.coll]===F&&F.drawCrosshair(null,_)}))):(_&&_.onMouseOut(),A&&A.forEach(function(F){F.setState()}),T&&T.onMouseOut(),S&&S.hide(Z),this.unDocMouseMove&&(this.unDocMouseMove=this.unDocMouseMove()),G.axes.forEach(function(F){F.hideCrosshair()}),G.hoverPoints=G.hoverPoint=void 0)}runPointActions(L,Z,G){let T=this.chart,_=T.series,A=T.tooltip&&T.tooltip.options.enabled?T.tooltip:void 0,S=!!A&&A.shared,N=Z||T.hoverPoint,F=N&&N.series||T.hoverSeries,O=(!L||L.type!=="touchmove")&&(!!Z||F&&F.directTouch&&this.isDirectTouch),re=this.getHoverData(N,F,_,O,S,L);N=re.hoverPoint,F=re.hoverSeries;let pe=re.hoverPoints,g=F&&F.tooltipOptions.followPointer&&!F.tooltipOptions.split,C=S&&F&&!F.noSharedTooltip;if(N&&(G||N!==T.hoverPoint||A&&A.isHidden)){if((T.hoverPoints||[]).forEach(function(w){pe.indexOf(w)===-1&&w.setState()}),T.hoverSeries!==F&&F.onMouseOver(),this.applyInactiveState(pe),(pe||[]).forEach(function(w){w.setState("hover")}),T.hoverPoint&&T.hoverPoint.firePointEvent("mouseOut"),!N.series)return;T.hoverPoints=pe,T.hoverPoint=N,N.firePointEvent("mouseOver",void 0,()=>{A&&N&&A.refresh(C?pe:N,L)})}else if(g&&A&&!A.isHidden){let w=A.getAnchor([{}],L);T.isInsidePlot(w[0],w[1],{visiblePlotOnly:!0})&&A.updatePosition({plotX:w[0],plotY:w[1]})}this.unDocMouseMove||(this.unDocMouseMove=W(T.container.ownerDocument,"mousemove",w=>{var $,le;return(le=($=k[ae.hoverChartIndex??-1])==null?void 0:$.pointer)==null?void 0:le.onDocumentMouseMove(w)}),this.eventsToUnbind.push(this.unDocMouseMove)),T.axes.forEach(function(w){let $,le=H((w.crosshair||{}).snap,!0);!le||($=T.hoverPoint)&&$.series[w.coll]===w||($=se(pe,j=>j.series&&j.series[w.coll]===w)),$||!le?w.drawCrosshair(L,$):w.hideCrosshair()})}setDOMEvents(){let L=this.chart.container,Z=L.ownerDocument;L.onmousedown=this.onContainerMouseDown.bind(this),L.onmousemove=this.onContainerMouseMove.bind(this),L.onclick=this.onContainerClick.bind(this),this.eventsToUnbind.push(W(L,"mouseenter",this.onContainerMouseEnter.bind(this)),W(L,"mouseleave",this.onContainerMouseLeave.bind(this))),ae.unbindDocumentMouseUp||(ae.unbindDocumentMouseUp=[]),ae.unbindDocumentMouseUp.push(W(Z,"mouseup",this.onDocumentMouseUp.bind(this)));let G=this.chart.renderTo.parentElement;for(;G&&G.tagName!=="BODY";)this.eventsToUnbind.push(W(G,"scroll",()=>{delete this.chartPosition})),G=G.parentElement;this.eventsToUnbind.push(W(L,"touchstart",this.onContainerTouchStart.bind(this),{passive:!1}),W(L,"touchmove",this.onContainerTouchMove.bind(this),{passive:!1})),ae.unbindDocumentTouchEnd||(ae.unbindDocumentTouchEnd=W(Z,"touchend",this.onDocumentTouchEnd.bind(this),{passive:!1})),this.setPointerCapture(),W(this.chart,"redraw",this.setPointerCapture.bind(this))}setPointerCapture(){var _,A;if(!B)return;let L=this.pointerCaptureEventsToUnbind,Z=this.chart,G=Z.container,T=H((_=Z.options.tooltip)==null?void 0:_.followTouchMove,!0)&&Z.series.some(S=>S.options.findNearestPointBy.indexOf("y")>-1);!this.hasPointerCapture&&T?(L.push(W(G,"pointerdown",S=>{var N,F;(N=S.target)!=null&&N.hasPointerCapture(S.pointerId)&&((F=S.target)==null||F.releasePointerCapture(S.pointerId))}),W(G,"pointermove",S=>{var N,F;(F=(N=Z.pointer)==null?void 0:N.getPointFromEvent(S))==null||F.onMouseOver(S)})),Z.styledMode||E(G,{"touch-action":"none"}),G.className+=" highcharts-no-touch-action",this.hasPointerCapture=!0):this.hasPointerCapture&&!T&&(L.forEach(S=>S()),L.length=0,Z.styledMode||E(G,{"touch-action":H((A=Z.options.chart.style)==null?void 0:A["touch-action"],"manipulation")}),G.className=G.className.replace(" highcharts-no-touch-action",""),this.hasPointerCapture=!1)}setHoverChartIndex(L){var T;let Z=this.chart,G=f.charts[H(ae.hoverChartIndex,-1)];if(G&&G!==Z){let _={relatedTarget:Z.container};L&&!(L!=null&&L.relatedTarget)&&(L={..._,...L}),(T=G.pointer)==null||T.onContainerMouseLeave(L||_)}G&&G.mouseIsDown||(ae.hoverChartIndex=Z.index)}touch(L,Z){let G,{chart:T,pinchDown:_=[]}=this;this.setHoverChartIndex(),(L=this.normalize(L)).touches.length===1?T.isInsidePlot(L.chartX-T.plotLeft,L.chartY-T.plotTop,{visiblePlotOnly:!0})&&!T.openMenu?(Z&&this.runPointActions(L),L.type==="touchmove"&&(G=!!_[0]&&Math.pow(_[0].chartX-L.chartX,2)+Math.pow(_[0].chartY-L.chartY,2)>=16),H(G,!0)&&this.pinch(L)):Z&&this.reset():L.touches.length===2&&this.pinch(L)}touchSelect(L){return!!(this.chart.zooming.singleTouch&&L.touches&&L.touches.length===1)}zoomOption(L){let Z=this.chart,G=Z.inverted,T=Z.zooming.type||"",_,A;/touch/.test(L.type)&&(T=H(Z.zooming.pinchType,T)),this.zoomX=_=/x/.test(T),this.zoomY=A=/y/.test(T),this.zoomHor=_&&!G||A&&G,this.zoomVert=A&&!G||_&&G,this.hasZoom=_||A}}return(v=ae||(ae={})).compose=function(ee){P(D,"Core.Pointer")&&W(ee,"beforeRender",function(){this.pointer=new v(this,this.options)})},ae}),c(o,"Core/Legend/LegendSymbol.js",[o["Core/Utilities.js"]],function(d){var f;let{extend:y,merge:v,pick:x}=d;return function(k){function D(B,W,Q){var G,T;let E=this.legendItem=this.legendItem||{},{chart:Y,options:se}=this,{baseline:ne=0,symbolWidth:U,symbolHeight:q}=B,X=this.symbol||"circle",J=q/2,H=Y.renderer,P=E.group,ce=ne-Math.round((((G=B.fontMetrics)==null?void 0:G.b)||q)*(Q?.4:.3)),ae={},ee,L=se.marker,Z=0;if(Y.styledMode||(ae["stroke-width"]=Math.min(se.lineWidth||0,24),se.dashStyle?ae.dashstyle=se.dashStyle:se.linecap==="square"||(ae["stroke-linecap"]="round")),E.line=H.path().addClass("highcharts-graph").attr(ae).add(P),Q&&(E.area=H.path().addClass("highcharts-area").add(P)),ae["stroke-linecap"]&&(Z=Math.min(E.line.strokeWidth(),U)/2),U){let _=[["M",Z,ce],["L",U-Z,ce]];E.line.attr({d:_}),(T=E.area)==null||T.attr({d:[..._,["L",U-Z,ne],["L",Z,ne]]})}if(L&&L.enabled!==!1&&U){let _=Math.min(x(L.radius,J),J);X.indexOf("url")===0&&(L=v(L,{width:q,height:q}),_=0),E.symbol=ee=H.symbol(X,U/2-_,ce-_,2*_,2*_,y({context:"legend"},L)).addClass("highcharts-point").add(P),ee.isMarker=!0}}k.areaMarker=function(B,W){D.call(this,B,W,!0)},k.lineMarker=D,k.rectangle=function(B,W){let Q=W.legendItem||{},E=B.options,Y=B.symbolHeight,se=E.squareSymbol,ne=se?Y:B.symbolWidth;Q.symbol=this.chart.renderer.rect(se?(B.symbolWidth-Y)/2:0,B.baseline-Y+1,ne,Y,x(B.options.symbolRadius,Y/2)).addClass("highcharts-point").attr({zIndex:3}).add(Q.group)}}(f||(f={})),f}),c(o,"Core/Series/SeriesDefaults.js",[],function(){return{lineWidth:2,allowPointSelect:!1,crisp:!0,showCheckbox:!1,animation:{duration:1e3},enableMouseTracking:!0,events:{},marker:{enabledThreshold:2,lineColor:"#ffffff",lineWidth:0,radius:4,states:{normal:{animation:!0},hover:{animation:{duration:150},enabled:!0,radiusPlus:2,lineWidthPlus:1},select:{fillColor:"#cccccc",lineColor:"#000000",lineWidth:2}}},point:{events:{}},dataLabels:{animation:{},align:"center",borderWidth:0,defer:!0,formatter:function(){let{numberFormatter:d}=this.series.chart;return typeof this.y!="number"?"":d(this.y,-1)},padding:5,style:{fontSize:"0.7em",fontWeight:"bold",color:"contrast",textOutline:"1px contrast"},verticalAlign:"bottom",x:0,y:0},cropThreshold:300,opacity:1,pointRange:0,softThreshold:!0,states:{normal:{animation:!0},hover:{animation:{duration:150},lineWidthPlus:1,marker:{},halo:{size:10,opacity:.25}},select:{animation:{duration:0}},inactive:{animation:{duration:150},opacity:.2}},stickyTracking:!0,turboThreshold:1e3,findNearestPointBy:"x"}}),c(o,"Core/Series/SeriesRegistry.js",[o["Core/Globals.js"],o["Core/Defaults.js"],o["Core/Series/Point.js"],o["Core/Utilities.js"]],function(d,f,y,v){var x;let{defaultOptions:k}=f,{extend:D,extendClass:B,merge:W}=v;return function(Q){function E(Y,se){let ne=k.plotOptions||{},U=se.defaultOptions,q=se.prototype;return q.type=Y,q.pointClass||(q.pointClass=y),!Q.seriesTypes[Y]&&(U&&(ne[Y]=U),Q.seriesTypes[Y]=se,!0)}Q.seriesTypes=d.seriesTypes,Q.registerSeriesType=E,Q.seriesType=function(Y,se,ne,U,q){let X=k.plotOptions||{};if(se=se||"",X[Y]=W(X[se],ne),delete Q.seriesTypes[Y],E(Y,B(Q.seriesTypes[se]||function(){},U)),Q.seriesTypes[Y].prototype.type=Y,q){class J extends y{}D(J.prototype,q),Q.seriesTypes[Y].prototype.pointClass=J}return Q.seriesTypes[Y]}}(x||(x={})),x}),c(o,"Core/Series/Series.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Defaults.js"],o["Core/Foundation.js"],o["Core/Globals.js"],o["Core/Legend/LegendSymbol.js"],o["Core/Series/Point.js"],o["Core/Series/SeriesDefaults.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Renderer/SVG/SVGElement.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k,D,B,W,Q){let{animObject:E,setAnimation:Y}=d,{defaultOptions:se}=f,{registerEventOptions:ne}=y,{svg:U,win:q}=v,{seriesTypes:X}=B,{arrayMax:J,arrayMin:H,clamp:P,correctFloat:ce,crisp:ae,defined:ee,destroyObjectProperties:L,diffObjects:Z,erase:G,error:T,extend:_,find:A,fireEvent:S,getClosestDistance:N,getNestedProperty:F,insertItem:O,isArray:re,isNumber:pe,isString:g,merge:C,objectEach:w,pick:$,removeEvent:le,splat:j,syncTimeout:z}=Q;class te{constructor(){this.zoneAxis="y"}init(R,V){let ie;S(this,"init",{options:V});let ue=this,de=R.series;this.eventsToUnbind=[],ue.chart=R,ue.options=ue.setOptions(V);let me=ue.options,_e=me.visible!==!1;ue.linkedSeries=[],ue.bindAxes(),_(ue,{name:me.name,state:"",visible:_e,selected:me.selected===!0}),ne(this,me);let we=me.events;(we&&we.click||me.point&&me.point.events&&me.point.events.click||me.allowPointSelect)&&(R.runTrackerClick=!0),ue.getColor(),ue.getSymbol(),ue.parallelArrays.forEach(function(Ae){ue[Ae+"Data"]||(ue[Ae+"Data"]=[])}),ue.isCartesian&&(R.hasCartesianSeries=!0),de.length&&(ie=de[de.length-1]),ue._i=$(ie&&ie._i,-1)+1,ue.opacity=ue.options.opacity,R.orderItems("series",O(this,de)),me.dataSorting&&me.dataSorting.enabled?ue.setDataSortingOptions():ue.points||ue.data||ue.setData(me.data,!1),S(this,"afterInit")}is(R){return X[R]&&this instanceof X[R]}bindAxes(){let R,V=this,ie=V.options,ue=V.chart;S(this,"bindAxes",null,function(){(V.axisTypes||[]).forEach(function(de){(ue[de]||[]).forEach(function(me){R=me.options,($(ie[de],0)===me.index||ie[de]!==void 0&&ie[de]===R.id)&&(O(V,me.series),V[de]=me,me.isDirty=!0)}),V[de]||V.optionalAxis===de||T(18,!0,ue)})}),S(this,"afterBindAxes")}updateParallelArrays(R,V,ie){let ue=R.series,de=pe(V)?function(me){let _e=me==="y"&&ue.toYData?ue.toYData(R):R[me];ue[me+"Data"][V]=_e}:function(me){Array.prototype[V].apply(ue[me+"Data"],ie)};ue.parallelArrays.forEach(de)}hasData(){return this.visible&&this.dataMax!==void 0&&this.dataMin!==void 0||this.visible&&this.yData&&this.yData.length>0}hasMarkerChanged(R,V){let ie=R.marker,ue=V.marker||{};return ie&&(ue.enabled&&!ie.enabled||ue.symbol!==ie.symbol||ue.height!==ie.height||ue.width!==ie.width)}autoIncrement(R){let V=this.options,ie=V.pointIntervalUnit,ue=V.relativeXValue,de=this.chart.time,me=this.xIncrement,_e,we;return me=$(me,V.pointStart,0),this.pointInterval=we=$(this.pointInterval,V.pointInterval,1),ue&&pe(R)&&(we*=R),ie&&(_e=new de.Date(me),ie==="day"?de.set("Date",_e,de.get("Date",_e)+we):ie==="month"?de.set("Month",_e,de.get("Month",_e)+we):ie==="year"&&de.set("FullYear",_e,de.get("FullYear",_e)+we),we=_e.getTime()-me),ue&&pe(R)?me+we:(this.xIncrement=me+we,me)}setDataSortingOptions(){let R=this.options;_(this,{requireSorting:!1,sorted:!1,enabledDataSorting:!0,allowDG:!1}),ee(R.pointRange)||(R.pointRange=1)}setOptions(R){var ke,Ce;let V,ie=this.chart,ue=ie.options.plotOptions,de=ie.userOptions||{},me=C(R),_e=ie.styledMode,we={plotOptions:ue,userOptions:me};S(this,"setOptions",we);let Ae=we.plotOptions[this.type],Re=de.plotOptions||{},Le=Re.series||{},ve=se.plotOptions[this.type]||{},ye=Re[this.type]||{};this.userOptions=we.userOptions;let ge=C(Ae,ue.series,ye,me);this.tooltipOptions=C(se.tooltip,(ke=se.plotOptions.series)==null?void 0:ke.tooltip,ve==null?void 0:ve.tooltip,ie.userOptions.tooltip,(Ce=Re.series)==null?void 0:Ce.tooltip,ye.tooltip,me.tooltip),this.stickyTracking=$(me.stickyTracking,ye.stickyTracking,Le.stickyTracking,!!this.tooltipOptions.shared&&!this.noSharedTooltip||ge.stickyTracking),Ae.marker===null&&delete ge.marker,this.zoneAxis=ge.zoneAxis||"y";let be=this.zones=(ge.zones||[]).map(Me=>({...Me}));return(ge.negativeColor||ge.negativeFillColor)&&!ge.zones&&(V={value:ge[this.zoneAxis+"Threshold"]||ge.threshold||0,className:"highcharts-negative"},_e||(V.color=ge.negativeColor,V.fillColor=ge.negativeFillColor),be.push(V)),be.length&&ee(be[be.length-1].value)&&be.push(_e?{}:{color:this.color,fillColor:this.fillColor}),S(this,"afterSetOptions",{options:ge}),ge}getName(){return $(this.options.name,"Series "+(this.index+1))}getCyclic(R,V,ie){let ue,de,me=this.chart,_e=`${R}Index`,we=`${R}Counter`,Ae=(ie==null?void 0:ie.length)||me.options.chart.colorCount;!V&&(ee(de=$(R==="color"?this.options.colorIndex:void 0,this[_e]))?ue=de:(me.series.length||(me[we]=0),ue=me[we]%Ae,me[we]+=1),ie&&(V=ie[ue])),ue!==void 0&&(this[_e]=ue),this[R]=V}getColor(){this.chart.styledMode?this.getCyclic("color"):this.options.colorByPoint?this.color="#cccccc":this.getCyclic("color",this.options.color||se.plotOptions[this.type].color,this.chart.options.colors)}getPointsCollection(){return(this.hasGroupedData?this.points:this.data)||[]}getSymbol(){let R=this.options.marker;this.getCyclic("symbol",R.symbol,this.chart.options.symbols)}findPointIndex(R,V){let ie,ue,de,me=R.id,_e=R.x,we=this.points,Ae=this.options.dataSorting;if(me){let Re=this.chart.get(me);Re instanceof k&&(ie=Re)}else if(this.linkedParent||this.enabledDataSorting||this.options.relativeXValue){let Re=Le=>!Le.touched&&Le.index===R.index;if(Ae&&Ae.matchByName?Re=Le=>!Le.touched&&Le.name===R.name:this.options.relativeXValue&&(Re=Le=>!Le.touched&&Le.options.x===R.x),!(ie=A(we,Re)))return}return ie&&(de=ie&&ie.index)!==void 0&&(ue=!0),de===void 0&&pe(_e)&&(de=this.xData.indexOf(_e,V)),de!==-1&&de!==void 0&&this.cropped&&(de=de>=this.cropStart?de-this.cropStart:de),!ue&&pe(de)&&we[de]&&we[de].touched&&(de=void 0),de}updateData(R,V){let ie=this.options,ue=ie.dataSorting,de=this.points,me=[],_e=this.requireSorting,we=R.length===de.length,Ae,Re,Le,ve,ye=!0;if(this.xIncrement=null,R.forEach(function(ge,be){let ke,Ce=ee(ge)&&this.pointClass.prototype.optionsToObject.call({series:this},ge)||{},Me=Ce.x;Ce.id||pe(Me)?((ke=this.findPointIndex(Ce,ve))===-1||ke===void 0?me.push(ge):de[ke]&&ge!==ie.data[ke]?(de[ke].update(ge,!1,null,!1),de[ke].touched=!0,_e&&(ve=ke+1)):de[ke]&&(de[ke].touched=!0),(!we||be!==ke||ue&&ue.enabled||this.hasDerivedData)&&(Ae=!0)):me.push(ge)},this),Ae)for(Re=de.length;Re--;)(Le=de[Re])&&!Le.touched&&Le.remove&&Le.remove(!1,V);else!we||ue&&ue.enabled?ye=!1:(R.forEach(function(ge,be){ge===de[be].y||de[be].destroyed||de[be].update(ge,!1,null,!1)}),me.length=0);return de.forEach(function(ge){ge&&(ge.touched=!1)}),!!ye&&(me.forEach(function(ge){this.addPoint(ge,!1,null,null,!1)},this),this.xIncrement===null&&this.xData&&this.xData.length&&(this.xIncrement=J(this.xData),this.autoIncrement()),!0)}setData(R,V=!0,ie,ue){var ot;let de=this,me=de.points,_e=me&&me.length||0,we=de.options,Ae=de.chart,Re=we.dataSorting,Le=de.xAxis,ve=we.turboThreshold,ye=this.xData,ge=this.yData,be=de.pointArrayMap,ke=be&&be.length,Ce=we.keys,Me,Oe,Ne,Ge=0,$e=1,Xe;Ae.options.chart.allowMutatingData||(we.data&&delete de.options.data,de.userOptions.data&&delete de.userOptions.data,Xe=C(!0,R));let Je=(R=Xe||R||[]).length;if(Re&&Re.enabled&&(R=this.sortData(R)),Ae.options.chart.allowMutatingData&&ue!==!1&&Je&&_e&&!de.cropped&&!de.hasGroupedData&&de.visible&&!de.boosted&&(Ne=this.updateData(R,ie)),!Ne){de.xIncrement=null,de.colorCounter=0,this.parallelArrays.forEach(function(it){de[it+"Data"].length=0});let st=ve&&Je>ve;if(st){let it=de.getFirstValidPoint(R),Rt=de.getFirstValidPoint(R,Je-1,-1),He=lt=>!!(re(lt)&&(Ce||pe(lt[0])));if(pe(it)&&pe(Rt))for(Me=0;Me<Je;Me++)ye[Me]=this.autoIncrement(),ge[Me]=R[Me];else if(He(it)&&He(Rt))if(ke)if(it.length===ke)for(Me=0;Me<Je;Me++)ye[Me]=this.autoIncrement(),ge[Me]=R[Me];else for(Me=0;Me<Je;Me++)Oe=R[Me],ye[Me]=Oe[0],ge[Me]=Oe.slice(1,ke+1);else if(Ce&&(Ge=Ce.indexOf("x"),$e=Ce.indexOf("y"),Ge=Ge>=0?Ge:0,$e=$e>=0?$e:1),it.length===1&&($e=0),Ge===$e)for(Me=0;Me<Je;Me++)ye[Me]=this.autoIncrement(),ge[Me]=R[Me][$e];else for(Me=0;Me<Je;Me++)Oe=R[Me],ye[Me]=Oe[Ge],ge[Me]=Oe[$e];else st=!1}if(!st)for(Me=0;Me<Je;Me++)Oe={series:de},de.pointClass.prototype.applyOptions.apply(Oe,[R[Me]]),de.updateParallelArrays(Oe,Me);for(ge&&g(ge[0])&&T(14,!0,Ae),de.data=[],de.options.data=de.userOptions.data=R,Me=_e;Me--;)(ot=me[Me])==null||ot.destroy();Le&&(Le.minRange=Le.userMinRange),de.isDirty=Ae.isDirtyBox=!0,de.isDirtyData=!!me,ie=!1}we.legendType==="point"&&(this.processData(),this.generatePoints()),V&&Ae.redraw(ie)}sortData(R){let V=this,ie=V.options.dataSorting.sortKey||"y",ue=function(de,me){return ee(me)&&de.pointClass.prototype.optionsToObject.call({series:de},me)||{}};return R.forEach(function(de,me){R[me]=ue(V,de),R[me].index=me},this),R.concat().sort((de,me)=>{let _e=F(ie,de),we=F(ie,me);return we<_e?-1:we>_e?1:0}).forEach(function(de,me){de.x=me},this),V.linkedSeries&&V.linkedSeries.forEach(function(de){let me=de.options,_e=me.data;me.dataSorting&&me.dataSorting.enabled||!_e||(_e.forEach(function(we,Ae){_e[Ae]=ue(de,we),R[Ae]&&(_e[Ae].x=R[Ae].x,_e[Ae].index=Ae)}),de.setData(_e,!1))}),R}getProcessedData(R){let V=this,ie=V.xAxis,ue=V.options.cropThreshold,de=ie==null?void 0:ie.logarithmic,me=V.isCartesian,_e,we,Ae=0,Re,Le,ve,ye=V.xData,ge=V.yData,be=!1,ke=ye.length;ie&&(Le=(Re=ie.getExtremes()).min,ve=Re.max,be=!!(ie.categories&&!ie.names.length)),me&&V.sorted&&!R&&(!ue||ke>ue||V.forceCrop)&&(ye[ke-1]<Le||ye[0]>ve?(ye=[],ge=[]):V.yData&&(ye[0]<Le||ye[ke-1]>ve)&&(ye=(_e=this.cropData(V.xData,V.yData,Le,ve)).xData,ge=_e.yData,Ae=_e.start,we=!0));let Ce=N([de?ye.map(de.log2lin):ye],()=>V.requireSorting&&!be&&T(15,!1,V.chart));return{xData:ye,yData:ge,cropped:we,cropStart:Ae,closestPointRange:Ce}}processData(R){let V=this.xAxis;if(this.isCartesian&&!this.isDirty&&!V.isDirty&&!this.yAxis.isDirty&&!R)return!1;let ie=this.getProcessedData();this.cropped=ie.cropped,this.cropStart=ie.cropStart,this.processedXData=ie.xData,this.processedYData=ie.yData,this.closestPointRange=this.basePointRange=ie.closestPointRange,S(this,"afterProcessData")}cropData(R,V,ie,ue){let de=R.length,me,_e,we=0,Ae=de;for(me=0;me<de;me++)if(R[me]>=ie){we=Math.max(0,me-1);break}for(_e=me;_e<de;_e++)if(R[_e]>ue){Ae=_e+1;break}return{xData:R.slice(we,Ae),yData:V.slice(we,Ae),start:we,end:Ae}}generatePoints(){let R=this.options,V=this.processedData||R.data,ie=this.processedXData,ue=this.processedYData,de=this.pointClass,me=ie.length,_e=this.cropStart||0,we=this.hasGroupedData,Ae=R.keys,Re=[],Le=R.dataGrouping&&R.dataGrouping.groupAll?_e:0,ve,ye,ge,be,ke=this.data;if(!ke&&!we){let Ce=[];Ce.length=V.length,ke=this.data=Ce}for(Ae&&we&&(this.options.keys=!1),be=0;be<me;be++)ye=_e+be,we?((ge=new de(this,[ie[be]].concat(j(ue[be])))).dataGroup=this.groupMap[Le+be],ge.dataGroup.options&&(ge.options=ge.dataGroup.options,_(ge,ge.dataGroup.options),delete ge.dataLabels)):(ge=ke[ye])||V[ye]===void 0||(ke[ye]=ge=new de(this,V[ye],ie[be])),ge&&(ge.index=we?Le+be:ye,Re[be]=ge);if(this.options.keys=Ae,ke&&(me!==(ve=ke.length)||we))for(be=0;be<ve;be++)be!==_e||we||(be+=me),ke[be]&&(ke[be].destroyElements(),ke[be].plotX=void 0);this.data=ke,this.points=Re,S(this,"afterGeneratePoints")}getXExtremes(R){return{min:H(R),max:J(R)}}getExtremes(R,V){let ie=this.xAxis,ue=this.yAxis,de=[],me=this.requireSorting&&!this.is("column")?1:0,_e=!!ue&&ue.positiveValuesOnly,we=V||this.getExtremesFromAll||this.options.getExtremesFromAll,{processedXData:Ae,processedYData:Re}=this,Le,ve,ye,ge,be,ke,Ce,Me=0,Oe=0,Ne=0;if(this.cropped&&we){let Je=this.getProcessedData(!0);Ae=Je.xData,Re=Je.yData}let Ge=(R=R||this.stackedYData||Re||[]).length,$e=Ae||this.xData;for(ie&&(Me=(Le=ie.getExtremes()).min,Oe=Le.max),ke=0;ke<Ge;ke++)if(ge=$e[ke],ve=(pe(be=R[ke])||re(be))&&((pe(be)?be>0:be.length)||!_e),ye=V||this.getExtremesFromAll||this.options.getExtremesFromAll||this.cropped||!ie||($e[ke+me]||ge)>=Me&&($e[ke-me]||ge)<=Oe,ve&&ye)if(Ce=be.length)for(;Ce--;)pe(be[Ce])&&(de[Ne++]=be[Ce]);else de[Ne++]=be;let Xe={activeYData:de,dataMin:H(de),dataMax:J(de)};return S(this,"afterGetExtremes",{dataExtremes:Xe}),Xe}applyExtremes(){let R=this.getExtremes();return this.dataMin=R.dataMin,this.dataMax=R.dataMax,R}getFirstValidPoint(R,V=0,ie=1){let ue=R.length,de=V;for(;de>=0&&de<ue;){if(ee(R[de]))return R[de];de+=ie}}translate(){var Oe;this.processedXData||this.processData(),this.generatePoints();let R=this.options,V=R.stacking,ie=this.xAxis,ue=ie.categories,de=this.enabledDataSorting,me=this.yAxis,_e=this.points,we=_e.length,Ae=this.pointPlacementToXValue(),Re=!!Ae,Le=R.threshold,ve=R.startFromThreshold?Le:0,ye,ge,be,ke,Ce=Number.MAX_VALUE;function Me(Ne){return P(Ne,-1e9,1e9)}for(ye=0;ye<we;ye++){let Ne,Ge=_e[ye],$e=Ge.x,Xe,Je,ot=Ge.y,st=Ge.low,it=V&&((Oe=me.stacking)==null?void 0:Oe.stacks[(this.negStacks&&ot<(ve?0:Le)?"-":"")+this.stackKey]);ge=ie.translate($e,!1,!1,!1,!0,Ae),Ge.plotX=pe(ge)?ce(Me(ge)):void 0,V&&this.visible&&it&&it[$e]&&(ke=this.getStackIndicator(ke,$e,this.index),!Ge.isNull&&ke.key&&(Je=(Xe=it[$e]).points[ke.key]),Xe&&re(Je)&&(st=Je[0],ot=Je[1],st===ve&&ke.key===it[$e].base&&(st=$(pe(Le)?Le:me.min)),me.positiveValuesOnly&&ee(st)&&st<=0&&(st=void 0),Ge.total=Ge.stackTotal=$(Xe.total),Ge.percentage=ee(Ge.y)&&Xe.total?Ge.y/Xe.total*100:void 0,Ge.stackY=ot,this.irregularWidths||Xe.setOffset(this.pointXOffset||0,this.barW||0,void 0,void 0,void 0,this.xAxis))),Ge.yBottom=ee(st)?Me(me.translate(st,!1,!0,!1,!0)):void 0,this.dataModify&&(ot=this.dataModify.modifyValue(ot,ye)),pe(ot)&&Ge.plotX!==void 0&&(Ne=pe(Ne=me.translate(ot,!1,!0,!1,!0))?Me(Ne):void 0),Ge.plotY=Ne,Ge.isInside=this.isPointInside(Ge),Ge.clientX=Re?ce(ie.translate($e,!1,!1,!1,!0,Ae)):ge,Ge.negative=(Ge.y||0)<(Le||0),Ge.category=$(ue&&ue[Ge.x],Ge.x),Ge.isNull||Ge.visible===!1||(be!==void 0&&(Ce=Math.min(Ce,Math.abs(ge-be))),be=ge),Ge.zone=this.zones.length?Ge.getZone():void 0,!Ge.graphic&&this.group&&de&&(Ge.isNew=!0)}this.closestPointRangePx=Ce,S(this,"afterTranslate")}getValidPoints(R,V,ie){let ue=this.chart;return(R||this.points||[]).filter(function(de){let{plotX:me,plotY:_e}=de;return!!((ie||!de.isNull&&pe(_e))&&(!V||ue.isInsidePlot(me,_e,{inverted:ue.inverted})))&&de.visible!==!1})}getClipBox(){let{chart:R,xAxis:V,yAxis:ie}=this,{x:ue,y:de,width:me,height:_e}=C(R.clipBox);return V&&V.len!==R.plotSizeX&&(me=V.len),ie&&ie.len!==R.plotSizeY&&(_e=ie.len),R.inverted&&!this.invertible&&([me,_e]=[_e,me]),{x:ue,y:de,width:me,height:_e}}getSharedClipKey(){return this.sharedClipKey=(this.options.xAxis||0)+","+(this.options.yAxis||0),this.sharedClipKey}setClip(){let{chart:R,group:V,markerGroup:ie}=this,ue=R.sharedClips,de=R.renderer,me=this.getClipBox(),_e=this.getSharedClipKey(),we=ue[_e];we?we.animate(me):ue[_e]=we=de.clipRect(me),V&&V.clip(this.options.clip===!1?void 0:we),ie&&ie.clip()}animate(R){let{chart:V,group:ie,markerGroup:ue}=this,de=V.inverted,me=E(this.options.animation),_e=[this.getSharedClipKey(),me.duration,me.easing,me.defer].join(","),we=V.sharedClips[_e],Ae=V.sharedClips[_e+"m"];if(R&&ie){let Re=this.getClipBox();if(we)we.attr("height",Re.height);else{Re.width=0,de&&(Re.x=V.plotHeight),we=V.renderer.clipRect(Re),V.sharedClips[_e]=we;let Le={x:-99,y:-99,width:de?V.plotWidth+199:99,height:de?99:V.plotHeight+199};Ae=V.renderer.clipRect(Le),V.sharedClips[_e+"m"]=Ae}ie.clip(we),ue==null||ue.clip(Ae)}else if(we&&!we.hasClass("highcharts-animating")){let Re=this.getClipBox(),Le=me.step;(ue!=null&&ue.element.childNodes.length||V.series.length>1)&&(me.step=function(ve,ye){Le&&Le.apply(ye,arguments),ye.prop==="width"&&(Ae!=null&&Ae.element)&&Ae.attr(de?"height":"width",ve+99)}),we.addClass("highcharts-animating").animate(Re,me)}}afterAnimate(){this.setClip(),w(this.chart.sharedClips,(R,V,ie)=>{R&&!this.chart.container.querySelector(`[clip-path="url(#${R.id})"]`)&&(R.destroy(),delete ie[V])}),this.finishedAnimating=!0,S(this,"afterAnimate")}drawPoints(R=this.points){let V,ie,ue,de,me,_e,we,Ae=this.chart,Re=Ae.styledMode,{colorAxis:Le,options:ve}=this,ye=ve.marker,ge=this[this.specialGroup||"markerGroup"],be=this.xAxis,ke=$(ye.enabled,!be||!!be.isRadial||null,this.closestPointRangePx>=ye.enabledThreshold*ye.radius);if(ye.enabled!==!1||this._hasPointMarkers)for(V=0;V<R.length;V++)if(de=(ue=(ie=R[V]).graphic)?"animate":"attr",me=ie.marker||{},_e=!!ie.marker,(ke&&me.enabled===void 0||me.enabled)&&!ie.isNull&&ie.visible!==!1){let Ce=$(me.symbol,this.symbol,"rect");we=this.markerAttribs(ie,ie.selected&&"select"),this.enabledDataSorting&&(ie.startXPos=be.reversed?-(we.width||0):be.width);let Me=ie.isInside!==!1;if(!ue&&Me&&((we.width||0)>0||ie.hasImage)&&(ie.graphic=ue=Ae.renderer.symbol(Ce,we.x,we.y,we.width,we.height,_e?me:ye).add(ge),this.enabledDataSorting&&Ae.hasRendered&&(ue.attr({x:ie.startXPos}),de="animate")),ue&&de==="animate"&&ue[Me?"show":"hide"](Me).animate(we),ue){let Oe=this.pointAttribs(ie,Re||!ie.selected?void 0:"select");Re?Le&&ue.css({fill:Oe.fill}):ue[de](Oe)}ue&&ue.addClass(ie.getClassName(),!0)}else ue&&(ie.graphic=ue.destroy())}markerAttribs(R,V){let ie=this.options,ue=ie.marker,de=R.marker||{},me=de.symbol||ue.symbol,_e={},we,Ae,Re=$(de.radius,ue&&ue.radius);V&&(we=ue.states[V],Re=$((Ae=de.states&&de.states[V])&&Ae.radius,we&&we.radius,Re&&Re+(we&&we.radiusPlus||0))),R.hasImage=me&&me.indexOf("url")===0,R.hasImage&&(Re=0);let Le=R.pos();return pe(Re)&&Le&&(ie.crisp&&(Le[0]=ae(Le[0],R.hasImage?0:me==="rect"?(ue==null?void 0:ue.lineWidth)||0:1)),_e.x=Le[0]-Re,_e.y=Le[1]-Re),Re&&(_e.width=_e.height=2*Re),_e}pointAttribs(R,V){let ie=this.options.marker,ue=R&&R.options,de=ue&&ue.marker||{},me=ue&&ue.color,_e=R&&R.color,we=R&&R.zone&&R.zone.color,Ae,Re,Le=this.color,ve,ye,ge=$(de.lineWidth,ie.lineWidth),be=1;return Le=me||we||_e||Le,ve=de.fillColor||ie.fillColor||Le,ye=de.lineColor||ie.lineColor||Le,V=V||"normal",Ae=ie.states[V]||{},ge=$((Re=de.states&&de.states[V]||{}).lineWidth,Ae.lineWidth,ge+$(Re.lineWidthPlus,Ae.lineWidthPlus,0)),ve=Re.fillColor||Ae.fillColor||ve,{stroke:ye=Re.lineColor||Ae.lineColor||ye,"stroke-width":ge,fill:ve,opacity:be=$(Re.opacity,Ae.opacity,be)}}destroy(R){let V,ie,ue,de=this,me=de.chart,_e=/AppleWebKit\/533/.test(q.navigator.userAgent),we=de.data||[];for(S(de,"destroy",{keepEventsForUpdate:R}),this.removeEvents(R),(de.axisTypes||[]).forEach(function(Ae){(ue=de[Ae])&&ue.series&&(G(ue.series,de),ue.isDirty=ue.forceRedraw=!0)}),de.legendItem&&de.chart.legend.destroyItem(de),V=we.length;V--;)(ie=we[V])&&ie.destroy&&ie.destroy();for(let Ae of de.zones)L(Ae,void 0,!0);Q.clearTimeout(de.animationTimeout),w(de,function(Ae,Re){Ae instanceof W&&!Ae.survive&&Ae[_e&&Re==="group"?"hide":"destroy"]()}),me.hoverSeries===de&&(me.hoverSeries=void 0),G(me.series,de),me.orderItems("series"),w(de,function(Ae,Re){R&&Re==="hcEvents"||delete de[Re]})}applyZones(){let{area:R,chart:V,graph:ie,zones:ue,points:de,xAxis:me,yAxis:_e,zoneAxis:we}=this,{inverted:Ae,renderer:Re}=V,Le=this[`${we}Axis`],{isXAxis:ve,len:ye=0}=Le||{},ge=((ie==null?void 0:ie.strokeWidth())||0)/2+1,be=(ke,Ce=0,Me=0)=>{Ae&&(Me=ye-Me);let{translated:Oe=0,lineClip:Ne}=ke,Ge=Me-Oe;Ne==null||Ne.push(["L",Ce,Math.abs(Ge)<ge?Me-ge*(Ge<=0?-1:1):Oe])};if(ue.length&&(ie||R)&&Le&&pe(Le.min)){let ke=Le.getExtremes().max,Ce=Ne=>{Ne.forEach((Ge,$e)=>{(Ge[0]==="M"||Ge[0]==="L")&&(Ne[$e]=[Ge[0],ve?ye-Ge[1]:Ge[1],ve?Ge[2]:ye-Ge[2]])})};if(ue.forEach(Ne=>{Ne.lineClip=[],Ne.translated=P(Le.toPixels($(Ne.value,ke),!0)||0,0,ye)}),ie&&!this.showLine&&ie.hide(),R&&R.hide(),we==="y"&&de.length<me.len)for(let Ne of de){let{plotX:Ge,plotY:$e,zone:Xe}=Ne,Je=Xe&&ue[ue.indexOf(Xe)-1];Xe&&be(Xe,Ge,$e),Je&&be(Je,Ge,$e)}let Me=[],Oe=Le.toPixels(Le.getExtremes().min,!0);ue.forEach(Ne=>{var St,qe;let Ge=Ne.lineClip||[],$e=Math.round(Ne.translated||0);me.reversed&&Ge.reverse();let{clip:Xe,simpleClip:Je}=Ne,ot=0,st=0,it=me.len,Rt=_e.len;ve?(ot=$e,it=Oe):(st=$e,Rt=Oe);let He=[["M",ot,st],["L",it,st],["L",it,Rt],["L",ot,Rt],["Z"]],lt=[He[0],...Ge,He[1],He[2],...Me,He[3],He[4]];Me=Ge.reverse(),Oe=$e,Ae&&(Ce(lt),R&&Ce(He)),Xe?(Xe.animate({d:lt}),Je==null||Je.animate({d:He})):(Xe=Ne.clip=Re.path(lt),R&&(Je=Ne.simpleClip=Re.path(He))),ie&&((St=Ne.graph)==null||St.clip(Xe)),R&&((qe=Ne.area)==null||qe.clip(Je))})}else this.visible&&(ie&&ie.show(),R&&R.show())}plotGroup(R,V,ie,ue,de){let me=this[R],_e=!me,we={visibility:ie,zIndex:ue||.1};return ee(this.opacity)&&!this.chart.styledMode&&this.state!=="inactive"&&(we.opacity=this.opacity),me||(this[R]=me=this.chart.renderer.g().add(de)),me.addClass("highcharts-"+V+" highcharts-series-"+this.index+" highcharts-"+this.type+"-series "+(ee(this.colorIndex)?"highcharts-color-"+this.colorIndex+" ":"")+(this.options.className||"")+(me.hasClass("highcharts-tracker")?" highcharts-tracker":""),!0),me.attr(we)[_e?"attr":"animate"](this.getPlotBox(V)),me}getPlotBox(R){let V=this.xAxis,ie=this.yAxis,ue=this.chart,de=ue.inverted&&!ue.polar&&V&&this.invertible&&R==="series";return ue.inverted&&(V=ie,ie=this.xAxis),{translateX:V?V.left:ue.plotLeft,translateY:ie?ie.top:ue.plotTop,rotation:de?90:0,rotationOriginX:de?(V.len-ie.len)/2:0,rotationOriginY:de?(V.len+ie.len)/2:0,scaleX:de?-1:1,scaleY:1}}removeEvents(R){let{eventsToUnbind:V}=this;R||le(this),V.length&&(V.forEach(ie=>{ie()}),V.length=0)}render(){var Re,Le,ve,ye,ge;let R=this,{chart:V,options:ie,hasRendered:ue}=R,de=E(ie.animation),me=R.visible?"inherit":"hidden",_e=ie.zIndex,we=V.seriesGroup,Ae=R.finishedAnimating?0:de.duration;S(this,"render"),R.plotGroup("group","series",me,_e,we),R.markerGroup=R.plotGroup("markerGroup","markers",me,_e,we),ie.clip!==!1&&R.setClip(),Ae&&((Re=R.animate)==null||Re.call(R,!0)),R.drawGraph&&(R.drawGraph(),R.applyZones()),R.visible&&R.drawPoints(),(Le=R.drawDataLabels)==null||Le.call(R),(ve=R.redrawPoints)==null||ve.call(R),ie.enableMouseTracking&&((ye=R.drawTracker)==null||ye.call(R)),Ae&&((ge=R.animate)==null||ge.call(R)),ue||(Ae&&de.defer&&(Ae+=de.defer),R.animationTimeout=z(()=>{R.afterAnimate()},Ae||0)),R.isDirty=!1,R.hasRendered=!0,S(R,"afterRender")}redraw(){let R=this.isDirty||this.isDirtyData;this.translate(),this.render(),R&&delete this.kdTree}reserveSpace(){return this.visible||!this.chart.options.chart.ignoreHiddenSeries}searchPoint(R,V){let{xAxis:ie,yAxis:ue}=this,de=this.chart.inverted;return this.searchKDTree({clientX:de?ie.len-R.chartY+ie.pos:R.chartX-ie.pos,plotY:de?ue.len-R.chartX+ue.pos:R.chartY-ue.pos},V,R)}buildKDTree(R){this.buildingKdTree=!0;let V=this,ie=V.options.findNearestPointBy.indexOf("y")>-1?2:1;delete V.kdTree,z(function(){V.kdTree=function ue(de,me,_e){let we,Ae,Re=de==null?void 0:de.length;if(Re)return we=V.kdAxisArray[me%_e],de.sort((Le,ve)=>(Le[we]||0)-(ve[we]||0)),{point:de[Ae=Math.floor(Re/2)],left:ue(de.slice(0,Ae),me+1,_e),right:ue(de.slice(Ae+1),me+1,_e)}}(V.getValidPoints(void 0,!V.directTouch),ie,ie),V.buildingKdTree=!1},V.options.kdNow||(R==null?void 0:R.type)==="touchstart"?0:1)}searchKDTree(R,V,ie){let ue=this,[de,me]=this.kdAxisArray,_e=V?"distX":"dist",we=(ue.options.findNearestPointBy||"").indexOf("y")>-1?2:1,Ae=!!ue.isBubble;if(this.kdTree||this.buildingKdTree||this.buildKDTree(ie),this.kdTree)return function Re(Le,ve,ye,ge){var Xe;let be=ve.point,ke=ue.kdAxisArray[ye%ge],Ce,Me,Oe=be;(function(Je,ot){var ht;let st=Je[de],it=ot[de],Rt=ee(st)&&ee(it)?st-it:null,He=Je[me],lt=ot[me],St=ee(He)&&ee(lt)?He-lt:0,qe=Ae&&((ht=ot.marker)==null?void 0:ht.radius)||0;ot.dist=Math.sqrt((Rt&&Rt*Rt||0)+St*St)-qe,ot.distX=ee(Rt)?Math.abs(Rt)-qe:Number.MAX_VALUE})(Le,be);let Ne=(Le[ke]||0)-(be[ke]||0)+(Ae&&((Xe=be.marker)==null?void 0:Xe.radius)||0),Ge=Ne<0?"left":"right",$e=Ne<0?"right":"left";return ve[Ge]&&(Oe=(Ce=Re(Le,ve[Ge],ye+1,ge))[_e]<Oe[_e]?Ce:be),ve[$e]&&Math.sqrt(Ne*Ne)<Oe[_e]&&(Oe=(Me=Re(Le,ve[$e],ye+1,ge))[_e]<Oe[_e]?Me:Oe),Oe}(R,this.kdTree,we,we)}pointPlacementToXValue(){let{options:R,xAxis:V}=this,ie=R.pointPlacement;return ie==="between"&&(ie=V.reversed?-.5:.5),pe(ie)?ie*(R.pointRange||V.pointRange):0}isPointInside(R){let{chart:V,xAxis:ie,yAxis:ue}=this,{plotX:de=-1,plotY:me=-1}=R;return me>=0&&me<=(ue?ue.len:V.plotHeight)&&de>=0&&de<=(ie?ie.len:V.plotWidth)}drawTracker(){var ve;let R=this,V=R.options,ie=V.trackByArea,ue=[].concat((ie?R.areaPath:R.graphPath)||[]),de=R.chart,me=de.pointer,_e=de.renderer,we=((ve=de.options.tooltip)==null?void 0:ve.snap)||0,Ae=()=>{V.enableMouseTracking&&de.hoverSeries!==R&&R.onMouseOver()},Re="rgba(192,192,192,"+(U?1e-4:.002)+")",Le=R.tracker;Le?Le.attr({d:ue}):R.graph&&(R.tracker=Le=_e.path(ue).attr({visibility:R.visible?"inherit":"hidden",zIndex:2}).addClass(ie?"highcharts-tracker-area":"highcharts-tracker-line").add(R.group),de.styledMode||Le.attr({"stroke-linecap":"round","stroke-linejoin":"round",stroke:Re,fill:ie?Re:"none","stroke-width":R.graph.strokeWidth()+(ie?0:2*we)}),[R.tracker,R.markerGroup,R.dataLabelsGroup].forEach(ye=>{ye&&(ye.addClass("highcharts-tracker").on("mouseover",Ae).on("mouseout",ge=>{me==null||me.onTrackerMouseOut(ge)}),V.cursor&&!de.styledMode&&ye.css({cursor:V.cursor}),ye.on("touchstart",Ae))})),S(this,"afterDrawTracker")}addPoint(R,V,ie,ue,de){let me,_e,we=this.options,Ae=this.data,Re=this.chart,Le=this.xAxis,ve=Le&&Le.hasNames&&Le.names,ye=we.data,ge=this.xData;V=$(V,!0);let be={series:this};this.pointClass.prototype.applyOptions.apply(be,[R]);let ke=be.x;if(_e=ge.length,this.requireSorting&&ke<ge[_e-1])for(me=!0;_e&&ge[_e-1]>ke;)_e--;this.updateParallelArrays(be,"splice",[_e,0,0]),this.updateParallelArrays(be,_e),ve&&be.name&&(ve[ke]=be.name),ye.splice(_e,0,R),(me||this.processedData)&&(this.data.splice(_e,0,null),this.processData()),we.legendType==="point"&&this.generatePoints(),ie&&(Ae[0]&&Ae[0].remove?Ae[0].remove(!1):(Ae.shift(),this.updateParallelArrays(be,"shift"),ye.shift())),de!==!1&&S(this,"addPoint",{point:be}),this.isDirty=!0,this.isDirtyData=!0,V&&Re.redraw(ue)}removePoint(R,V,ie){let ue=this,de=ue.data,me=de[R],_e=ue.points,we=ue.chart,Ae=function(){_e&&_e.length===de.length&&_e.splice(R,1),de.splice(R,1),ue.options.data.splice(R,1),ue.updateParallelArrays(me||{series:ue},"splice",[R,1]),me&&me.destroy(),ue.isDirty=!0,ue.isDirtyData=!0,V&&we.redraw()};Y(ie,we),V=$(V,!0),me?me.firePointEvent("remove",null,Ae):Ae()}remove(R,V,ie,ue){let de=this,me=de.chart;function _e(){de.destroy(ue),me.isDirtyLegend=me.isDirtyBox=!0,me.linkSeries(ue),$(R,!0)&&me.redraw(V)}ie!==!1?S(de,"remove",null,_e):_e()}update(R,V){var Ce,Me,Oe;S(this,"update",{options:R=Z(R,this.userOptions)});let ie=this,ue=ie.chart,de=ie.userOptions,me=ie.initialType||ie.type,_e=ue.options.plotOptions,we=X[me].prototype,Ae=ie.finishedAnimating&&{animation:!1},Re={},Le,ve,ye=["colorIndex","eventOptions","navigatorSeries","symbolIndex","baseSeries"],ge=R.type||de.type||ue.options.chart.type,be=!(this.hasDerivedData||ge&&ge!==this.type||R.pointStart!==void 0||R.pointInterval!==void 0||R.relativeXValue!==void 0||R.joinBy||R.mapData||["dataGrouping","pointStart","pointInterval","pointIntervalUnit","keys"].some(Ne=>ie.hasOptionChanged(Ne)));ge=ge||me,be&&(ye.push("data","isDirtyData","isDirtyCanvas","points","processedData","processedXData","processedYData","xIncrement","cropped","_hasPointMarkers","hasDataLabels","nodes","layout","level","mapMap","mapData","minY","maxY","minX","maxX","transformGroups"),R.visible!==!1&&ye.push("area","graph"),ie.parallelArrays.forEach(function(Ne){ye.push(Ne+"Data")}),R.data&&(R.dataSorting&&_(ie.options.dataSorting,R.dataSorting),this.setData(R.data,!1))),R=C(de,{index:de.index===void 0?ie.index:de.index,pointStart:((Ce=_e==null?void 0:_e.series)==null?void 0:Ce.pointStart)??de.pointStart??((Me=ie.xData)==null?void 0:Me[0])},!be&&{data:ie.options.data},R,Ae),be&&R.data&&(R.data=ie.options.data),(ye=["group","markerGroup","dataLabelsGroup","transformGroup"].concat(ye)).forEach(function(Ne){ye[Ne]=ie[Ne],delete ie[Ne]});let ke=!1;if(X[ge]){if(ke=ge!==ie.type,ie.remove(!1,!1,!1,!0),ke)if(ue.propFromSeries(),Object.setPrototypeOf)Object.setPrototypeOf(ie,X[ge].prototype);else{let Ne=Object.hasOwnProperty.call(ie,"hcEvents")&&ie.hcEvents;for(ve in we)ie[ve]=void 0;_(ie,X[ge].prototype),Ne?ie.hcEvents=Ne:delete ie.hcEvents}}else T(17,!0,ue,{missingModuleFor:ge});if(ye.forEach(function(Ne){ie[Ne]=ye[Ne]}),ie.init(ue,R),be&&this.points)for(let Ne of((Le=ie.options).visible===!1?(Re.graphic=1,Re.dataLabel=1):(this.hasMarkerChanged(Le,de)&&(Re.graphic=1),(Oe=ie.hasDataLabels)!=null&&Oe.call(ie)||(Re.dataLabel=1)),this.points))Ne&&Ne.series&&(Ne.resolveColor(),Object.keys(Re).length&&Ne.destroyElements(Re),Le.showInLegend===!1&&Ne.legendItem&&ue.legend.destroyItem(Ne));ie.initialType=me,ue.linkSeries(),ue.setSortedData(),ke&&ie.linkedSeries.length&&(ie.isDirtyData=!0),S(this,"afterUpdate"),$(V,!0)&&ue.redraw(!!be&&void 0)}setName(R){this.name=this.options.name=this.userOptions.name=R,this.chart.isDirtyLegend=!0}hasOptionChanged(R){var _e,we;let V=this.chart,ie=this.options[R],ue=V.options.plotOptions,de=this.userOptions[R],me=$((_e=ue==null?void 0:ue[this.type])==null?void 0:_e[R],(we=ue==null?void 0:ue.series)==null?void 0:we[R]);return de&&!ee(me)?ie!==de:ie!==$(me,ie)}onMouseOver(){let R=this.chart,V=R.hoverSeries,ie=R.pointer;ie==null||ie.setHoverChartIndex(),V&&V!==this&&V.onMouseOut(),this.options.events.mouseOver&&S(this,"mouseOver"),this.setState("hover"),R.hoverSeries=this}onMouseOut(){let R=this.options,V=this.chart,ie=V.tooltip,ue=V.hoverPoint;V.hoverSeries=null,ue&&ue.onMouseOut(),this&&R.events.mouseOut&&S(this,"mouseOut"),ie&&!this.stickyTracking&&(!ie.shared||this.noSharedTooltip)&&ie.hide(),V.series.forEach(function(de){de.setState("",!0)})}setState(R,V){let ie=this,ue=ie.options,de=ie.graph,me=ue.inactiveOtherPoints,_e=ue.states,we=$(_e[R||"normal"]&&_e[R||"normal"].animation,ie.chart.options.chart.animation),Ae=ue.lineWidth,Re=ue.opacity;if(R=R||"",ie.state!==R&&([ie.group,ie.markerGroup,ie.dataLabelsGroup].forEach(function(Le){Le&&(ie.state&&Le.removeClass("highcharts-series-"+ie.state),R&&Le.addClass("highcharts-series-"+R))}),ie.state=R,!ie.chart.styledMode)){if(_e[R]&&_e[R].enabled===!1)return;if(R&&(Ae=_e[R].lineWidth||Ae+(_e[R].lineWidthPlus||0),Re=$(_e[R].opacity,Re)),de&&!de.dashstyle&&pe(Ae))for(let Le of[de,...this.zones.map(ve=>ve.graph)])Le==null||Le.animate({"stroke-width":Ae},we);me||[ie.group,ie.markerGroup,ie.dataLabelsGroup,ie.labelBySeries].forEach(function(Le){Le&&Le.animate({opacity:Re},we)})}V&&me&&ie.points&&ie.setAllPointsToState(R||void 0)}setAllPointsToState(R){this.points.forEach(function(V){V.setState&&V.setState(R)})}setVisible(R,V){var we;let ie=this,ue=ie.chart,de=ue.options.chart.ignoreHiddenSeries,me=ie.visible;ie.visible=R=ie.options.visible=ie.userOptions.visible=R===void 0?!me:R;let _e=R?"show":"hide";["group","dataLabelsGroup","markerGroup","tracker","tt"].forEach(Ae=>{var Re;(Re=ie[Ae])==null||Re[_e]()}),(ue.hoverSeries===ie||((we=ue.hoverPoint)==null?void 0:we.series)===ie)&&ie.onMouseOut(),ie.legendItem&&ue.legend.colorizeItem(ie,R),ie.isDirty=!0,ie.options.stacking&&ue.series.forEach(Ae=>{Ae.options.stacking&&Ae.visible&&(Ae.isDirty=!0)}),ie.linkedSeries.forEach(Ae=>{Ae.setVisible(R,!1)}),de&&(ue.isDirtyBox=!0),S(ie,_e),V!==!1&&ue.redraw()}show(){this.setVisible(!0)}hide(){this.setVisible(!1)}select(R){this.selected=R=this.options.selected=R===void 0?!this.selected:R,this.checkbox&&(this.checkbox.checked=R),S(this,R?"select":"unselect")}shouldShowTooltip(R,V,ie={}){return ie.series=this,ie.visiblePlotOnly=!0,this.chart.isInsidePlot(R,V,ie)}drawLegendSymbol(R,V){var ie;(ie=x[this.options.legendSymbol||"rectangle"])==null||ie.call(this,R,V)}}return te.defaultOptions=D,te.types=B.seriesTypes,te.registerType=B.registerSeriesType,_(te.prototype,{axisTypes:["xAxis","yAxis"],coll:"series",colorCounter:0,directTouch:!1,invertible:!0,isCartesian:!0,kdAxisArray:["clientX","plotY"],parallelArrays:["x","y"],pointClass:k,requireSorting:!0,sorted:!0}),B.series=te,te}),c(o,"Core/Legend/Legend.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Foundation.js"],o["Core/Globals.js"],o["Core/Series/Series.js"],o["Core/Series/Point.js"],o["Core/Renderer/RendererUtilities.js"],o["Core/Templating.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k,D,B){var W;let{animObject:Q,setAnimation:E}=d,{registerEventOptions:Y}=f,{composed:se,marginNames:ne}=y,{distribute:U}=k,{format:q}=D,{addEvent:X,createElement:J,css:H,defined:P,discardElement:ce,find:ae,fireEvent:ee,isNumber:L,merge:Z,pick:G,pushUnique:T,relativeLength:_,stableSort:A,syncTimeout:S}=B;class N{constructor(O,re){this.allItems=[],this.initialItemY=0,this.itemHeight=0,this.itemMarginBottom=0,this.itemMarginTop=0,this.itemX=0,this.itemY=0,this.lastItemY=0,this.lastLineHeight=0,this.legendHeight=0,this.legendWidth=0,this.maxItemWidth=0,this.maxLegendWidth=0,this.offsetWidth=0,this.padding=0,this.pages=[],this.symbolHeight=0,this.symbolWidth=0,this.titleHeight=0,this.totalItemWidth=0,this.widthOption=0,this.chart=O,this.setOptions(re),re.enabled&&(this.render(),Y(this,re),X(this.chart,"endResize",function(){this.legend.positionCheckboxes()})),X(this.chart,"render",()=>{this.options.enabled&&this.proximate&&(this.proximatePositions(),this.positionItems())})}setOptions(O){let re=G(O.padding,8);this.options=O,this.chart.styledMode||(this.itemStyle=O.itemStyle,this.itemHiddenStyle=Z(this.itemStyle,O.itemHiddenStyle)),this.itemMarginTop=O.itemMarginTop,this.itemMarginBottom=O.itemMarginBottom,this.padding=re,this.initialItemY=re-5,this.symbolWidth=G(O.symbolWidth,16),this.pages=[],this.proximate=O.layout==="proximate"&&!this.chart.inverted,this.baseline=void 0}update(O,re){let pe=this.chart;this.setOptions(Z(!0,this.options,O)),"events"in this.options&&Y(this,this.options),this.destroy(),pe.isDirtyLegend=pe.isDirtyBox=!0,G(re,!0)&&pe.redraw(),ee(this,"afterUpdate",{redraw:re})}colorizeItem(O,re){let{area:pe,group:g,label:C,line:w,symbol:$}=O.legendItem||{};if(g==null||g[re?"removeClass":"addClass"]("highcharts-legend-item-hidden"),!this.chart.styledMode){let{itemHiddenStyle:le={}}=this,j=le.color,{fillColor:z,fillOpacity:te,lineColor:fe,marker:R}=O.options,V=ie=>(!re&&(ie.fill&&(ie.fill=j),ie.stroke&&(ie.stroke=j)),ie);C==null||C.css(Z(re?this.itemStyle:le)),w==null||w.attr(V({stroke:fe||O.color})),$&&$.attr(V(R&&$.isMarker?O.pointAttribs():{fill:O.color})),pe==null||pe.attr(V({fill:z||O.color,"fill-opacity":z?1:te??.75}))}ee(this,"afterColorizeItem",{item:O,visible:re})}positionItems(){this.allItems.forEach(this.positionItem,this),this.chart.isResizing||this.positionCheckboxes()}positionItem(O){let{group:re,x:pe=0,y:g=0}=O.legendItem||{},C=this.options,w=C.symbolPadding,$=!C.rtl,le=O.checkbox;if(re&&re.element){let j={translateX:$?pe:this.legendWidth-pe-2*w-4,translateY:g};re[P(re.translateY)?"animate":"attr"](j,void 0,()=>{ee(this,"afterPositionItem",{item:O})})}le&&(le.x=pe,le.y=g)}destroyItem(O){let re=O.checkbox,pe=O.legendItem||{};for(let g of["group","label","line","symbol"])pe[g]&&(pe[g]=pe[g].destroy());re&&ce(re),O.legendItem=void 0}destroy(){for(let O of this.getAllItems())this.destroyItem(O);for(let O of["clipRect","up","down","pager","nav","box","title","group"])this[O]&&(this[O]=this[O].destroy());this.display=null}positionCheckboxes(){let O,re=this.group&&this.group.alignAttr,pe=this.clipHeight||this.legendHeight,g=this.titleHeight;re&&(O=re.translateY,this.allItems.forEach(function(C){let w,$=C.checkbox;$&&(w=O+g+$.y+(this.scrollOffset||0)+3,H($,{left:re.translateX+C.checkboxOffset+$.x-20+"px",top:w+"px",display:this.proximate||w>O-6&&w<O+pe-6?"":"none"}))},this))}renderTitle(){let O=this.options,re=this.padding,pe=O.title,g,C=0;pe.text&&(this.title||(this.title=this.chart.renderer.label(pe.text,re-3,re-4,void 0,void 0,void 0,O.useHTML,void 0,"legend-title").attr({zIndex:1}),this.chart.styledMode||this.title.css(pe.style),this.title.add(this.group)),pe.width||this.title.css({width:this.maxLegendWidth+"px"}),C=(g=this.title.getBBox()).height,this.offsetWidth=g.width,this.contentGroup.attr({translateY:C})),this.titleHeight=C}setText(O){let re=this.options;O.legendItem.label.attr({text:re.labelFormat?q(re.labelFormat,O,this.chart):re.labelFormatter.call(O)})}renderItem(O){let re=O.legendItem=O.legendItem||{},pe=this.chart,g=pe.renderer,C=this.options,w=C.layout==="horizontal",$=this.symbolWidth,le=C.symbolPadding||0,j=this.itemStyle,z=this.itemHiddenStyle,te=w?G(C.itemDistance,20):0,fe=!C.rtl,R=!O.series,V=!R&&O.series.drawLegendSymbol?O.series:O,ie=V.options,ue=!!this.createCheckboxForItem&&ie&&ie.showCheckbox,de=C.useHTML,me=O.options.className,_e=re.label,we=$+le+te+(ue?20:0);!_e&&(re.group=g.g("legend-item").addClass("highcharts-"+V.type+"-series highcharts-color-"+O.colorIndex+(me?" "+me:"")+(R?" highcharts-series-"+O.index:"")).attr({zIndex:1}).add(this.scrollGroup),re.label=_e=g.text("",fe?$+le:-le,this.baseline||0,de),pe.styledMode||_e.css(Z(O.visible?j:z)),_e.attr({align:fe?"left":"right",zIndex:2}).add(re.group),!this.baseline&&(this.fontMetrics=g.fontMetrics(_e),this.baseline=this.fontMetrics.f+3+this.itemMarginTop,_e.attr("y",this.baseline),this.symbolHeight=G(C.symbolHeight,this.fontMetrics.f),C.squareSymbol&&(this.symbolWidth=G(C.symbolWidth,Math.max(this.symbolHeight,16)),we=this.symbolWidth+le+te+(ue?20:0),fe&&_e.attr("x",this.symbolWidth+le))),V.drawLegendSymbol(this,O),this.setItemEvents&&this.setItemEvents(O,_e,de)),ue&&!O.checkbox&&this.createCheckboxForItem&&this.createCheckboxForItem(O),this.colorizeItem(O,O.visible),(pe.styledMode||!j.width)&&_e.css({width:(C.itemWidth||this.widthOption||pe.spacingBox.width)-we+"px"}),this.setText(O);let Ae=_e.getBBox(),Re=this.fontMetrics&&this.fontMetrics.h||0;O.itemWidth=O.checkboxOffset=C.itemWidth||re.labelWidth||Ae.width+we,this.maxItemWidth=Math.max(this.maxItemWidth,O.itemWidth),this.totalItemWidth+=O.itemWidth,this.itemHeight=O.itemHeight=Math.round(re.labelHeight||(Ae.height>1.5*Re?Ae.height:Re))}layoutItem(O){let re=this.options,pe=this.padding,g=re.layout==="horizontal",C=O.itemHeight,w=this.itemMarginBottom,$=this.itemMarginTop,le=g?G(re.itemDistance,20):0,j=this.maxLegendWidth,z=re.alignColumns&&this.totalItemWidth>j?this.maxItemWidth:O.itemWidth,te=O.legendItem||{};g&&this.itemX-pe+z>j&&(this.itemX=pe,this.lastLineHeight&&(this.itemY+=$+this.lastLineHeight+w),this.lastLineHeight=0),this.lastItemY=$+this.itemY+w,this.lastLineHeight=Math.max(C,this.lastLineHeight),te.x=this.itemX,te.y=this.itemY,g?this.itemX+=z:(this.itemY+=$+C+w,this.lastLineHeight=C),this.offsetWidth=this.widthOption||Math.max((g?this.itemX-pe-(O.checkbox?0:le):z)+pe,this.offsetWidth)}getAllItems(){let O=[];return this.chart.series.forEach(function(re){let pe=re&&re.options;re&&G(pe.showInLegend,!P(pe.linkedTo)&&void 0,!0)&&(O=O.concat((re.legendItem||{}).labels||(pe.legendType==="point"?re.data:re)))}),ee(this,"afterGetAllItems",{allItems:O}),O}getAlignment(){let O=this.options;return this.proximate?O.align.charAt(0)+"tv":O.floating?"":O.align.charAt(0)+O.verticalAlign.charAt(0)+O.layout.charAt(0)}adjustMargins(O,re){let pe=this.chart,g=this.options,C=this.getAlignment();C&&[/(lth|ct|rth)/,/(rtv|rm|rbv)/,/(rbh|cb|lbh)/,/(lbv|lm|ltv)/].forEach(function(w,$){w.test(C)&&!P(O[$])&&(pe[ne[$]]=Math.max(pe[ne[$]],pe.legend[($+1)%2?"legendHeight":"legendWidth"]+[1,-1,-1,1][$]*g[$%2?"x":"y"]+G(g.margin,12)+re[$]+(pe.titleOffset[$]||0)))})}proximatePositions(){let O,re=this.chart,pe=[],g=this.options.align==="left";for(let C of(this.allItems.forEach(function(w){let $,le,j=g,z,te;w.yAxis&&(w.xAxis.options.reversed&&(j=!j),w.points&&($=ae(j?w.points:w.points.slice(0).reverse(),function(fe){return L(fe.plotY)})),le=this.itemMarginTop+w.legendItem.label.getBBox().height+this.itemMarginBottom,te=w.yAxis.top-re.plotTop,z=w.visible?($?$.plotY:w.yAxis.height)+(te-.3*le):te+w.yAxis.height,pe.push({target:z,size:le,item:w}))},this),U(pe,re.plotHeight)))O=C.item.legendItem||{},L(C.pos)&&(O.y=re.plotTop-re.spacing[0]+C.pos)}render(){let O=this.chart,re=O.renderer,pe=this.options,g=this.padding,C=this.getAllItems(),w,$,le,j=this.group,z,te=this.box;this.itemX=g,this.itemY=this.initialItemY,this.offsetWidth=0,this.lastItemY=0,this.widthOption=_(pe.width,O.spacingBox.width-g),z=O.spacingBox.width-2*g-pe.x,["rm","lm"].indexOf(this.getAlignment().substring(0,2))>-1&&(z/=2),this.maxLegendWidth=this.widthOption||z,j||(this.group=j=re.g("legend").addClass(pe.className||"").attr({zIndex:7}).add(),this.contentGroup=re.g().attr({zIndex:1}).add(j),this.scrollGroup=re.g().add(this.contentGroup)),this.renderTitle(),A(C,(fe,R)=>(fe.options&&fe.options.legendIndex||0)-(R.options&&R.options.legendIndex||0)),pe.reversed&&C.reverse(),this.allItems=C,this.display=w=!!C.length,this.lastLineHeight=0,this.maxItemWidth=0,this.totalItemWidth=0,this.itemHeight=0,C.forEach(this.renderItem,this),C.forEach(this.layoutItem,this),$=(this.widthOption||this.offsetWidth)+g,le=this.lastItemY+this.lastLineHeight+this.titleHeight,le=this.handleOverflow(le)+g,te||(this.box=te=re.rect().addClass("highcharts-legend-box").attr({r:pe.borderRadius}).add(j)),O.styledMode||te.attr({stroke:pe.borderColor,"stroke-width":pe.borderWidth||0,fill:pe.backgroundColor||"none"}).shadow(pe.shadow),$>0&&le>0&&te[te.placed?"animate":"attr"](te.crisp.call({},{x:0,y:0,width:$,height:le},te.strokeWidth())),j[w?"show":"hide"](),O.styledMode&&j.getStyle("display")==="none"&&($=le=0),this.legendWidth=$,this.legendHeight=le,w&&this.align(),this.proximate||this.positionItems(),ee(this,"afterRender")}align(O=this.chart.spacingBox){let re=this.chart,pe=this.options,g=O.y;/(lth|ct|rth)/.test(this.getAlignment())&&re.titleOffset[0]>0?g+=re.titleOffset[0]:/(lbh|cb|rbh)/.test(this.getAlignment())&&re.titleOffset[2]>0&&(g-=re.titleOffset[2]),g!==O.y&&(O=Z(O,{y:g})),re.hasRendered||(this.group.placed=!1),this.group.align(Z(pe,{width:this.legendWidth,height:this.legendHeight,verticalAlign:this.proximate?"top":pe.verticalAlign}),!0,O)}handleOverflow(O){let re=this,pe=this.chart,g=pe.renderer,C=this.options,w=C.y,$=C.verticalAlign==="top",le=this.padding,j=C.maxHeight,z=C.navigation,te=G(z.animation,!0),fe=z.arrowSize||12,R=this.pages,V=this.allItems,ie=function(Le){typeof Le=="number"?Re.attr({height:Le}):Re&&(re.clipRect=Re.destroy(),re.contentGroup.clip()),re.contentGroup.div&&(re.contentGroup.div.style.clip=Le?"rect("+le+"px,9999px,"+(le+Le)+"px,0)":"auto")},ue=function(Le){return re[Le]=g.circle(0,0,1.3*fe).translate(fe/2,fe/2).add(Ae),pe.styledMode||re[Le].attr("fill","rgba(0,0,0,0.0001)"),re[Le]},de,me,_e,we=pe.spacingBox.height+($?-w:w)-le,Ae=this.nav,Re=this.clipRect;return C.layout!=="horizontal"||C.verticalAlign==="middle"||C.floating||(we/=2),j&&(we=Math.min(we,j)),R.length=0,O&&we>0&&O>we&&z.enabled!==!1?(this.clipHeight=de=Math.max(we-20-this.titleHeight-le,0),this.currentPage=G(this.currentPage,1),this.fullHeight=O,V.forEach((Le,ve)=>{let ye=(_e=Le.legendItem||{}).y||0,ge=Math.round(_e.label.getBBox().height),be=R.length;(!be||ye-R[be-1]>de&&(me||ye)!==R[be-1])&&(R.push(me||ye),be++),_e.pageIx=be-1,me&&((V[ve-1].legendItem||{}).pageIx=be-1),ve===V.length-1&&ye+ge-R[be-1]>de&&ye>R[be-1]&&(R.push(ye),_e.pageIx=be),ye!==me&&(me=ye)}),Re||(Re=re.clipRect=g.clipRect(0,le-2,9999,0),re.contentGroup.clip(Re)),ie(de),Ae||(this.nav=Ae=g.g().attr({zIndex:1}).add(this.group),this.up=g.symbol("triangle",0,0,fe,fe).add(Ae),ue("upTracker").on("click",function(){re.scroll(-1,te)}),this.pager=g.text("",15,10).addClass("highcharts-legend-navigation"),!pe.styledMode&&z.style&&this.pager.css(z.style),this.pager.add(Ae),this.down=g.symbol("triangle-down",0,0,fe,fe).add(Ae),ue("downTracker").on("click",function(){re.scroll(1,te)})),re.scroll(0),O=we):Ae&&(ie(),this.nav=Ae.destroy(),this.scrollGroup.attr({translateY:1}),this.clipHeight=0),O}scroll(O,re){let pe=this.chart,g=this.pages,C=g.length,w=this.clipHeight,$=this.options.navigation,le=this.pager,j=this.padding,z=this.currentPage+O;z>C&&(z=C),z>0&&(re!==void 0&&E(re,pe),this.nav.attr({translateX:j,translateY:w+this.padding+7+this.titleHeight,visibility:"inherit"}),[this.up,this.upTracker].forEach(function(te){te.attr({class:z===1?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})}),le.attr({text:z+"/"+C}),[this.down,this.downTracker].forEach(function(te){te.attr({x:18+this.pager.getBBox().width,class:z===C?"highcharts-legend-nav-inactive":"highcharts-legend-nav-active"})},this),pe.styledMode||(this.up.attr({fill:z===1?$.inactiveColor:$.activeColor}),this.upTracker.css({cursor:z===1?"default":"pointer"}),this.down.attr({fill:z===C?$.inactiveColor:$.activeColor}),this.downTracker.css({cursor:z===C?"default":"pointer"})),this.scrollOffset=-g[z-1]+this.initialItemY,this.scrollGroup.animate({translateY:this.scrollOffset}),this.currentPage=z,this.positionCheckboxes(),S(()=>{ee(this,"afterScroll",{currentPage:z})},Q(G(re,pe.renderer.globalAnimation,!0)).duration))}setItemEvents(O,re,pe){let g=this,C=O.legendItem||{},w=g.chart.renderer.boxWrapper,$=O instanceof x,le=O instanceof v,j="highcharts-legend-"+($?"point":"series")+"-active",z=g.chart.styledMode,te=pe?[re,C.symbol]:[C.group],fe=R=>{g.allItems.forEach(V=>{O!==V&&[V].concat(V.linkedSeries||[]).forEach(ie=>{ie.setState(R,!$)})})};for(let R of te)R&&R.on("mouseover",function(){O.visible&&fe("inactive"),O.setState("hover"),O.visible&&w.addClass(j),z||re.css(g.options.itemHoverStyle)}).on("mouseout",function(){g.chart.styledMode||re.css(Z(O.visible?g.itemStyle:g.itemHiddenStyle)),fe(""),w.removeClass(j),O.setState()}).on("click",function(V){let ie=function(){O.setVisible&&O.setVisible(),fe(O.visible?"inactive":"")};w.removeClass(j),ee(g,"itemClick",{browserEvent:V,legendItem:O},ie),$?O.firePointEvent("legendItemClick",{browserEvent:V}):le&&ee(O,"legendItemClick",{browserEvent:V})})}createCheckboxForItem(O){O.checkbox=J("input",{type:"checkbox",className:"highcharts-legend-checkbox",checked:O.selected,defaultChecked:O.selected},this.options.itemCheckboxStyle,this.chart.container),X(O.checkbox,"click",function(re){let pe=re.target;ee(O.series||O,"checkboxClick",{checked:pe.checked,item:O},function(){O.select()})})}}return(W=N||(N={})).compose=function(F){T(se,"Core.Legend")&&X(F,"beforeMargins",function(){this.legend=new W(this,this.options.legend)})},N}),c(o,"Core/Chart/Chart.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Axis/Axis.js"],o["Core/Defaults.js"],o["Core/Templating.js"],o["Core/Foundation.js"],o["Core/Globals.js"],o["Core/Renderer/RendererRegistry.js"],o["Core/Series/Series.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Renderer/SVG/SVGRenderer.js"],o["Core/Time.js"],o["Core/Utilities.js"],o["Core/Renderer/HTML/AST.js"],o["Core/Axis/Tick.js"]],function(d,f,y,v,x,k,D,B,W,Q,E,Y,se,ne){let{animate:U,animObject:q,setAnimation:X}=d,{defaultOptions:J,defaultTime:H}=y,{numberFormat:P}=v,{registerEventOptions:ce}=x,{charts:ae,doc:ee,marginNames:L,svg:Z,win:G}=k,{seriesTypes:T}=W,{addEvent:_,attr:A,createElement:S,css:N,defined:F,diffObjects:O,discardElement:re,erase:pe,error:g,extend:C,find:w,fireEvent:$,getStyle:le,isArray:j,isNumber:z,isObject:te,isString:fe,merge:R,objectEach:V,pick:ie,pInt:ue,relativeLength:de,removeEvent:me,splat:_e,syncTimeout:we,uniqueKey:Ae}=Y;class Re{static chart(ve,ye,ge){return new Re(ve,ye,ge)}constructor(ve,ye,ge){this.sharedClips={};let be=[...arguments];(fe(ve)||ve.nodeName)&&(this.renderTo=be.shift()),this.init(be[0],be[1])}setZoomOptions(){let ve=this.options.chart,ye=ve.zooming;this.zooming={...ye,type:ie(ve.zoomType,ye.type),key:ie(ve.zoomKey,ye.key),pinchType:ie(ve.pinchType,ye.pinchType),singleTouch:ie(ve.zoomBySingleTouch,ye.singleTouch,!1),resetButton:R(ye.resetButton,ve.resetZoomButton)}}init(ve,ye){$(this,"init",{args:arguments},function(){let ge=R(J,ve),be=ge.chart;this.userOptions=C({},ve),this.margin=[],this.spacing=[],this.labelCollectors=[],this.callback=ye,this.isResizing=0,this.options=ge,this.axes=[],this.series=[],this.time=ve.time&&Object.keys(ve.time).length?new E(ve.time):k.time,this.numberFormatter=be.numberFormatter||P,this.styledMode=be.styledMode,this.hasCartesianSeries=be.showAxes,this.index=ae.length,ae.push(this),k.chartCount++,ce(this,be),this.xAxis=[],this.yAxis=[],this.pointCount=this.colorCounter=this.symbolCounter=0,this.setZoomOptions(),$(this,"afterInit"),this.firstRender()})}initSeries(ve){let ye=this.options.chart,ge=ve.type||ye.type,be=T[ge];be||g(17,!0,this,{missingModuleFor:ge});let ke=new be;return typeof ke.init=="function"&&ke.init(this,ve),ke}setSortedData(){this.getSeriesOrderByLinks().forEach(function(ve){ve.points||ve.data||!ve.enabledDataSorting||ve.setData(ve.options.data,!1)})}getSeriesOrderByLinks(){return this.series.concat().sort(function(ve,ye){return ve.linkedSeries.length||ye.linkedSeries.length?ye.linkedSeries.length-ve.linkedSeries.length:0})}orderItems(ve,ye=0){let ge=this[ve],be=this.options[ve]=_e(this.options[ve]).slice(),ke=this.userOptions[ve]=this.userOptions[ve]?_e(this.userOptions[ve]).slice():[];if(this.hasRendered&&(be.splice(ye),ke.splice(ye)),ge)for(let Ce=ye,Me=ge.length;Ce<Me;++Ce){let Oe=ge[Ce];Oe&&(Oe.index=Ce,Oe instanceof B&&(Oe.name=Oe.getName()),Oe.options.isInternal||(be[Ce]=Oe.options,ke[Ce]=Oe.userOptions))}}isInsidePlot(ve,ye,ge={}){var it;let{inverted:be,plotBox:ke,plotLeft:Ce,plotTop:Me,scrollablePlotBox:Oe}=this,{scrollLeft:Ne=0,scrollTop:Ge=0}=ge.visiblePlotOnly&&((it=this.scrollablePlotArea)==null?void 0:it.scrollingContainer)||{},$e=ge.series,Xe=ge.visiblePlotOnly&&Oe||ke,Je=ge.inverted?ye:ve,ot=ge.inverted?ve:ye,st={x:Je,y:ot,isInsidePlot:!0,options:ge};if(!ge.ignoreX){let Rt=$e&&(be&&!this.polar?$e.yAxis:$e.xAxis)||{pos:Ce,len:1/0},He=ge.paneCoordinates?Rt.pos+Je:Ce+Je;He>=Math.max(Ne+Ce,Rt.pos)&&He<=Math.min(Ne+Ce+Xe.width,Rt.pos+Rt.len)||(st.isInsidePlot=!1)}if(!ge.ignoreY&&st.isInsidePlot){let Rt=!be&&ge.axis&&!ge.axis.isXAxis&&ge.axis||$e&&(be?$e.xAxis:$e.yAxis)||{pos:Me,len:1/0},He=ge.paneCoordinates?Rt.pos+ot:Me+ot;He>=Math.max(Ge+Me,Rt.pos)&&He<=Math.min(Ge+Me+Xe.height,Rt.pos+Rt.len)||(st.isInsidePlot=!1)}return $(this,"afterIsInsidePlot",st),st.isInsidePlot}redraw(ve){$(this,"beforeRedraw");let ye=this.hasCartesianSeries?this.axes:this.colorAxis||[],ge=this.series,be=this.pointer,ke=this.legend,Ce=this.userOptions.legend,Me=this.renderer,Oe=Me.isHidden(),Ne=[],Ge,$e,Xe,Je=this.isDirtyBox,ot=this.isDirtyLegend,st;for(Me.rootFontSize=Me.boxWrapper.getStyle("font-size"),this.setResponsive&&this.setResponsive(!1),X(!!this.hasRendered&&ve,this),Oe&&this.temporaryDisplay(),this.layOutTitles(!1),Xe=ge.length;Xe--;)if(((st=ge[Xe]).options.stacking||st.options.centerInCategory)&&($e=!0,st.isDirty)){Ge=!0;break}if(Ge)for(Xe=ge.length;Xe--;)(st=ge[Xe]).options.stacking&&(st.isDirty=!0);ge.forEach(function(it){it.isDirty&&(it.options.legendType==="point"?(typeof it.updateTotals=="function"&&it.updateTotals(),ot=!0):Ce&&(Ce.labelFormatter||Ce.labelFormat)&&(ot=!0)),it.isDirtyData&&$(it,"updatedData")}),ot&&ke&&ke.options.enabled&&(ke.render(),this.isDirtyLegend=!1),$e&&this.getStacks(),ye.forEach(function(it){it.updateNames(),it.setScale()}),this.getMargins(),ye.forEach(function(it){it.isDirty&&(Je=!0)}),ye.forEach(function(it){let Rt=it.min+","+it.max;it.extKey!==Rt&&(it.extKey=Rt,Ne.push(function(){$(it,"afterSetExtremes",C(it.eventArgs,it.getExtremes())),delete it.eventArgs})),(Je||$e)&&it.redraw()}),Je&&this.drawChartBox(),$(this,"predraw"),ge.forEach(function(it){(Je||it.isDirty)&&it.visible&&it.redraw(),it.isDirtyData=!1}),be&&be.reset(!0),Me.draw(),$(this,"redraw"),$(this,"render"),Oe&&this.temporaryDisplay(!0),Ne.forEach(function(it){it.call()})}get(ve){let ye=this.series;function ge(ke){return ke.id===ve||ke.options&&ke.options.id===ve}let be=w(this.axes,ge)||w(this.series,ge);for(let ke=0;!be&&ke<ye.length;ke++)be=w(ye[ke].points||[],ge);return be}getAxes(){let ve=this.userOptions;for(let ye of($(this,"getAxes"),["xAxis","yAxis"]))for(let ge of ve[ye]=_e(ve[ye]||{}))new f(this,ge,ye);$(this,"afterGetAxes")}getSelectedPoints(){return this.series.reduce((ve,ye)=>(ye.getPointsCollection().forEach(ge=>{ie(ge.selectedStaging,ge.selected)&&ve.push(ge)}),ve),[])}getSelectedSeries(){return this.series.filter(function(ve){return ve.selected})}setTitle(ve,ye,ge){this.applyDescription("title",ve),this.applyDescription("subtitle",ye),this.applyDescription("caption",void 0),this.layOutTitles(ge)}applyDescription(ve,ye){let ge=this,be=this.options[ve]=R(this.options[ve],ye),ke=this[ve];ke&&ye&&(this[ve]=ke=ke.destroy()),be&&!ke&&((ke=this.renderer.text(be.text,0,0,be.useHTML).attr({align:be.align,class:"highcharts-"+ve,zIndex:be.zIndex||4}).add()).update=function(Ce,Me){ge.applyDescription(ve,Ce),ge.layOutTitles(Me)},this.styledMode||ke.css(C(ve==="title"?{fontSize:this.options.isStock?"1em":"1.2em"}:{},be.style)),this[ve]=ke)}layOutTitles(ve=!0){let ye=[0,0,0],ge=this.renderer,be=this.spacingBox;["title","subtitle","caption"].forEach(function(Ce){let Me=this[Ce],Oe=this.options[Ce],Ne=Oe.verticalAlign||"top",Ge=Ce==="title"?Ne==="top"?-3:0:Ne==="top"?ye[0]+2:0;if(Me){Me.css({width:(Oe.width||be.width+(Oe.widthAdjust||0))+"px"});let $e=ge.fontMetrics(Me).b,Xe=Math.round(Me.getBBox(Oe.useHTML).height);Me.align(C({y:Ne==="bottom"?$e:Ge+$e,height:Xe},Oe),!1,"spacingBox"),Oe.floating||(Ne==="top"?ye[0]=Math.ceil(ye[0]+Xe):Ne==="bottom"&&(ye[2]=Math.ceil(ye[2]+Xe)))}},this),ye[0]&&(this.options.title.verticalAlign||"top")==="top"&&(ye[0]+=this.options.title.margin),ye[2]&&this.options.caption.verticalAlign==="bottom"&&(ye[2]+=this.options.caption.margin);let ke=!this.titleOffset||this.titleOffset.join(",")!==ye.join(",");this.titleOffset=ye,$(this,"afterLayOutTitles"),!this.isDirtyBox&&ke&&(this.isDirtyBox=this.isDirtyLegend=ke,this.hasRendered&&ve&&this.isDirtyBox&&this.redraw())}getContainerBox(){let ve=[].map.call(this.renderTo.children,ge=>{if(ge!==this.container){let be=ge.style.display;return ge.style.display="none",[ge,be]}}),ye={width:le(this.renderTo,"width",!0)||0,height:le(this.renderTo,"height",!0)||0};return ve.filter(Boolean).forEach(([ge,be])=>{ge.style.display=be}),ye}getChartSize(){var Ce;let ve=this.options.chart,ye=ve.width,ge=ve.height,be=this.getContainerBox(),ke=be.height>1&&!(!((Ce=this.renderTo.parentElement)!=null&&Ce.style.height)&&this.renderTo.style.height==="100%");this.chartWidth=Math.max(0,ye||be.width||600),this.chartHeight=Math.max(0,de(ge,this.chartWidth)||(ke?be.height:400)),this.containerBox=be}temporaryDisplay(ve){let ye=this.renderTo,ge;if(ve)for(;ye&&ye.style;)ye.hcOrigStyle&&(N(ye,ye.hcOrigStyle),delete ye.hcOrigStyle),ye.hcOrigDetached&&(ee.body.removeChild(ye),ye.hcOrigDetached=!1),ye=ye.parentNode;else for(;ye&&ye.style&&(ee.body.contains(ye)||ye.parentNode||(ye.hcOrigDetached=!0,ee.body.appendChild(ye)),(le(ye,"display",!1)==="none"||ye.hcOricDetached)&&(ye.hcOrigStyle={display:ye.style.display,height:ye.style.height,overflow:ye.style.overflow},ge={display:"block",overflow:"hidden"},ye!==this.renderTo&&(ge.height=0),N(ye,ge),ye.offsetWidth||ye.style.setProperty("display","block","important")),(ye=ye.parentNode)!==ee.body););}setClassName(ve){this.container.className="highcharts-container "+(ve||"")}getContainer(){var Xe;let ve=this.options,ye=ve.chart,ge="data-highcharts-chart",be=Ae(),ke,Ce=this.renderTo;Ce||(this.renderTo=Ce=ye.renderTo),fe(Ce)&&(this.renderTo=Ce=ee.getElementById(Ce)),Ce||g(13,!0,this);let Me=ue(A(Ce,ge));z(Me)&&ae[Me]&&ae[Me].hasRendered&&ae[Me].destroy(),A(Ce,ge,this.index),Ce.innerHTML=se.emptyHTML,ye.skipClone||Ce.offsetWidth||this.temporaryDisplay(),this.getChartSize();let Oe=this.chartHeight,Ne=this.chartWidth;N(Ce,{overflow:"hidden"}),this.styledMode||(ke=C({position:"relative",overflow:"hidden",width:Ne+"px",height:Oe+"px",textAlign:"left",lineHeight:"normal",zIndex:0,"-webkit-tap-highlight-color":"rgba(0,0,0,0)",userSelect:"none","touch-action":"manipulation",outline:"none",padding:"0px"},ye.style||{}));let Ge=S("div",{id:be},ke,Ce);this.container=Ge,this.getChartSize(),Ne===this.chartWidth||(Ne=this.chartWidth,this.styledMode||N(Ge,{width:ie((Xe=ye.style)==null?void 0:Xe.width,Ne+"px")})),this.containerBox=this.getContainerBox(),this._cursor=Ge.style.cursor;let $e=ye.renderer||!Z?D.getRendererType(ye.renderer):Q;if(this.renderer=new $e(Ge,Ne,Oe,void 0,ye.forExport,ve.exporting&&ve.exporting.allowHTML,this.styledMode),X(void 0,this),this.setClassName(ye.className),this.styledMode)for(let Je in ve.defs)this.renderer.definition(ve.defs[Je]);else this.renderer.setStyle(ye.style);this.renderer.chartIndex=this.index,$(this,"afterGetContainer")}getMargins(ve){let{spacing:ye,margin:ge,titleOffset:be}=this;this.resetMargins(),be[0]&&!F(ge[0])&&(this.plotTop=Math.max(this.plotTop,be[0]+ye[0])),be[2]&&!F(ge[2])&&(this.marginBottom=Math.max(this.marginBottom,be[2]+ye[2])),this.legend&&this.legend.display&&this.legend.adjustMargins(ge,ye),$(this,"getMargins"),ve||this.getAxisMargins()}getAxisMargins(){let ve=this,ye=ve.axisOffset=[0,0,0,0],ge=ve.colorAxis,be=ve.margin,ke=function(Ce){Ce.forEach(function(Me){Me.visible&&Me.getOffset()})};ve.hasCartesianSeries?ke(ve.axes):ge&&ge.length&&ke(ge),L.forEach(function(Ce,Me){F(be[Me])||(ve[Ce]+=ye[Me])}),ve.setChartSize()}getOptions(){return O(this.userOptions,J)}reflow(ve){var ke;let ye=this,ge=ye.containerBox,be=ye.getContainerBox();(ke=ye.pointer)==null||delete ke.chartPosition,!ye.isPrinting&&!ye.isResizing&&ge&&be.width&&((be.width!==ge.width||be.height!==ge.height)&&(Y.clearTimeout(ye.reflowTimeout),ye.reflowTimeout=we(function(){ye.container&&ye.setSize(void 0,void 0,!1)},ve?100:0)),ye.containerBox=be)}setReflow(){let ve=this,ye=ge=>{var be;(be=ve.options)!=null&&be.chart.reflow&&ve.hasLoaded&&ve.reflow(ge)};if(typeof ResizeObserver=="function")new ResizeObserver(ye).observe(ve.renderTo);else{let ge=_(G,"resize",ye);_(this,"destroy",ge)}}setSize(ve,ye,ge){let be=this,ke=be.renderer;be.isResizing+=1,X(ge,be);let Ce=ke.globalAnimation;be.oldChartHeight=be.chartHeight,be.oldChartWidth=be.chartWidth,ve!==void 0&&(be.options.chart.width=ve),ye!==void 0&&(be.options.chart.height=ye),be.getChartSize();let{chartWidth:Me,chartHeight:Oe,scrollablePixelsX:Ne=0,scrollablePixelsY:Ge=0}=be;(be.isDirtyBox||Me!==be.oldChartWidth||Oe!==be.oldChartHeight)&&(be.styledMode||(Ce?U:N)(be.container,{width:`${Me+Ne}px`,height:`${Oe+Ge}px`},Ce),be.setChartSize(!0),ke.setSize(Me,Oe,Ce),be.axes.forEach(function($e){$e.isDirty=!0,$e.setScale()}),be.isDirtyLegend=!0,be.isDirtyBox=!0,be.layOutTitles(),be.getMargins(),be.redraw(Ce),be.oldChartHeight=void 0,$(be,"resize"),setTimeout(()=>{be&&$(be,"endResize")},q(Ce).duration)),be.isResizing-=1}setChartSize(ve){let ye,ge,be,ke,{chartHeight:Ce,chartWidth:Me,inverted:Oe,spacing:Ne,renderer:Ge}=this,$e=this.clipOffset,Xe=Math[Oe?"floor":"round"];this.plotLeft=ye=Math.round(this.plotLeft),this.plotTop=ge=Math.round(this.plotTop),this.plotWidth=be=Math.max(0,Math.round(Me-ye-this.marginRight)),this.plotHeight=ke=Math.max(0,Math.round(Ce-ge-this.marginBottom)),this.plotSizeX=Oe?ke:be,this.plotSizeY=Oe?be:ke,this.spacingBox=Ge.spacingBox={x:Ne[3],y:Ne[0],width:Me-Ne[3]-Ne[1],height:Ce-Ne[0]-Ne[2]},this.plotBox=Ge.plotBox={x:ye,y:ge,width:be,height:ke},$e&&(this.clipBox={x:Xe($e[3]),y:Xe($e[0]),width:Xe(this.plotSizeX-$e[1]-$e[3]),height:Xe(this.plotSizeY-$e[0]-$e[2])}),ve||(this.axes.forEach(function(Je){Je.setAxisSize(),Je.setAxisTranslation()}),Ge.alignElements()),$(this,"afterSetChartSize",{skipAxes:ve})}resetMargins(){$(this,"resetMargins");let ve=this,ye=ve.options.chart,ge=ye.plotBorderWidth||0,be=ge/2;["margin","spacing"].forEach(function(ke){let Ce=ye[ke],Me=te(Ce)?Ce:[Ce,Ce,Ce,Ce];["Top","Right","Bottom","Left"].forEach(function(Oe,Ne){ve[ke][Ne]=ie(ye[ke+Oe],Me[Ne])})}),L.forEach(function(ke,Ce){ve[ke]=ie(ve.margin[Ce],ve.spacing[Ce])}),ve.axisOffset=[0,0,0,0],ve.clipOffset=[be,be,be,be],ve.plotBorderWidth=ge}drawChartBox(){let ve=this.options.chart,ye=this.renderer,ge=this.chartWidth,be=this.chartHeight,ke=this.styledMode,Ce=this.plotBGImage,Me=ve.backgroundColor,Oe=ve.plotBackgroundColor,Ne=ve.plotBackgroundImage,Ge=this.plotLeft,$e=this.plotTop,Xe=this.plotWidth,Je=this.plotHeight,ot=this.plotBox,st=this.clipRect,it=this.clipBox,Rt=this.chartBackground,He=this.plotBackground,lt=this.plotBorder,St,qe,ht,xt="animate";Rt||(this.chartBackground=Rt=ye.rect().addClass("highcharts-background").add(),xt="attr"),ke?St=qe=Rt.strokeWidth():(qe=(St=ve.borderWidth||0)+(ve.shadow?8:0),ht={fill:Me||"none"},(St||Rt["stroke-width"])&&(ht.stroke=ve.borderColor,ht["stroke-width"]=St),Rt.attr(ht).shadow(ve.shadow)),Rt[xt]({x:qe/2,y:qe/2,width:ge-qe-St%2,height:be-qe-St%2,r:ve.borderRadius}),xt="animate",He||(xt="attr",this.plotBackground=He=ye.rect().addClass("highcharts-plot-background").add()),He[xt](ot),!ke&&(He.attr({fill:Oe||"none"}).shadow(ve.plotShadow),Ne&&(Ce?(Ne!==Ce.attr("href")&&Ce.attr("href",Ne),Ce.animate(ot)):this.plotBGImage=ye.image(Ne,Ge,$e,Xe,Je).add())),st?st.animate({width:it.width,height:it.height}):this.clipRect=ye.clipRect(it),xt="animate",lt||(xt="attr",this.plotBorder=lt=ye.rect().addClass("highcharts-plot-border").attr({zIndex:1}).add()),ke||lt.attr({stroke:ve.plotBorderColor,"stroke-width":ve.plotBorderWidth||0,fill:"none"}),lt[xt](lt.crisp({x:Ge,y:$e,width:Xe,height:Je},-lt.strokeWidth())),this.isDirtyBox=!1,$(this,"afterDrawChartBox")}propFromSeries(){let ve,ye,ge,be=this,ke=be.options.chart,Ce=be.options.series;["inverted","angular","polar"].forEach(function(Me){for(ye=T[ke.type],ge=ke[Me]||ye&&ye.prototype[Me],ve=Ce&&Ce.length;!ge&&ve--;)(ye=T[Ce[ve].type])&&ye.prototype[Me]&&(ge=!0);be[Me]=ge})}linkSeries(ve){let ye=this,ge=ye.series;ge.forEach(function(be){be.linkedSeries.length=0}),ge.forEach(function(be){let{linkedTo:ke}=be.options;if(fe(ke)){let Ce;(Ce=ke===":previous"?ye.series[be.index-1]:ye.get(ke))&&Ce.linkedParent!==be&&(Ce.linkedSeries.push(be),be.linkedParent=Ce,Ce.enabledDataSorting&&be.setDataSortingOptions(),be.visible=ie(be.options.visible,Ce.options.visible,be.visible))}}),$(this,"afterLinkSeries",{isUpdating:ve})}renderSeries(){this.series.forEach(function(ve){ve.translate(),ve.render()})}render(){var Ge;let ve=this.axes,ye=this.colorAxis,ge=this.renderer,be=this.options.chart.axisLayoutRuns||2,ke=$e=>{$e.forEach(Xe=>{Xe.visible&&Xe.render()})},Ce=0,Me=!0,Oe,Ne=0;for(let $e of(this.setTitle(),$(this,"beforeMargins"),(Ge=this.getStacks)==null||Ge.call(this),this.getMargins(!0),this.setChartSize(),ve)){let{options:Xe}=$e,{labels:Je}=Xe;if(this.hasCartesianSeries&&$e.horiz&&$e.visible&&Je.enabled&&$e.series.length&&$e.coll!=="colorAxis"&&!this.polar){Ce=Xe.tickLength,$e.createGroups();let ot=new ne($e,0,"",!0),st=ot.createLabel("x",Je);if(ot.destroy(),st&&ie(Je.reserveSpace,!z(Xe.crossing))&&(Ce=st.getBBox().height+Je.distance+Math.max(Xe.offset||0,0)),Ce){st==null||st.destroy();break}}}for(this.plotHeight=Math.max(this.plotHeight-Ce,0);(Me||Oe||be>1)&&Ne<be;){let $e=this.plotWidth,Xe=this.plotHeight;for(let Je of ve)Ne===0?Je.setScale():(Je.horiz&&Me||!Je.horiz&&Oe)&&Je.setTickInterval(!0);Ne===0?this.getAxisMargins():this.getMargins(),Me=$e/this.plotWidth>(Ne?1:1.1),Oe=Xe/this.plotHeight>(Ne?1:1.05),Ne++}this.drawChartBox(),this.hasCartesianSeries?ke(ve):ye&&ye.length&&ke(ye),this.seriesGroup||(this.seriesGroup=ge.g("series-group").attr({zIndex:3}).shadow(this.options.chart.seriesGroupShadow).add()),this.renderSeries(),this.addCredits(),this.setResponsive&&this.setResponsive(),this.hasRendered=!0}addCredits(ve){let ye=this,ge=R(!0,this.options.credits,ve);ge.enabled&&!this.credits&&(this.credits=this.renderer.text(ge.text+(this.mapCredits||""),0,0).addClass("highcharts-credits").on("click",function(){ge.href&&(G.location.href=ge.href)}).attr({align:ge.position.align,zIndex:8}),ye.styledMode||this.credits.css(ge.style),this.credits.add().align(ge.position),this.credits.update=function(be){ye.credits=ye.credits.destroy(),ye.addCredits(be)})}destroy(){let ve,ye=this,ge=ye.axes,be=ye.series,ke=ye.container,Ce=ke&&ke.parentNode;for($(ye,"destroy"),ye.renderer.forExport?pe(ae,ye):ae[ye.index]=void 0,k.chartCount--,ye.renderTo.removeAttribute("data-highcharts-chart"),me(ye),ve=ge.length;ve--;)ge[ve]=ge[ve].destroy();for(this.scroller&&this.scroller.destroy&&this.scroller.destroy(),ve=be.length;ve--;)be[ve]=be[ve].destroy();["title","subtitle","chartBackground","plotBackground","plotBGImage","plotBorder","seriesGroup","clipRect","credits","pointer","rangeSelector","legend","resetZoomButton","tooltip","renderer"].forEach(function(Me){let Oe=ye[Me];Oe&&Oe.destroy&&(ye[Me]=Oe.destroy())}),ke&&(ke.innerHTML=se.emptyHTML,me(ke),Ce&&re(ke)),V(ye,function(Me,Oe){delete ye[Oe]})}firstRender(){var be;let ve=this,ye=ve.options;ve.getContainer(),ve.resetMargins(),ve.setChartSize(),ve.propFromSeries(),ve.getAxes();let ge=j(ye.series)?ye.series:[];ye.series=[],ge.forEach(function(ke){ve.initSeries(ke)}),ve.linkSeries(),ve.setSortedData(),$(ve,"beforeRender"),ve.render(),(be=ve.pointer)==null||be.getChartPosition(),ve.renderer.imgCount||ve.hasLoaded||ve.onload(),ve.temporaryDisplay(!0)}onload(){this.callbacks.concat([this.callback]).forEach(function(ve){ve&&this.index!==void 0&&ve.apply(this,[this])},this),$(this,"load"),$(this,"render"),F(this.index)&&this.setReflow(),this.warnIfA11yModuleNotLoaded(),this.hasLoaded=!0}warnIfA11yModuleNotLoaded(){let{options:ve,title:ye}=this;!ve||this.accessibility||(this.renderer.boxWrapper.attr({role:"img","aria-label":(ye&&ye.element.textContent||"").replace(/</g,"<")}),ve.accessibility&&ve.accessibility.enabled===!1||g('Highcharts warning: Consider including the "accessibility.js" module to make your chart more usable for people with disabilities. Set the "accessibility.enabled" option to false to remove this warning. See https://www.highcharts.com/docs/accessibility/accessibility-module.',!1,this))}addSeries(ve,ye,ge){let be,ke=this;return ve&&(ye=ie(ye,!0),$(ke,"addSeries",{options:ve},function(){be=ke.initSeries(ve),ke.isDirtyLegend=!0,ke.linkSeries(),be.enabledDataSorting&&be.setData(ve.data,!1),$(ke,"afterAddSeries",{series:be}),ye&&ke.redraw(ge)})),be}addAxis(ve,ye,ge,be){return this.createAxis(ye?"xAxis":"yAxis",{axis:ve,redraw:ge,animation:be})}addColorAxis(ve,ye,ge){return this.createAxis("colorAxis",{axis:ve,redraw:ye,animation:ge})}createAxis(ve,ye){let ge=new f(this,ye.axis,ve);return ie(ye.redraw,!0)&&this.redraw(ye.animation),ge}showLoading(ve){let ye=this,ge=ye.options,be=ge.loading,ke=function(){Ce&&N(Ce,{left:ye.plotLeft+"px",top:ye.plotTop+"px",width:ye.plotWidth+"px",height:ye.plotHeight+"px"})},Ce=ye.loadingDiv,Me=ye.loadingSpan;Ce||(ye.loadingDiv=Ce=S("div",{className:"highcharts-loading highcharts-loading-hidden"},null,ye.container)),Me||(ye.loadingSpan=Me=S("span",{className:"highcharts-loading-inner"},null,Ce),_(ye,"redraw",ke)),Ce.className="highcharts-loading",se.setElementHTML(Me,ie(ve,ge.lang.loading,"")),ye.styledMode||(N(Ce,C(be.style,{zIndex:10})),N(Me,be.labelStyle),ye.loadingShown||(N(Ce,{opacity:0,display:""}),U(Ce,{opacity:be.style.opacity||.5},{duration:be.showDuration||0}))),ye.loadingShown=!0,ke()}hideLoading(){let ve=this.options,ye=this.loadingDiv;ye&&(ye.className="highcharts-loading highcharts-loading-hidden",this.styledMode||U(ye,{opacity:0},{duration:ve.loading.hideDuration||100,complete:function(){N(ye,{display:"none"})}})),this.loadingShown=!1}update(ve,ye,ge,be){let ke,Ce,Me,Oe=this,Ne={credits:"addCredits",title:"setTitle",subtitle:"setSubtitle",caption:"setCaption"},Ge=ve.isResponsiveOptions,$e=[];$(Oe,"update",{options:ve}),Ge||Oe.setResponsive(!1,!0),ve=O(ve,Oe.options),Oe.userOptions=R(Oe.userOptions,ve);let Xe=ve.chart;Xe&&(R(!0,Oe.options.chart,Xe),this.setZoomOptions(),"className"in Xe&&Oe.setClassName(Xe.className),("inverted"in Xe||"polar"in Xe||"type"in Xe)&&(Oe.propFromSeries(),ke=!0),"alignTicks"in Xe&&(ke=!0),"events"in Xe&&ce(this,Xe),V(Xe,function(st,it){Oe.propsRequireUpdateSeries.indexOf("chart."+it)!==-1&&(Ce=!0),Oe.propsRequireDirtyBox.indexOf(it)!==-1&&(Oe.isDirtyBox=!0),Oe.propsRequireReflow.indexOf(it)===-1||(Oe.isDirtyBox=!0,Ge||(Me=!0))}),!Oe.styledMode&&Xe.style&&Oe.renderer.setStyle(Oe.options.chart.style||{})),!Oe.styledMode&&ve.colors&&(this.options.colors=ve.colors),ve.time&&(this.time===H&&(this.time=new E(ve.time)),R(!0,Oe.options.time,ve.time)),V(ve,function(st,it){Oe[it]&&typeof Oe[it].update=="function"?Oe[it].update(st,!1):typeof Oe[Ne[it]]=="function"?Oe[Ne[it]](st):it!=="colors"&&Oe.collectionsWithUpdate.indexOf(it)===-1&&R(!0,Oe.options[it],ve[it]),it!=="chart"&&Oe.propsRequireUpdateSeries.indexOf(it)!==-1&&(Ce=!0)}),this.collectionsWithUpdate.forEach(function(st){ve[st]&&(_e(ve[st]).forEach(function(it,Rt){let He,lt=F(it.id);lt&&(He=Oe.get(it.id)),!He&&Oe[st]&&(He=Oe[st][ie(it.index,Rt)])&&(lt&&F(He.options.id)||He.options.isInternal)&&(He=void 0),He&&He.coll===st&&(He.update(it,!1),ge&&(He.touched=!0)),!He&&ge&&Oe.collectionsWithInit[st]&&(Oe.collectionsWithInit[st][0].apply(Oe,[it].concat(Oe.collectionsWithInit[st][1]||[]).concat([!1])).touched=!0)}),ge&&Oe[st].forEach(function(it){it.touched||it.options.isInternal?delete it.touched:$e.push(it)}))}),$e.forEach(function(st){st.chart&&st.remove&&st.remove(!1)}),ke&&Oe.axes.forEach(function(st){st.update({},!1)}),Ce&&Oe.getSeriesOrderByLinks().forEach(function(st){st.chart&&st.update({},!1)},this);let Je=Xe&&Xe.width,ot=Xe&&(fe(Xe.height)?de(Xe.height,Je||Oe.chartWidth):Xe.height);Me||z(Je)&&Je!==Oe.chartWidth||z(ot)&&ot!==Oe.chartHeight?Oe.setSize(Je,ot,be):ie(ye,!0)&&Oe.redraw(be),$(Oe,"afterUpdate",{options:ve,redraw:ye,animation:be})}setSubtitle(ve,ye){this.applyDescription("subtitle",ve),this.layOutTitles(ye)}setCaption(ve,ye){this.applyDescription("caption",ve),this.layOutTitles(ye)}showResetZoom(){let ve=this,ye=J.lang,ge=ve.zooming.resetButton,be=ge.theme,ke=ge.relativeTo==="chart"||ge.relativeTo==="spacingBox"?null:"plotBox";function Ce(){ve.zoomOut()}$(this,"beforeShowResetZoom",null,function(){ve.resetZoomButton=ve.renderer.button(ye.resetZoom,null,null,Ce,be).attr({align:ge.position.align,title:ye.resetZoomTitle}).addClass("highcharts-reset-zoom").add().align(ge.position,!1,ke)}),$(this,"afterShowResetZoom")}zoomOut(){$(this,"selection",{resetSelection:!0},()=>this.transform({reset:!0,trigger:"zoom"}))}pan(ve,ye){let ge=this,be=typeof ye=="object"?ye:{enabled:ye,type:"x"},ke=be.type,Ce=ke&&ge[{x:"xAxis",xy:"axes",y:"yAxis"}[ke]].filter(Oe=>Oe.options.panningEnabled&&!Oe.options.isInternal),Me=ge.options.chart;Me!=null&&Me.panning&&(Me.panning=be),$(this,"pan",{originalEvent:ve},()=>{ge.transform({axes:Ce,event:ve,to:{x:ve.chartX-(ge.mouseDownX||0),y:ve.chartY-(ge.mouseDownY||0)},trigger:"pan"}),N(ge.container,{cursor:"move"})})}transform(ve){var Je;let{axes:ye=this.axes,event:ge,from:be={},reset:ke,selection:Ce,to:Me={},trigger:Oe}=ve,{inverted:Ne}=this,Ge=!1,$e,Xe;for(let ot of((Je=this.hoverPoints)==null||Je.forEach(st=>st.setState()),ye)){let{horiz:st,len:it,minPointOffset:Rt=0,options:He,reversed:lt}=ot,St=st?"width":"height",qe=st?"x":"y",ht=ie(Me[St],ot.len),xt=ie(be[St],ot.len),zt=10>Math.abs(ht)?1:ht/xt,jt=(be[qe]||0)+xt/2-ot.pos,yt=jt-((Me[qe]??ot.pos)+ht/2-ot.pos)/zt,vt=lt&&!Ne||!lt&&Ne?-1:1;if(!ke&&(jt<0||jt>ot.len))continue;let ft=ot.toValue(yt,!0)+(Ce||ot.isOrdinal?0:Rt*vt),mt=ot.toValue(yt+it/zt,!0)-(Ce||ot.isOrdinal?0:Rt*vt||0),wt=ot.allExtremes;if(ft>mt&&([ft,mt]=[mt,ft]),zt===1&&!ke&&ot.coll==="yAxis"&&!wt){for(let Zt of ot.series){let Jt=Zt.getExtremes(Zt.getProcessedData(!0).yData,!0);wt??(wt={dataMin:Number.MAX_VALUE,dataMax:-Number.MAX_VALUE}),z(Jt.dataMin)&&z(Jt.dataMax)&&(wt.dataMin=Math.min(Jt.dataMin,wt.dataMin),wt.dataMax=Math.max(Jt.dataMax,wt.dataMax))}ot.allExtremes=wt}let{dataMin:Gt,dataMax:Tt,min:Mt,max:Vt}=C(ot.getExtremes(),wt||{}),Ft=Gt??He.min,_t=Tt??He.max,Cn=mt-ft,Bt=ot.categories?0:Math.min(Cn,_t-Ft),Lt=Ft-Bt*(F(He.min)?0:He.minPadding),At=_t+Bt*(F(He.max)?0:He.maxPadding),pt=ot.allowZoomOutside||zt===1||Oe!=="zoom"&&zt>1,ut=Math.min(He.min??Lt,Lt,pt?Mt:Lt),qt=Math.max(He.max??At,At,pt?Vt:At);(!ot.isOrdinal||ot.options.overscroll||zt!==1||ke)&&(ft<ut&&(ft=ut,zt>=1&&(mt=ft+Cn)),mt>qt&&(mt=qt,zt>=1&&(ft=mt-Cn)),(ke||ot.series.length&&(ft!==Mt||mt!==Vt)&&ft>=ut&&mt<=qt)&&(Ce?Ce[ot.coll].push({axis:ot,min:ft,max:mt}):(ot.isPanning=Oe!=="zoom",ot.isPanning&&(Xe=!0),ot.setExtremes(ke?void 0:ft,ke?void 0:mt,!1,!1,{move:yt,trigger:Oe,scale:zt}),!ke&&(ft>ut||mt<qt)&&Oe!=="mousewheel"&&($e=!0)),Ge=!0),ge&&(this[st?"mouseDownX":"mouseDownY"]=ge[st?"chartX":"chartY"]))}return Ge&&(Ce?$(this,"selection",Ce,()=>{delete ve.selection,ve.trigger="zoom",this.transform(ve)}):(!$e||Xe||this.resetZoomButton?!$e&&this.resetZoomButton&&(this.resetZoomButton=this.resetZoomButton.destroy()):this.showResetZoom(),this.redraw(Oe==="zoom"&&(this.options.chart.animation??this.pointCount<100)))),Ge}}return C(Re.prototype,{callbacks:[],collectionsWithInit:{xAxis:[Re.prototype.addAxis,[!0]],yAxis:[Re.prototype.addAxis,[!1]],series:[Re.prototype.addSeries]},collectionsWithUpdate:["xAxis","yAxis","series"],propsRequireDirtyBox:["backgroundColor","borderColor","borderWidth","borderRadius","plotBackgroundColor","plotBackgroundImage","plotBorderColor","plotBorderWidth","plotShadow","shadow"],propsRequireReflow:["margin","marginTop","marginRight","marginBottom","marginLeft","spacing","spacingTop","spacingRight","spacingBottom","spacingLeft"],propsRequireUpdateSeries:["chart.inverted","chart.polar","chart.ignoreHiddenSeries","chart.type","colors","plotOptions","time","tooltip"]}),Re}),c(o,"Extensions/ScrollablePlotArea.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Globals.js"],o["Core/Renderer/RendererRegistry.js"],o["Core/Utilities.js"]],function(d,f,y,v){let{stop:x}=d,{composed:k}=f,{addEvent:D,createElement:B,css:W,defined:Q,merge:E,pushUnique:Y}=v;function se(){let q=this.scrollablePlotArea;(this.scrollablePixelsX||this.scrollablePixelsY)&&!q&&(this.scrollablePlotArea=q=new U(this)),q==null||q.applyFixed()}function ne(){this.chart.scrollablePlotArea&&(this.chart.scrollablePlotArea.isDirty=!0)}class U{static compose(X,J,H){Y(k,this.compose)&&(D(X,"afterInit",ne),D(J,"afterSetChartSize",P=>this.afterSetSize(P.target,P)),D(J,"render",se),D(H,"show",ne))}static afterSetSize(X,J){let H,P,ce,{minWidth:ae,minHeight:ee}=X.options.chart.scrollablePlotArea||{},{clipBox:L,plotBox:Z,inverted:G,renderer:T}=X;if(!T.forExport&&(ae?(X.scrollablePixelsX=H=Math.max(0,ae-X.chartWidth),H&&(X.scrollablePlotBox=E(X.plotBox),Z.width=X.plotWidth+=H,L[G?"height":"width"]+=H,ce=!0)):ee&&(X.scrollablePixelsY=P=Math.max(0,ee-X.chartHeight),Q(P)&&(X.scrollablePlotBox=E(X.plotBox),Z.height=X.plotHeight+=P,L[G?"width":"height"]+=P,ce=!1)),Q(ce)&&!J.skipAxes))for(let _ of X.axes)_.horiz===ce&&(_.setAxisSize(),_.setAxisTranslation())}constructor(X){var A;let J,H=X.options.chart,P=y.getRendererType(),ce=H.scrollablePlotArea||{},ae=this.moveFixedElements.bind(this),ee={WebkitOverflowScrolling:"touch",overflowX:"hidden",overflowY:"hidden"};X.scrollablePixelsX&&(ee.overflowX="auto"),X.scrollablePixelsY&&(ee.overflowY="auto"),this.chart=X;let L=this.parentDiv=B("div",{className:"highcharts-scrolling-parent"},{position:"relative"},X.renderTo),Z=this.scrollingContainer=B("div",{className:"highcharts-scrolling"},ee,L),G=this.innerContainer=B("div",{className:"highcharts-inner-container"},void 0,Z),T=this.fixedDiv=B("div",{className:"highcharts-fixed"},{position:"absolute",overflow:"hidden",pointerEvents:"none",zIndex:(((A=H.style)==null?void 0:A.zIndex)||0)+2,top:0},void 0,!0),_=this.fixedRenderer=new P(T,X.chartWidth,X.chartHeight,H.style);this.mask=_.path().attr({fill:H.backgroundColor||"#fff","fill-opacity":ce.opacity??.85,zIndex:-1}).addClass("highcharts-scrollable-mask").add(),Z.parentNode.insertBefore(T,Z),W(X.renderTo,{overflow:"visible"}),D(X,"afterShowResetZoom",ae),D(X,"afterApplyDrilldown",ae),D(X,"afterLayOutTitles",ae),D(Z,"scroll",()=>{let{pointer:S,hoverPoint:N}=X;S&&(delete S.chartPosition,N&&(J=N),S.runPointActions(void 0,J,!0))}),G.appendChild(X.container)}applyFixed(){var z;let{chart:X,fixedRenderer:J,isDirty:H,scrollingContainer:P}=this,{axisOffset:ce,chartWidth:ae,chartHeight:ee,container:L,plotHeight:Z,plotLeft:G,plotTop:T,plotWidth:_,scrollablePixelsX:A=0,scrollablePixelsY:S=0}=X,{scrollPositionX:N=0,scrollPositionY:F=0}=X.options.chart.scrollablePlotArea||{},O=ae+A,re=ee+S;J.setSize(ae,ee),(H??!0)&&(this.isDirty=!1,this.moveFixedElements()),x(X.container),W(L,{width:`${O}px`,height:`${re}px`}),X.renderer.boxWrapper.attr({width:O,height:re,viewBox:[0,0,O,re].join(" ")}),(z=X.chartBackground)==null||z.attr({width:O,height:re}),W(P,{width:`${ae}px`,height:`${ee}px`}),Q(H)||(P.scrollLeft=A*N,P.scrollTop=S*F);let pe=T-ce[0]-1,g=G-ce[3]-1,C=T+Z+ce[2]+1,w=G+_+ce[1]+1,$=G+_-A,le=T+Z-S,j=[["M",0,0]];A?j=[["M",0,pe],["L",G-1,pe],["L",G-1,C],["L",0,C],["Z"],["M",$,pe],["L",ae,pe],["L",ae,C],["L",$,C],["Z"]]:S&&(j=[["M",g,0],["L",g,T-1],["L",w,T-1],["L",w,0],["Z"],["M",g,le],["L",g,ee],["L",w,ee],["L",w,le],["Z"]]),X.redrawTrigger!=="adjustHeight"&&this.mask.attr({d:j})}moveFixedElements(){let X,{container:J,inverted:H,scrollablePixelsX:P,scrollablePixelsY:ce}=this.chart,ae=this.fixedRenderer,ee=U.fixedSelectors;for(let L of(P&&!H?X=".highcharts-yaxis":P&&H||ce&&!H?X=".highcharts-xaxis":ce&&H&&(X=".highcharts-yaxis"),X&&ee.push(`${X}:not(.highcharts-radial-axis)`,`${X}-labels:not(.highcharts-radial-axis-labels)`),ee))[].forEach.call(J.querySelectorAll(L),Z=>{(Z.namespaceURI===ae.SVG_NS?ae.box:ae.box.parentNode).appendChild(Z),Z.style.pointerEvents="auto"})}}return U.fixedSelectors=[".highcharts-breadcrumbs-group",".highcharts-contextbutton",".highcharts-caption",".highcharts-credits",".highcharts-drillup-button",".highcharts-legend",".highcharts-legend-checkbox",".highcharts-navigator-series",".highcharts-navigator-xaxis",".highcharts-navigator-yaxis",".highcharts-navigator",".highcharts-range-selector-group",".highcharts-reset-zoom",".highcharts-scrollbar",".highcharts-subtitle",".highcharts-title"],U}),c(o,"Core/Axis/Stacking/StackItem.js",[o["Core/Templating.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y){let{format:v}=d,{series:x}=f,{destroyObjectProperties:k,fireEvent:D,isNumber:B,pick:W}=y;return class{constructor(Q,E,Y,se,ne){let U=Q.chart.inverted,q=Q.reversed;this.axis=Q;let X=this.isNegative=!!Y!=!!q;this.options=E=E||{},this.x=se,this.total=null,this.cumulative=null,this.points={},this.hasValidPoints=!1,this.stack=ne,this.leftCliff=0,this.rightCliff=0,this.alignOptions={align:E.align||(U?X?"left":"right":"center"),verticalAlign:E.verticalAlign||(U?"middle":X?"bottom":"top"),y:E.y,x:E.x},this.textAlign=E.textAlign||(U?X?"right":"left":"center")}destroy(){k(this,this.axis)}render(Q){let E=this.axis.chart,Y=this.options,se=Y.format,ne=se?v(se,this,E):Y.formatter.call(this);if(this.label)this.label.attr({text:ne,visibility:"hidden"});else{this.label=E.renderer.label(ne,null,void 0,Y.shape,void 0,void 0,Y.useHTML,!1,"stack-labels");let U={r:Y.borderRadius||0,text:ne,padding:W(Y.padding,5),visibility:"hidden"};E.styledMode||(U.fill=Y.backgroundColor,U.stroke=Y.borderColor,U["stroke-width"]=Y.borderWidth,this.label.css(Y.style||{})),this.label.attr(U),this.label.added||this.label.add(Q)}this.label.labelrank=E.plotSizeY,D(this,"afterRender")}setOffset(Q,E,Y,se,ne,U){let{alignOptions:q,axis:X,label:J,options:H,textAlign:P}=this,ce=X.chart,ae=this.getStackBox({xOffset:Q,width:E,boxBottom:Y,boxTop:se,defaultX:ne,xAxis:U}),{verticalAlign:ee}=q;if(J&&ae){let L=J.getBBox(void 0,0),Z=J.padding,G=W(H.overflow,"justify")==="justify",T;q.x=H.x||0,q.y=H.y||0;let{x:_,y:A}=this.adjustStackPosition({labelBox:L,verticalAlign:ee,textAlign:P});ae.x-=_,ae.y-=A,J.align(q,!1,ae),(T=ce.isInsidePlot(J.alignAttr.x+q.x+_,J.alignAttr.y+q.y+A))||(G=!1),G&&x.prototype.justifyDataLabel.call(X,J,q,J.alignAttr,L,ae),J.attr({x:J.alignAttr.x,y:J.alignAttr.y,rotation:H.rotation,rotationOriginX:L.width*{left:0,center:.5,right:1}[H.textAlign||"center"],rotationOriginY:L.height/2}),W(!G&&H.crop,!0)&&(T=B(J.x)&&B(J.y)&&ce.isInsidePlot(J.x-Z+(J.width||0),J.y)&&ce.isInsidePlot(J.x+Z,J.y)),J[T?"show":"hide"]()}D(this,"afterSetOffset",{xOffset:Q,width:E})}adjustStackPosition({labelBox:Q,verticalAlign:E,textAlign:Y}){let se={bottom:0,middle:1,top:2,right:1,center:0,left:-1},ne=se[E],U=se[Y];return{x:Q.width/2+Q.width/2*U,y:Q.height/2*ne}}getStackBox(Q){let E=this.axis,Y=E.chart,{boxTop:se,defaultX:ne,xOffset:U,width:q,boxBottom:X}=Q,J=E.stacking.usePercentage?100:W(se,this.total,0),H=E.toPixels(J),P=Q.xAxis||Y.xAxis[0],ce=W(ne,P.translate(this.x))+U,ae=Math.abs(H-E.toPixels(X||B(E.min)&&E.logarithmic&&E.logarithmic.lin2log(E.min)||0)),ee=Y.inverted,L=this.isNegative;return ee?{x:(L?H:H-ae)-Y.plotLeft,y:P.height-ce-q+P.top-Y.plotTop,width:ae,height:q}:{x:ce+P.transB-Y.plotLeft,y:(L?H-ae:H)-Y.plotTop,width:q,height:ae}}}}),c(o,"Core/Axis/Stacking/StackingAxis.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Axis/Axis.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Axis/Stacking/StackItem.js"],o["Core/Utilities.js"]],function(d,f,y,v,x){var k;let{getDeferredAnimation:D}=d,{series:{prototype:B}}=y,{addEvent:W,correctFloat:Q,defined:E,destroyObjectProperties:Y,fireEvent:se,isArray:ne,isNumber:U,objectEach:q,pick:X}=x;function J(){let T=this.inverted;this.axes.forEach(_=>{_.stacking&&_.stacking.stacks&&_.hasVisibleSeries&&(_.stacking.oldStacks=_.stacking.stacks)}),this.series.forEach(_=>{let A=_.xAxis&&_.xAxis.options||{};_.options.stacking&&_.reserveSpace()&&(_.stackKey=[_.type,X(_.options.stack,""),T?A.top:A.left,T?A.height:A.width].join(","))})}function H(){var _;let T=this.stacking;if(T){let A=T.stacks;q(A,(S,N)=>{Y(S),delete A[N]}),(_=T.stackTotalGroup)==null||_.destroy()}}function P(){this.stacking||(this.stacking=new G(this))}function ce(T,_,A,S){return!E(T)||T.x!==_||S&&T.stackKey!==S?T={x:_,index:0,key:S,stackKey:S}:T.index++,T.key=[A,_,T.index].join(","),T}function ae(){let T,_=this,A=_.yAxis,S=_.stackKey||"",N=A.stacking.stacks,F=_.processedXData,O=_.options.stacking,re=_[O+"Stacker"];re&&[S,"-"+S].forEach(pe=>{var le;let g=F.length,C,w,$;for(;g--;)C=F[g],T=_.getStackIndicator(T,C,_.index,pe),w=(le=N[pe])==null?void 0:le[C],($=w==null?void 0:w.points[T.key||""])&&re.call(_,$,w,g)})}function ee(T,_,A){let S=_.total?100/_.total:0;T[0]=Q(T[0]*S),T[1]=Q(T[1]*S),this.stackedYData[A]=T[1]}function L(T){(this.is("column")||this.is("columnrange"))&&(this.options.centerInCategory&&!this.options.stacking&&this.chart.series.length>1?B.setStackedPoints.call(this,T,"group"):T.stacking.resetStacks())}function Z(T,_){var Ae,Re;let A,S,N,F,O,re,pe,g,C,w=_||this.options.stacking;if(!w||!this.reserveSpace()||({group:"xAxis"}[w]||"yAxis")!==T.coll)return;let $=this.processedXData,le=this.processedYData,j=[],z=le.length,te=this.options,fe=te.threshold||0,R=te.startFromThreshold?fe:0,V=te.stack,ie=_?`${this.type},${w}`:this.stackKey||"",ue="-"+ie,de=this.negStacks,me=T.stacking,_e=me.stacks,we=me.oldStacks;for(me.stacksTouched+=1,pe=0;pe<z;pe++){g=$[pe],C=le[pe],re=(A=this.getStackIndicator(A,g,this.index)).key||"",_e[O=(S=de&&C<(R?0:fe))?ue:ie]||(_e[O]={}),_e[O][g]||((Ae=we[O])!=null&&Ae[g]?(_e[O][g]=we[O][g],_e[O][g].total=null):_e[O][g]=new v(T,T.options.stackLabels,!!S,g,V)),N=_e[O][g],C!==null?(N.points[re]=N.points[this.index]=[X(N.cumulative,R)],E(N.cumulative)||(N.base=re),N.touched=me.stacksTouched,A.index>0&&this.singleStacks===!1&&(N.points[re][0]=N.points[this.index+","+g+",0"][0])):(delete N.points[re],delete N.points[this.index]);let Le=N.total||0;w==="percent"?(F=S?ie:ue,Le=de&&((Re=_e[F])!=null&&Re[g])?(F=_e[F][g]).total=Math.max(F.total||0,Le)+Math.abs(C)||0:Q(Le+(Math.abs(C)||0))):w==="group"?(ne(C)&&(C=C[0]),C!==null&&Le++):Le=Q(Le+(C||0)),w==="group"?N.cumulative=(Le||1)-1:N.cumulative=Q(X(N.cumulative,R)+(C||0)),N.total=Le,C!==null&&(N.points[re].push(N.cumulative),j[pe]=N.cumulative,N.hasValidPoints=!0)}w==="percent"&&(me.usePercentage=!0),w!=="group"&&(this.stackedYData=j),me.oldStacks={}}class G{constructor(_){this.oldStacks={},this.stacks={},this.stacksTouched=0,this.axis=_}buildStacks(){let _,A,S=this.axis,N=S.series,F=S.coll==="xAxis",O=S.options.reversedStacks,re=N.length;for(this.resetStacks(),this.usePercentage=!1,A=re;A--;)_=N[O?A:re-A-1],F&&_.setGroupedPoints(S),_.setStackedPoints(S);if(!F)for(A=0;A<re;A++)N[A].modifyStacks();se(S,"afterBuildStacks")}cleanStacks(){this.oldStacks&&(this.stacks=this.oldStacks,q(this.stacks,_=>{q(_,A=>{A.cumulative=A.total})}))}resetStacks(){q(this.stacks,_=>{q(_,(A,S)=>{U(A.touched)&&A.touched<this.stacksTouched?(A.destroy(),delete _[S]):(A.total=null,A.cumulative=null)})})}renderStackTotals(){var re;let _=this.axis,A=_.chart,S=A.renderer,N=this.stacks,F=D(A,((re=_.options.stackLabels)==null?void 0:re.animation)||!1),O=this.stackTotalGroup=this.stackTotalGroup||S.g("stack-labels").attr({zIndex:6,opacity:0}).add();O.translate(A.plotLeft,A.plotTop),q(N,pe=>{q(pe,g=>{g.render(O)})}),O.animate({opacity:1},F)}}return(k||(k={})).compose=function(T,_,A){let S=_.prototype,N=A.prototype;S.getStacks||(W(T,"init",P),W(T,"destroy",H),S.getStacks=J,N.getStackIndicator=ce,N.modifyStacks=ae,N.percentStacker=ee,N.setGroupedPoints=L,N.setStackedPoints=Z)},k}),c(o,"Series/Line/LineSeries.js",[o["Core/Series/Series.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y){let{defined:v,merge:x,isObject:k}=y;class D extends d{drawGraph(){let W=this.options,Q=(this.gappedPath||this.getGraphPath).call(this),E=this.chart.styledMode;[this,...this.zones].forEach((Y,se)=>{let ne,U=Y.graph,q=U?"animate":"attr",X=Y.dashStyle||W.dashStyle;U?(U.endX=this.preventGraphAnimation?null:Q.xMap,U.animate({d:Q})):Q.length&&(Y.graph=U=this.chart.renderer.path(Q).addClass("highcharts-graph"+(se?` highcharts-zone-graph-${se-1} `:" ")+(se&&Y.className||"")).attr({zIndex:1}).add(this.group)),U&&!E&&(ne={stroke:!se&&W.lineColor||Y.color||this.color||"#cccccc","stroke-width":W.lineWidth||0,fill:this.fillGraph&&this.color||"none"},X?ne.dashstyle=X:W.linecap!=="square"&&(ne["stroke-linecap"]=ne["stroke-linejoin"]="round"),U[q](ne).shadow(se<2&&W.shadow&&x({filterUnits:"userSpaceOnUse"},k(W.shadow)?W.shadow:{}))),U&&(U.startX=Q.xMap,U.isArea=Q.isArea)})}getGraphPath(W,Q,E){let Y=this,se=Y.options,ne=[],U=[],q,X=se.step,J=(W=W||Y.points).reversed;return J&&W.reverse(),(X={right:1,center:2}[X]||X&&3)&&J&&(X=4-X),(W=this.getValidPoints(W,!1,!(se.connectNulls&&!Q&&!E))).forEach(function(H,P){let ce,ae=H.plotX,ee=H.plotY,L=W[P-1],Z=H.isNull||typeof ee!="number";(H.leftCliff||L&&L.rightCliff)&&!E&&(q=!0),Z&&!v(Q)&&P>0?q=!se.connectNulls:Z&&!Q?q=!0:(P===0||q?ce=[["M",H.plotX,H.plotY]]:Y.getPointSpline?ce=[Y.getPointSpline(W,H,P)]:X?(ce=X===1?[["L",L.plotX,ee]]:X===2?[["L",(L.plotX+ae)/2,L.plotY],["L",(L.plotX+ae)/2,ee]]:[["L",ae,L.plotY]]).push(["L",ae,ee]):ce=[["L",ae,ee]],U.push(H.x),X&&(U.push(H.x),X===2&&U.push(H.x)),ne.push.apply(ne,ce),q=!1)}),ne.xMap=U,Y.graphPath=ne,ne}}return D.defaultOptions=x(d.defaultOptions,{legendSymbol:"lineMarker"}),f.registerSeriesType("line",D),D}),c(o,"Series/Area/AreaSeriesDefaults.js",[],function(){return{threshold:0,legendSymbol:"areaMarker"}}),c(o,"Series/Area/AreaSeries.js",[o["Series/Area/AreaSeriesDefaults.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y){let{seriesTypes:{line:v}}=f,{extend:x,merge:k,objectEach:D,pick:B}=y;class W extends v{drawGraph(){this.areaPath=[],super.drawGraph.apply(this);let{areaPath:E,options:Y}=this;[this,...this.zones].forEach((se,ne)=>{let U={},q=se.fillColor||Y.fillColor,X=se.area,J=X?"animate":"attr";X?(X.endX=this.preventGraphAnimation?null:E.xMap,X.animate({d:E})):(U.zIndex=0,(X=se.area=this.chart.renderer.path(E).addClass("highcharts-area"+(ne?` highcharts-zone-area-${ne-1} `:" ")+(ne&&se.className||"")).add(this.group)).isArea=!0),this.chart.styledMode||(U.fill=q||se.color||this.color,U["fill-opacity"]=q?1:Y.fillOpacity??.75,X.css({pointerEvents:this.stickyTracking?"none":"auto"})),X[J](U),X.startX=E.xMap,X.shiftUnit=Y.step?2:1})}getGraphPath(E){let Y,se,ne,U=v.prototype.getGraphPath,q=this.options,X=q.stacking,J=this.yAxis,H=[],P=[],ce=this.index,ae=J.stacking.stacks[this.stackKey],ee=q.threshold,L=Math.round(J.getThreshold(q.threshold)),Z=B(q.connectNulls,X==="percent"),G=function(F,O,re){let pe=E[F],g=X&&ae[pe.x].points[ce],C=pe[re+"Null"]||0,w=pe[re+"Cliff"]||0,$,le,j=!0;w||C?($=(C?g[0]:g[1])+w,le=g[0]+w,j=!!C):!X&&E[O]&&E[O].isNull&&($=le=ee),$!==void 0&&(P.push({plotX:Y,plotY:$===null?L:J.getThreshold($),isNull:j,isCliff:!0}),H.push({plotX:Y,plotY:le===null?L:J.getThreshold(le),doCurve:!1}))};E=E||this.points,X&&(E=this.getStackPoints(E));for(let F=0,O=E.length;F<O;++F)X||(E[F].leftCliff=E[F].rightCliff=E[F].leftNull=E[F].rightNull=void 0),se=E[F].isNull,Y=B(E[F].rectPlotX,E[F].plotX),ne=X?B(E[F].yBottom,L):L,se&&!Z||(Z||G(F,F-1,"left"),se&&!X&&Z||(P.push(E[F]),H.push({x:F,plotX:Y,plotY:ne})),Z||G(F,F+1,"right"));let T=U.call(this,P,!0,!0);H.reversed=!0;let _=U.call(this,H,!0,!0),A=_[0];A&&A[0]==="M"&&(_[0]=["L",A[1],A[2]]);let S=T.concat(_);S.length&&S.push(["Z"]);let N=U.call(this,P,!1,Z);return this.chart.series.length>1&&X&&P.some(F=>F.isCliff)&&(S.hasStackedCliffs=N.hasStackedCliffs=!0),S.xMap=T.xMap,this.areaPath=S,N}getStackPoints(E){let Y=this,se=[],ne=[],U=this.xAxis,q=this.yAxis,X=q.stacking.stacks[this.stackKey],J={},H=q.series,P=H.length,ce=q.options.reversedStacks?1:-1,ae=H.indexOf(Y);if(E=E||this.points,this.options.stacking){for(let L=0;L<E.length;L++)E[L].leftNull=E[L].rightNull=void 0,J[E[L].x]=E[L];D(X,function(L,Z){L.total!==null&&ne.push(Z)}),ne.sort(function(L,Z){return L-Z});let ee=H.map(L=>L.visible);ne.forEach(function(L,Z){let G=0,T,_;if(J[L]&&!J[L].isNull)se.push(J[L]),[-1,1].forEach(function(A){let S=A===1?"rightNull":"leftNull",N=X[ne[Z+A]],F=0;if(N){let O=ae;for(;O>=0&&O<P;){let re=H[O].index;!(T=N.points[re])&&(re===Y.index?J[L][S]=!0:ee[O]&&(_=X[L].points[re])&&(F-=_[1]-_[0])),O+=ce}}J[L][A===1?"rightCliff":"leftCliff"]=F});else{let A=ae;for(;A>=0&&A<P;){let S=H[A].index;if(T=X[L].points[S]){G=T[1];break}A+=ce}G=B(G,0),G=q.translate(G,0,1,0,1),se.push({isNull:!0,plotX:U.translate(L,0,0,0,1),x:L,plotY:G,yBottom:G})}})}return se}}return W.defaultOptions=k(v.defaultOptions,d),x(W.prototype,{singleStacks:!1}),f.registerSeriesType("area",W),W}),c(o,"Series/Spline/SplineSeries.js",[o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f){let{line:y}=d.seriesTypes,{merge:v,pick:x}=f;class k extends y{getPointSpline(B,W,Q){let E,Y,se,ne,U=W.plotX||0,q=W.plotY||0,X=B[Q-1],J=B[Q+1];function H(ce){return ce&&!ce.isNull&&ce.doCurve!==!1&&!W.isCliff}if(H(X)&&H(J)){let ce=X.plotX||0,ae=X.plotY||0,ee=J.plotX||0,L=J.plotY||0,Z=0;E=(1.5*U+ce)/2.5,Y=(1.5*q+ae)/2.5,se=(1.5*U+ee)/2.5,ne=(1.5*q+L)/2.5,se!==E&&(Z=(ne-Y)*(se-U)/(se-E)+q-ne),Y+=Z,ne+=Z,Y>ae&&Y>q?(Y=Math.max(ae,q),ne=2*q-Y):Y<ae&&Y<q&&(Y=Math.min(ae,q),ne=2*q-Y),ne>L&&ne>q?(ne=Math.max(L,q),Y=2*q-ne):ne<L&&ne<q&&(ne=Math.min(L,q),Y=2*q-ne),W.rightContX=se,W.rightContY=ne,W.controlPoints={low:[E,Y],high:[se,ne]}}let P=["C",x(X.rightContX,X.plotX,0),x(X.rightContY,X.plotY,0),x(E,U,0),x(Y,q,0),U,q];return X.rightContX=X.rightContY=void 0,P}}return k.defaultOptions=v(y.defaultOptions),d.registerSeriesType("spline",k),k}),c(o,"Series/AreaSpline/AreaSplineSeries.js",[o["Series/Spline/SplineSeries.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y){let{area:v,area:{prototype:x}}=f.seriesTypes,{extend:k,merge:D}=y;class B extends d{}return B.defaultOptions=D(d.defaultOptions,v.defaultOptions),k(B.prototype,{getGraphPath:x.getGraphPath,getStackPoints:x.getStackPoints,drawGraph:x.drawGraph}),f.registerSeriesType("areaspline",B),B}),c(o,"Series/Column/ColumnSeriesDefaults.js",[],function(){return{borderRadius:3,centerInCategory:!1,groupPadding:.2,marker:null,pointPadding:.1,minPointLength:0,cropThreshold:50,pointRange:null,states:{hover:{halo:!1,brightness:.1},select:{color:"#cccccc",borderColor:"#000000"}},dataLabels:{align:void 0,verticalAlign:void 0,y:void 0},startFromThreshold:!0,stickyTracking:!1,tooltip:{distance:6},threshold:0,borderColor:"#ffffff"}}),c(o,"Series/Column/ColumnSeries.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Color/Color.js"],o["Series/Column/ColumnSeriesDefaults.js"],o["Core/Globals.js"],o["Core/Series/Series.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k,D){let{animObject:B}=d,{parse:W}=f,{noop:Q}=v,{clamp:E,crisp:Y,defined:se,extend:ne,fireEvent:U,isArray:q,isNumber:X,merge:J,pick:H,objectEach:P}=D;class ce extends x{animate(ee){let L,Z,G=this,T=this.yAxis,_=T.pos,A=T.reversed,S=G.options,{clipOffset:N,inverted:F}=this.chart,O={},re=F?"translateX":"translateY";ee&&N?(O.scaleY=.001,Z=E(T.toPixels(S.threshold),_,_+T.len),F?(Z+=A?-Math.floor(N[0]):Math.ceil(N[2]),O.translateX=Z-T.len):(Z+=A?Math.ceil(N[0]):-Math.floor(N[2]),O.translateY=Z),G.clipBox&&G.setClip(),G.group.attr(O)):(L=Number(G.group.attr(re)),G.group.animate({scaleY:1},ne(B(G.options.animation),{step:function(pe,g){G.group&&(O[re]=L+g.pos*(_-L),G.group.attr(O))}})))}init(ee,L){super.init.apply(this,arguments);let Z=this;(ee=Z.chart).hasRendered&&ee.series.forEach(function(G){G.type===Z.type&&(G.isDirty=!0)})}getColumnMetrics(){var C,w;let ee=this,L=ee.options,Z=ee.xAxis,G=ee.yAxis,T=Z.options.reversedStacks,_=Z.reversed&&!T||!Z.reversed&&T,A={},S,N=0;L.grouping===!1?N=1:ee.chart.series.forEach(function($){let le,j=$.yAxis,z=$.options;$.type===ee.type&&$.reserveSpace()&&G.len===j.len&&G.pos===j.pos&&(z.stacking&&z.stacking!=="group"?(A[S=$.stackKey]===void 0&&(A[S]=N++),le=A[S]):z.grouping!==!1&&(le=N++),$.columnIndex=le)});let F=Math.min(Math.abs(Z.transA)*(!((C=Z.brokenAxis)!=null&&C.hasBreaks)&&((w=Z.ordinal)==null?void 0:w.slope)||L.pointRange||Z.closestPointRange||Z.tickInterval||1),Z.len),O=F*L.groupPadding,re=(F-2*O)/(N||1),pe=Math.min(L.maxPointWidth||Z.len,H(L.pointWidth,re*(1-2*L.pointPadding))),g=(ee.columnIndex||0)+(_?1:0);return ee.columnMetrics={width:pe,offset:(re-pe)/2+(O+g*re-F/2)*(_?-1:1),paddedWidth:re,columnCount:N},ee.columnMetrics}crispCol(ee,L,Z,G){let T=this.borderWidth,_=this.chart.inverted;return G=Y(L+G,T,_)-(L=Y(L,T,_)),this.options.crisp&&(Z=Y(ee+Z,T)-(ee=Y(ee,T))),{x:ee,y:L,width:Z,height:G}}adjustForMissingColumns(ee,L,Z,G){var T;if(!Z.isNull&&G.columnCount>1){let _=this.xAxis.series.filter(F=>F.visible).map(F=>F.index),A=0,S=0;P((T=this.xAxis.stacking)==null?void 0:T.stacks,F=>{if(typeof Z.x=="number"){let O=F[Z.x.toString()];if(O&&q(O.points[this.index])){let re=Object.keys(O.points).filter(pe=>!pe.match(",")&&O.points[pe]&&O.points[pe].length>1).map(parseFloat).filter(pe=>_.indexOf(pe)!==-1).sort((pe,g)=>g-pe);A=re.indexOf(this.index),S=re.length}}}),A=this.xAxis.reversed?S-1-A:A;let N=(S-1)*G.paddedWidth+L;ee=(Z.plotX||0)+N/2-L-A*G.paddedWidth}return ee}translate(){let ee=this,L=ee.chart,Z=ee.options,G=ee.dense=ee.closestPointRange*ee.xAxis.transA<2,T=ee.borderWidth=H(Z.borderWidth,G?0:1),_=ee.xAxis,A=ee.yAxis,S=Z.threshold,N=H(Z.minPointLength,5),F=ee.getColumnMetrics(),O=F.width,re=ee.pointXOffset=F.offset,pe=ee.dataMin,g=ee.dataMax,C=ee.translatedThreshold=A.getThreshold(S),w=ee.barW=Math.max(O,1+2*T);Z.pointPadding&&(w=Math.ceil(w)),x.prototype.translate.apply(ee),ee.points.forEach(function($){let le=H($.yBottom,C),j=999+Math.abs(le),z=$.plotX||0,te=E($.plotY,-j,A.len+j),fe,R=Math.min(te,le),V=Math.max(te,le)-R,ie=O,ue=z+re,de=w;N&&Math.abs(V)<N&&(V=N,fe=!A.reversed&&!$.negative||A.reversed&&$.negative,X(S)&&X(g)&&$.y===S&&g<=S&&(A.min||0)<S&&(pe!==g||(A.max||0)<=S)&&(fe=!fe,$.negative=!$.negative),R=Math.abs(R-C)>N?le-N:C-(fe?N:0)),se($.options.pointWidth)&&(ue-=Math.round(((ie=de=Math.ceil($.options.pointWidth))-O)/2)),Z.centerInCategory&&!Z.stacking&&(ue=ee.adjustForMissingColumns(ue,ie,$,F)),$.barX=ue,$.pointWidth=ie,$.tooltipPos=L.inverted?[E(A.len+A.pos-L.plotLeft-te,A.pos-L.plotLeft,A.len+A.pos-L.plotLeft),_.len+_.pos-L.plotTop-ue-de/2,V]:[_.left-L.plotLeft+ue+de/2,E(te+A.pos-L.plotTop,A.pos-L.plotTop,A.len+A.pos-L.plotTop),V],$.shapeType=ee.pointClass.prototype.shapeType||"roundedRect",$.shapeArgs=ee.crispCol(ue,$.isNull?C:R,de,$.isNull?0:V)}),U(this,"afterColumnTranslate")}drawGraph(){this.group[this.dense?"addClass":"removeClass"]("highcharts-dense-data")}pointAttribs(ee,L){let Z=this.options,G=this.pointAttrToOptions||{},T=G.stroke||"borderColor",_=G["stroke-width"]||"borderWidth",A,S,N,F=ee&&ee.color||this.color,O=ee&&ee[T]||Z[T]||F,re=ee&&ee.options.dashStyle||Z.dashStyle,pe=ee&&ee[_]||Z[_]||this[_]||0,g=H(ee&&ee.opacity,Z.opacity,1);ee&&this.zones.length&&(S=ee.getZone(),F=ee.options.color||S&&(S.color||ee.nonZonedColor)||this.color,S&&(O=S.borderColor||O,re=S.dashStyle||re,pe=S.borderWidth||pe)),L&&ee&&(N=(A=J(Z.states[L],ee.options.states&&ee.options.states[L]||{})).brightness,F=A.color||N!==void 0&&W(F).brighten(A.brightness).get()||F,O=A[T]||O,pe=A[_]||pe,re=A.dashStyle||re,g=H(A.opacity,g));let C={fill:F,stroke:O,"stroke-width":pe,opacity:g};return re&&(C.dashstyle=re),C}drawPoints(ee=this.points){let L,Z=this,G=this.chart,T=Z.options,_=G.renderer,A=T.animationLimit||250;ee.forEach(function(S){let N=S.plotY,F=S.graphic,O=!!F,re=F&&G.pointCount<A?"animate":"attr";X(N)&&S.y!==null?(L=S.shapeArgs,F&&S.hasNewShapeType()&&(F=F.destroy()),Z.enabledDataSorting&&(S.startXPos=Z.xAxis.reversed?-(L&&L.width||0):Z.xAxis.width),!F&&(S.graphic=F=_[S.shapeType](L).add(S.group||Z.group),F&&Z.enabledDataSorting&&G.hasRendered&&G.pointCount<A&&(F.attr({x:S.startXPos}),O=!0,re="animate")),F&&O&&F[re](J(L)),G.styledMode||F[re](Z.pointAttribs(S,S.selected&&"select")).shadow(S.allowShadow!==!1&&T.shadow),F&&(F.addClass(S.getClassName(),!0),F.attr({visibility:S.visible?"inherit":"hidden"}))):F&&(S.graphic=F.destroy())})}drawTracker(ee=this.points){let L,Z=this,G=Z.chart,T=G.pointer,_=function(A){let S=T==null?void 0:T.getPointFromEvent(A);T&&S&&Z.options.enableMouseTracking&&(T.isDirectTouch=!0,S.onMouseOver(A))};ee.forEach(function(A){L=q(A.dataLabels)?A.dataLabels:A.dataLabel?[A.dataLabel]:[],A.graphic&&(A.graphic.element.point=A),L.forEach(function(S){(S.div||S.element).point=A})}),Z._hasTracking||(Z.trackerGroups.forEach(function(A){Z[A]&&(Z[A].addClass("highcharts-tracker").on("mouseover",_).on("mouseout",function(S){T==null||T.onTrackerMouseOut(S)}).on("touchstart",_),!G.styledMode&&Z.options.cursor&&Z[A].css({cursor:Z.options.cursor}))}),Z._hasTracking=!0),U(this,"afterDrawTracker")}remove(){let ee=this,L=ee.chart;L.hasRendered&&L.series.forEach(function(Z){Z.type===ee.type&&(Z.isDirty=!0)}),x.prototype.remove.apply(ee,arguments)}}return ce.defaultOptions=J(x.defaultOptions,y),ne(ce.prototype,{directTouch:!0,getSymbol:Q,negStacks:!0,trackerGroups:["group","dataLabelsGroup"]}),k.registerSeriesType("column",ce),ce}),c(o,"Core/Series/DataLabel.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Templating.js"],o["Core/Utilities.js"]],function(d,f,y){var v;let{getDeferredAnimation:x}=d,{format:k}=f,{defined:D,extend:B,fireEvent:W,isArray:Q,isString:E,merge:Y,objectEach:se,pick:ne,pInt:U,splat:q}=y;return function(X){function J(){return Z(this).some(T=>T==null?void 0:T.enabled)}function H(T,_,A,S,N){var te;let{chart:F,enabledDataSorting:O}=this,re=this.isCartesian&&F.inverted,pe=T.plotX,g=T.plotY,C=A.rotation||0,w=D(pe)&&D(g)&&F.isInsidePlot(pe,Math.round(g),{inverted:re,paneCoordinates:!0,series:this}),$=C===0&&ne(A.overflow,O?"none":"justify")==="justify",le=this.visible&&T.visible!==!1&&D(pe)&&(T.series.forceDL||O&&!$||w||ne(A.inside,!!this.options.stacking)&&S&&F.isInsidePlot(pe,re?S.x+1:S.y+S.height-1,{inverted:re,paneCoordinates:!0,series:this})),j=T.pos();if(le&&j){var z;let fe=_.getBBox(),R=_.getBBox(void 0,0),V={right:1,center:.5}[A.align||0]||0,ie={bottom:1,middle:.5}[A.verticalAlign||0]||0;if(S=B({x:j[0],y:Math.round(j[1]),width:0,height:0},S||{}),A.alignTo==="plotEdges"&&this.isCartesian&&(S[re?"x":"y"]=0,S[re?"width":"height"]=((te=this.yAxis)==null?void 0:te.len)||0),B(A,{width:fe.width,height:fe.height}),z=S,O&&this.xAxis&&!$&&this.setDataLabelStartPos(T,_,N,w,z),_.align(Y(A,{width:R.width,height:R.height}),!1,S,!1),_.alignAttr.x+=V*(R.width-fe.width),_.alignAttr.y+=ie*(R.height-fe.height),_[_.placed?"animate":"attr"]({x:_.alignAttr.x+(fe.width-R.width)/2,y:_.alignAttr.y+(fe.height-R.height)/2,rotationOriginX:(_.width||0)/2,rotationOriginY:(_.height||0)/2}),$&&S.height>=0)this.justifyDataLabel(_,A,_.alignAttr,fe,S,N);else if(ne(A.crop,!0)){let{x:ue,y:de}=_.alignAttr;le=F.isInsidePlot(ue,de,{paneCoordinates:!0,series:this})&&F.isInsidePlot(ue+fe.width-1,de+fe.height-1,{paneCoordinates:!0,series:this})}A.shape&&!C&&_[N?"attr":"animate"]({anchorX:j[0],anchorY:j[1]})}N&&O&&(_.placed=!1),le||O&&!$?(_.show(),_.placed=!0):(_.hide(),_.placed=!1)}function P(){return this.plotGroup("dataLabelsGroup","data-labels",this.hasRendered?"inherit":"hidden",this.options.dataLabels.zIndex||6)}function ce(T){let _=this.hasRendered||0,A=this.initDataLabelsGroup().attr({opacity:+_});return!_&&A&&(this.visible&&A.show(),this.options.animation?A.animate({opacity:1},T):A.attr({opacity:1})),A}function ae(T){var le;let _;T=T||this.points;let A=this,S=A.chart,N=A.options,F=S.renderer,{backgroundColor:O,plotBackgroundColor:re}=S.options.chart,pe=F.getContrast(E(re)&&re||E(O)&&O||"#000000"),g=Z(A),{animation:C,defer:w}=g[0],$=w?x(S,C,A):{defer:0,duration:0};W(this,"drawDataLabels"),(le=A.hasDataLabels)!=null&&le.call(A)&&(_=this.initDataLabels($),T.forEach(j=>{var fe,R;let z=j.dataLabels||[];q(L(g,j.dlOptions||((fe=j.options)==null?void 0:fe.dataLabels))).forEach((V,ie)=>{let ue=V.enabled&&(j.visible||j.dataLabelOnHidden)&&(!j.isNull||j.dataLabelOnNull)&&function(Ce,Me){let Oe=Me.filter;if(Oe){let Ne=Oe.operator,Ge=Ce[Oe.property],$e=Oe.value;return Ne===">"&&Ge>$e||Ne==="<"&&Ge<$e||Ne===">="&&Ge>=$e||Ne==="<="&&Ge<=$e||Ne==="=="&&Ge==$e||Ne==="==="&&Ge===$e||Ne==="!="&&Ge!=$e||Ne==="!=="&&Ge!==$e}return!0}(j,V),{backgroundColor:de,borderColor:me,distance:_e,style:we={}}=V,Ae,Re,Le,ve,ye={},ge=z[ie],be=!ge,ke;ue&&(Re=ne(V[j.formatPrefix+"Format"],V.format),Ae=j.getLabelConfig(),Le=D(Re)?k(Re,Ae,S):(V[j.formatPrefix+"Formatter"]||V.formatter).call(Ae,V),ve=V.rotation,!S.styledMode&&(we.color=ne(V.color,we.color,E(A.color)?A.color:void 0,"#000000"),we.color==="contrast"?(de!=="none"&&(ke=de),j.contrastColor=F.getContrast(ke!=="auto"&&ke||j.color||A.color),we.color=ke||!D(_e)&&V.inside||0>U(_e||0)||N.stacking?j.contrastColor:pe):delete j.contrastColor,N.cursor&&(we.cursor=N.cursor)),ye={r:V.borderRadius||0,rotation:ve,padding:V.padding,zIndex:1},S.styledMode||(ye.fill=de==="auto"?j.color:de,ye.stroke=me==="auto"?j.color:me,ye["stroke-width"]=V.borderWidth),se(ye,(Ce,Me)=>{Ce===void 0&&delete ye[Me]})),!ge||ue&&D(Le)&&!!ge.div==!!V.useHTML&&(ge.rotation&&V.rotation||ge.rotation===V.rotation)||(ge=void 0,be=!0),ue&&D(Le)&&(ge?ye.text=Le:(ge=F.label(Le,0,0,V.shape,void 0,void 0,V.useHTML,void 0,"data-label")).addClass(" highcharts-data-label-color-"+j.colorIndex+" "+(V.className||"")+(V.useHTML?" highcharts-tracker":"")),ge&&(ge.options=V,ge.attr(ye),S.styledMode?we.width&&ge.css({width:we.width,textOverflow:we.textOverflow}):ge.css(we).shadow(V.shadow),W(ge,"beforeAddingDataLabel",{labelOptions:V,point:j}),ge.added||ge.add(_),A.alignDataLabel(j,ge,V,void 0,be),ge.isActive=!0,z[ie]&&z[ie]!==ge&&z[ie].destroy(),z[ie]=ge))});let te=z.length;for(;te--;)z[te]&&z[te].isActive?z[te].isActive=!1:((R=z[te])==null||R.destroy(),z.splice(te,1));j.dataLabel=z[0],j.dataLabels=z})),W(this,"afterDrawDataLabels")}function ee(T,_,A,S,N,F){let O=this.chart,re=_.align,pe=_.verticalAlign,g=T.box?0:T.padding||0,C=O.inverted?this.yAxis:this.xAxis,w=C?C.left-O.plotLeft:0,$=O.inverted?this.xAxis:this.yAxis,le=$?$.top-O.plotTop:0,{x:j=0,y:z=0}=_,te,fe;return(te=(A.x||0)+g+w)<0&&(re==="right"&&j>=0?(_.align="left",_.inside=!0):j-=te,fe=!0),(te=(A.x||0)+S.width-g+w)>O.plotWidth&&(re==="left"&&j<=0?(_.align="right",_.inside=!0):j+=O.plotWidth-te,fe=!0),(te=A.y+g+le)<0&&(pe==="bottom"&&z>=0?(_.verticalAlign="top",_.inside=!0):z-=te,fe=!0),(te=(A.y||0)+S.height-g+le)>O.plotHeight&&(pe==="top"&&z<=0?(_.verticalAlign="bottom",_.inside=!0):z+=O.plotHeight-te,fe=!0),fe&&(_.x=j,_.y=z,T.placed=!F,T.align(_,void 0,N)),fe}function L(T,_){let A=[],S;if(Q(T)&&!Q(_))A=T.map(function(N){return Y(N,_)});else if(Q(_)&&!Q(T))A=_.map(function(N){return Y(T,N)});else if(Q(T)||Q(_)){if(Q(T)&&Q(_))for(S=Math.max(T.length,_.length);S--;)A[S]=Y(T[S],_[S])}else A=Y(T,_);return A}function Z(T){var A,S;let _=T.chart.options.plotOptions;return q(L(L((A=_==null?void 0:_.series)==null?void 0:A.dataLabels,(S=_==null?void 0:_[T.type])==null?void 0:S.dataLabels),T.options.dataLabels))}function G(T,_,A,S,N){let F=this.chart,O=F.inverted,re=this.xAxis,pe=re.reversed,g=((O?_.height:_.width)||0)/2,C=T.pointWidth,w=C?C/2:0;_.startXPos=O?N.x:pe?-g-w:re.width-g+w,_.startYPos=O?pe?this.yAxis.height-g+w:-g-w:N.y,S?_.visibility==="hidden"&&(_.show(),_.attr({opacity:0}).animate({opacity:1})):_.attr({opacity:1}).animate({opacity:0},void 0,_.hide),F.hasRendered&&(A&&_.attr({x:_.startXPos,y:_.startYPos}),_.placed=!0)}X.compose=function(T){let _=T.prototype;_.initDataLabels||(_.initDataLabels=ce,_.initDataLabelsGroup=P,_.alignDataLabel=H,_.drawDataLabels=ae,_.justifyDataLabel=ee,_.setDataLabelStartPos=G,_.hasDataLabels=J)}}(v||(v={})),v}),c(o,"Series/Column/ColumnDataLabel.js",[o["Core/Series/DataLabel.js"],o["Core/Globals.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y,v){var x;let{composed:k}=f,{series:D}=y,{merge:B,pick:W,pushUnique:Q}=v;return function(E){function Y(se,ne,U,q,X){let J=this.chart.inverted,H=se.series,P=(H.xAxis?H.xAxis.len:this.chart.plotSizeX)||0,ce=(H.yAxis?H.yAxis.len:this.chart.plotSizeY)||0,ae=se.dlBox||se.shapeArgs,ee=W(se.below,se.plotY>W(this.translatedThreshold,ce)),L=W(U.inside,!!this.options.stacking);if(ae){if(q=B(ae),!(U.overflow==="allow"&&U.crop===!1)){q.y<0&&(q.height+=q.y,q.y=0);let Z=q.y+q.height-ce;Z>0&&Z<q.height-1&&(q.height-=Z)}J&&(q={x:ce-q.y-q.height,y:P-q.x-q.width,width:q.height,height:q.width}),L||(J?(q.x+=ee?0:q.width,q.width=0):(q.y+=ee?q.height:0,q.height=0))}U.align=W(U.align,!J||L?"center":ee?"right":"left"),U.verticalAlign=W(U.verticalAlign,J||L?"middle":ee?"top":"bottom"),D.prototype.alignDataLabel.call(this,se,ne,U,q,X),U.inside&&se.contrastColor&&ne.css({color:se.contrastColor})}E.compose=function(se){d.compose(D),Q(k,"ColumnDataLabel")&&(se.prototype.alignDataLabel=Y)}}(x||(x={})),x}),c(o,"Series/Bar/BarSeries.js",[o["Series/Column/ColumnSeries.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y){let{extend:v,merge:x}=y;class k extends d{}return k.defaultOptions=x(d.defaultOptions,{}),v(k.prototype,{inverted:!0}),f.registerSeriesType("bar",k),k}),c(o,"Series/Scatter/ScatterSeriesDefaults.js",[],function(){return{lineWidth:0,findNearestPointBy:"xy",jitter:{x:0,y:0},marker:{enabled:!0},tooltip:{headerFormat:'<span style="color:{point.color}">●</span> <span style="font-size: 0.8em"> {series.name}</span><br/>',pointFormat:"x: <b>{point.x}</b><br/>y: <b>{point.y}</b><br/>"}}}),c(o,"Series/Scatter/ScatterSeries.js",[o["Series/Scatter/ScatterSeriesDefaults.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y){let{column:v,line:x}=f.seriesTypes,{addEvent:k,extend:D,merge:B}=y;class W extends x{applyJitter(){let E=this,Y=this.options.jitter,se=this.points.length;Y&&this.points.forEach(function(ne,U){["x","y"].forEach(function(q,X){if(Y[q]&&!ne.isNull){let J=`plot${q.toUpperCase()}`,H=E[`${q}Axis`],P=Y[q]*H.transA;if(H&&!H.logarithmic){let ce=Math.max(0,(ne[J]||0)-P),ae=Math.min(H.len,(ne[J]||0)+P);ne[J]=ce+(ae-ce)*function(ee){let L=1e4*Math.sin(ee);return L-Math.floor(L)}(U+X*se),q==="x"&&(ne.clientX=ne.plotX)}}})})}drawGraph(){this.options.lineWidth?super.drawGraph():this.graph&&(this.graph=this.graph.destroy())}}return W.defaultOptions=B(x.defaultOptions,d),D(W.prototype,{drawTracker:v.prototype.drawTracker,sorted:!1,requireSorting:!1,noSharedTooltip:!0,trackerGroups:["group","markerGroup","dataLabelsGroup"]}),k(W,"afterTranslate",function(){this.applyJitter()}),f.registerSeriesType("scatter",W),W}),c(o,"Series/CenteredUtilities.js",[o["Core/Globals.js"],o["Core/Series/Series.js"],o["Core/Utilities.js"]],function(d,f,y){var v,x;let{deg2rad:k}=d,{fireEvent:D,isNumber:B,pick:W,relativeLength:Q}=y;return(x=v||(v={})).getCenter=function(){let E=this.options,Y=this.chart,se=2*(E.slicedOffset||0),ne=Y.plotWidth-2*se,U=Y.plotHeight-2*se,q=E.center,X=Math.min(ne,U),J=E.thickness,H,P=E.size,ce=E.innerSize||0,ae,ee;typeof P=="string"&&(P=parseFloat(P)),typeof ce=="string"&&(ce=parseFloat(ce));let L=[W(q[0],"50%"),W(q[1],"50%"),W(P&&P<0?void 0:E.size,"100%"),W(ce&&ce<0?void 0:E.innerSize||0,"0%")];for(!Y.angular||this instanceof f||(L[3]=0),ae=0;ae<4;++ae)ee=L[ae],H=ae<2||ae===2&&/%$/.test(ee),L[ae]=Q(ee,[ne,U,X,L[2]][ae])+(H?se:0);return L[3]>L[2]&&(L[3]=L[2]),B(J)&&2*J<L[2]&&J>0&&(L[3]=L[2]-2*J),D(this,"afterGetCenter",{positions:L}),L},x.getStartAndEndRadians=function(E,Y){let se=B(E)?E:0,ne=B(Y)&&Y>se&&Y-se<360?Y:se+360;return{start:k*(se+-90),end:k*(ne+-90)}},v}),c(o,"Series/Pie/PiePoint.js",[o["Core/Animation/AnimationUtilities.js"],o["Core/Series/Point.js"],o["Core/Utilities.js"]],function(d,f,y){let{setAnimation:v}=d,{addEvent:x,defined:k,extend:D,isNumber:B,pick:W,relativeLength:Q}=y;class E extends f{getConnectorPath(se){let ne=se.dataLabelPosition,U=se.options||{},q=U.connectorShape,X=this.connectorShapes[q]||q;return ne&&X.call(this,{...ne.computed,alignment:ne.alignment},ne.connectorPosition,U)||[]}getTranslate(){return this.sliced&&this.slicedTranslation||{translateX:0,translateY:0}}haloPath(se){let ne=this.shapeArgs;return this.sliced||!this.visible?[]:this.series.chart.renderer.symbols.arc(ne.x,ne.y,ne.r+se,ne.r+se,{innerR:ne.r-1,start:ne.start,end:ne.end,borderRadius:ne.borderRadius})}constructor(se,ne,U){super(se,ne,U),this.half=0,this.name??(this.name="Slice");let q=X=>{this.slice(X.type==="select")};x(this,"select",q),x(this,"unselect",q)}isValid(){return B(this.y)&&this.y>=0}setVisible(se,ne=!0){se!==this.visible&&this.update({visible:se??!this.visible},ne,void 0,!1)}slice(se,ne,U){let q=this.series;v(U,q.chart),ne=W(ne,!0),this.sliced=this.options.sliced=se=k(se)?se:!this.sliced,q.options.data[q.data.indexOf(this)]=this.options,this.graphic&&this.graphic.animate(this.getTranslate())}}return D(E.prototype,{connectorShapes:{fixedOffset:function(Y,se,ne){let U=se.breakAt,q=se.touchingSliceAt,X=ne.softConnector?["C",Y.x+(Y.alignment==="left"?-5:5),Y.y,2*U.x-q.x,2*U.y-q.y,U.x,U.y]:["L",U.x,U.y];return[["M",Y.x,Y.y],X,["L",q.x,q.y]]},straight:function(Y,se){let ne=se.touchingSliceAt;return[["M",Y.x,Y.y],["L",ne.x,ne.y]]},crookedLine:function(Y,se,ne){let{breakAt:U,touchingSliceAt:q}=se,{series:X}=this,[J,H,P]=X.center,ce=P/2,{plotLeft:ae,plotWidth:ee}=X.chart,L=Y.alignment==="left",{x:Z,y:G}=Y,T=U.x;if(ne.crookDistance){let A=Q(ne.crookDistance,1);T=L?J+ce+(ee+ae-J-ce)*(1-A):ae+(J-ce)*A}else T=J+(H-G)*Math.tan((this.angle||0)-Math.PI/2);let _=[["M",Z,G]];return(L?T<=Z&&T>=U.x:T>=Z&&T<=U.x)&&_.push(["L",T,G]),_.push(["L",U.x,U.y],["L",q.x,q.y]),_}}}),E}),c(o,"Series/Pie/PieSeriesDefaults.js",[],function(){return{borderRadius:3,center:[null,null],clip:!1,colorByPoint:!0,dataLabels:{connectorPadding:5,connectorShape:"crookedLine",crookDistance:void 0,distance:30,enabled:!0,formatter:function(){return this.point.isNull?void 0:this.point.name},softConnector:!0,x:0},fillColor:void 0,ignoreHiddenPoint:!0,inactiveOtherPoints:!0,legendType:"point",marker:null,size:null,showInLegend:!1,slicedOffset:10,stickyTracking:!1,tooltip:{followPointer:!0},borderColor:"#ffffff",borderWidth:1,lineWidth:void 0,states:{hover:{brightness:.1}}}}),c(o,"Series/Pie/PieSeries.js",[o["Series/CenteredUtilities.js"],o["Series/Column/ColumnSeries.js"],o["Core/Globals.js"],o["Series/Pie/PiePoint.js"],o["Series/Pie/PieSeriesDefaults.js"],o["Core/Series/Series.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Renderer/SVG/Symbols.js"],o["Core/Utilities.js"]],function(d,f,y,v,x,k,D,B,W){let{getStartAndEndRadians:Q}=d,{noop:E}=y,{clamp:Y,extend:se,fireEvent:ne,merge:U,pick:q}=W;class X extends k{animate(H){let P=this,ce=P.points,ae=P.startAngleRad;H||ce.forEach(function(ee){let L=ee.graphic,Z=ee.shapeArgs;L&&Z&&(L.attr({r:q(ee.startR,P.center&&P.center[3]/2),start:ae,end:ae}),L.animate({r:Z.r,start:Z.start,end:Z.end},P.options.animation))})}drawEmpty(){let H,P,ce=this.startAngleRad,ae=this.endAngleRad,ee=this.options;this.total===0&&this.center?(H=this.center[0],P=this.center[1],this.graph||(this.graph=this.chart.renderer.arc(H,P,this.center[1]/2,0,ce,ae).addClass("highcharts-empty-series").add(this.group)),this.graph.attr({d:B.arc(H,P,this.center[2]/2,0,{start:ce,end:ae,innerR:this.center[3]/2})}),this.chart.styledMode||this.graph.attr({"stroke-width":ee.borderWidth,fill:ee.fillColor||"none",stroke:ee.color||"#cccccc"})):this.graph&&(this.graph=this.graph.destroy())}drawPoints(){let H=this.chart.renderer;this.points.forEach(function(P){P.graphic&&P.hasNewShapeType()&&(P.graphic=P.graphic.destroy()),P.graphic||(P.graphic=H[P.shapeType](P.shapeArgs).add(P.series.group),P.delayedRendering=!0)})}generatePoints(){super.generatePoints(),this.updateTotals()}getX(H,P,ce,ae){let ee=this.center,L=this.radii?this.radii[ce.index]||0:ee[2]/2,Z=ae.dataLabelPosition,G=(Z==null?void 0:Z.distance)||0,T=Math.asin(Y((H-ee[1])/(L+G),-1,1));return ee[0]+Math.cos(T)*(L+G)*(P?-1:1)+(G>0?(P?-1:1)*(ae.padding||0):0)}hasData(){return!!this.processedXData.length}redrawPoints(){let H,P,ce,ae,ee=this,L=ee.chart;this.drawEmpty(),ee.group&&!L.styledMode&&ee.group.shadow(ee.options.shadow),ee.points.forEach(function(Z){let G={};P=Z.graphic,!Z.isNull&&P?(ae=Z.shapeArgs,H=Z.getTranslate(),L.styledMode||(ce=ee.pointAttribs(Z,Z.selected&&"select")),Z.delayedRendering?(P.setRadialReference(ee.center).attr(ae).attr(H),L.styledMode||P.attr(ce).attr({"stroke-linejoin":"round"}),Z.delayedRendering=!1):(P.setRadialReference(ee.center),L.styledMode||U(!0,G,ce),U(!0,G,ae,H),P.animate(G)),P.attr({visibility:Z.visible?"inherit":"hidden"}),P.addClass(Z.getClassName(),!0)):P&&(Z.graphic=P.destroy())})}sortByAngle(H,P){H.sort(function(ce,ae){return ce.angle!==void 0&&(ae.angle-ce.angle)*P})}translate(H){ne(this,"translate"),this.generatePoints();let P=this.options,ce=P.slicedOffset,ae=Q(P.startAngle,P.endAngle),ee=this.startAngleRad=ae.start,L=(this.endAngleRad=ae.end)-ee,Z=this.points,G=P.ignoreHiddenPoint,T=Z.length,_,A,S,N,F,O,re,pe=0;for(H||(this.center=H=this.getCenter()),O=0;O<T;O++){re=Z[O],_=ee+pe*L,re.isValid()&&(!G||re.visible)&&(pe+=re.percentage/100),A=ee+pe*L;let g={x:H[0],y:H[1],r:H[2]/2,innerR:H[3]/2,start:Math.round(1e3*_)/1e3,end:Math.round(1e3*A)/1e3};re.shapeType="arc",re.shapeArgs=g,(S=(A+_)/2)>1.5*Math.PI?S-=2*Math.PI:S<-Math.PI/2&&(S+=2*Math.PI),re.slicedTranslation={translateX:Math.round(Math.cos(S)*ce),translateY:Math.round(Math.sin(S)*ce)},N=Math.cos(S)*H[2]/2,F=Math.sin(S)*H[2]/2,re.tooltipPos=[H[0]+.7*N,H[1]+.7*F],re.half=S<-Math.PI/2||S>Math.PI/2?1:0,re.angle=S}ne(this,"afterTranslate")}updateTotals(){let H=this.points,P=H.length,ce=this.options.ignoreHiddenPoint,ae,ee,L=0;for(ae=0;ae<P;ae++)(ee=H[ae]).isValid()&&(!ce||ee.visible)&&(L+=ee.y);for(ae=0,this.total=L;ae<P;ae++)(ee=H[ae]).percentage=L>0&&(ee.visible||!ce)?ee.y/L*100:0,ee.total=L}}return X.defaultOptions=U(k.defaultOptions,x),se(X.prototype,{axisTypes:[],directTouch:!0,drawGraph:void 0,drawTracker:f.prototype.drawTracker,getCenter:d.getCenter,getSymbol:E,invertible:!1,isCartesian:!1,noSharedTooltip:!0,pointAttribs:f.prototype.pointAttribs,pointClass:v,requireSorting:!1,searchPoint:E,trackerGroups:["group","dataLabelsGroup"]}),D.registerSeriesType("pie",X),X}),c(o,"Series/Pie/PieDataLabel.js",[o["Core/Series/DataLabel.js"],o["Core/Globals.js"],o["Core/Renderer/RendererUtilities.js"],o["Core/Series/SeriesRegistry.js"],o["Core/Utilities.js"]],function(d,f,y,v,x){var k;let{composed:D,noop:B}=f,{distribute:W}=y,{series:Q}=v,{arrayMax:E,clamp:Y,defined:se,pick:ne,pushUnique:U,relativeLength:q}=x;return function(X){let J={radialDistributionY:function(ee,L){var Z;return(((Z=L.dataLabelPosition)==null?void 0:Z.top)||0)+ee.distributeBox.pos},radialDistributionX:function(ee,L,Z,G,T){let _=T.dataLabelPosition;return ee.getX(Z<((_==null?void 0:_.top)||0)+2||Z>((_==null?void 0:_.bottom)||0)-2?G:Z,L.half,L,T)},justify:function(ee,L,Z,G){var T;return G[0]+(ee.half?-1:1)*(Z+(((T=L.dataLabelPosition)==null?void 0:T.distance)||0))},alignToPlotEdges:function(ee,L,Z,G){let T=ee.getBBox().width;return L?T+G:Z-T-G},alignToConnectors:function(ee,L,Z,G){let T=0,_;return ee.forEach(function(A){(_=A.dataLabel.getBBox().width)>T&&(T=_)}),L?T+G:Z-T-G}};function H(ee,L){let{center:Z,options:G}=this,T=Z[2]/2,_=ee.angle||0,A=Math.cos(_),S=Math.sin(_),N=Z[0]+A*T,F=Z[1]+S*T,O=Math.min((G.slicedOffset||0)+(G.borderWidth||0),L/5);return{natural:{x:N+A*L,y:F+S*L},computed:{},alignment:L<0?"center":ee.half?"right":"left",connectorPosition:{breakAt:{x:N+A*O,y:F+S*O},touchingSliceAt:{x:N,y:F}},distance:L}}function P(){var le;let ee=this,L=ee.points,Z=ee.chart,G=Z.plotWidth,T=Z.plotHeight,_=Z.plotLeft,A=Math.round(Z.chartWidth/3),S=ee.center,N=S[2]/2,F=S[1],O=[[],[]],re=[0,0,0,0],pe=ee.dataLabelPositioners,g,C,w,$=0;ee.visible&&((le=ee.hasDataLabels)!=null&&le.call(ee))&&(L.forEach(j=>{(j.dataLabels||[]).forEach(z=>{z.shortened&&(z.attr({width:"auto"}).css({width:"auto",textOverflow:"clip"}),z.shortened=!1)})}),Q.prototype.drawDataLabels.apply(ee),L.forEach(j=>{(j.dataLabels||[]).forEach((z,te)=>{var ie;let fe=S[2]/2,R=z.options,V=q((R==null?void 0:R.distance)||0,fe);te===0&&O[j.half].push(j),!se((ie=R==null?void 0:R.style)==null?void 0:ie.width)&&z.getBBox().width>A&&(z.css({width:Math.round(.7*A)+"px"}),z.shortened=!0),z.dataLabelPosition=this.getDataLabelPosition(j,V),$=Math.max($,V)})}),O.forEach((j,z)=>{let te=j.length,fe=[],R,V,ie=0,ue;te&&(ee.sortByAngle(j,z-.5),$>0&&(R=Math.max(0,F-N-$),V=Math.min(F+N+$,Z.plotHeight),j.forEach(de=>{(de.dataLabels||[]).forEach(me=>{var we;let _e=me.dataLabelPosition;_e&&_e.distance>0&&(_e.top=Math.max(0,F-N-_e.distance),_e.bottom=Math.min(F+N+_e.distance,Z.plotHeight),ie=me.getBBox().height||21,me.lineHeight=Z.renderer.fontMetrics(me.text||me).h+2*me.padding,de.distributeBox={target:(((we=me.dataLabelPosition)==null?void 0:we.natural.y)||0)-_e.top+me.lineHeight/2,size:ie,rank:de.y},fe.push(de.distributeBox))})}),W(fe,ue=V+ie-R,ue/5)),j.forEach(de=>{(de.dataLabels||[]).forEach(me=>{let _e=me.options||{},we=de.distributeBox,Ae=me.dataLabelPosition,Re=(Ae==null?void 0:Ae.natural.y)||0,Le=_e.connectorPadding||0,ve=me.lineHeight||21,ye=(ve-me.getBBox().height)/2,ge=0,be=Re,ke="inherit";if(Ae){if(fe&&se(we)&&Ae.distance>0&&(we.pos===void 0?ke="hidden":(w=we.size,be=pe.radialDistributionY(de,me))),_e.justify)ge=pe.justify(de,me,N,S);else switch(_e.alignTo){case"connectors":ge=pe.alignToConnectors(j,z,G,_);break;case"plotEdges":ge=pe.alignToPlotEdges(me,z,G,_);break;default:ge=pe.radialDistributionX(ee,de,be-ye,Re,me)}if(Ae.attribs={visibility:ke,align:Ae.alignment},Ae.posAttribs={x:ge+(_e.x||0)+({left:Le,right:-Le}[Ae.alignment]||0),y:be+(_e.y||0)-ve/2},Ae.computed.x=ge,Ae.computed.y=be-ye,ne(_e.crop,!0)){let Ce;ge-(C=me.getBBox().width)<Le&&z===1?(Ce=Math.round(C-ge+Le),re[3]=Math.max(Ce,re[3])):ge+C>G-Le&&z===0&&(Ce=Math.round(ge+C-G+Le),re[1]=Math.max(Ce,re[1])),be-w/2<0?re[0]=Math.max(Math.round(-be+w/2),re[0]):be+w/2>T&&(re[2]=Math.max(Math.round(be+w/2-T),re[2])),Ae.sideOverflow=Ce}}})}))}),(E(re)===0||this.verifyDataLabelOverflow(re))&&(this.placeDataLabels(),this.points.forEach(j=>{(j.dataLabels||[]).forEach(z=>{var V;let{connectorColor:te,connectorWidth:fe=1}=z.options||{},R=z.dataLabelPosition;if(fe){let ie;g=z.connector,R&&R.distance>0?(ie=!g,g||(z.connector=g=Z.renderer.path().addClass("highcharts-data-label-connector highcharts-color-"+j.colorIndex+(j.className?" "+j.className:"")).add(ee.dataLabelsGroup)),Z.styledMode||g.attr({"stroke-width":fe,stroke:te||j.color||"#666666"}),g[ie?"attr":"animate"]({d:j.getConnectorPath(z)}),g.attr({visibility:(V=R.attribs)==null?void 0:V.visibility})):g&&(z.connector=g.destroy())}})})))}function ce(){this.points.forEach(ee=>{(ee.dataLabels||[]).forEach(L=>{var G;let Z=L.dataLabelPosition;Z?(Z.sideOverflow&&(L.css({width:Math.max(L.getBBox().width-Z.sideOverflow,0)+"px",textOverflow:(((G=L.options)==null?void 0:G.style)||{}).textOverflow||"ellipsis"}),L.shortened=!0),L.attr(Z.attribs),L[L.moved?"animate":"attr"](Z.posAttribs),L.moved=!0):L&&L.attr({y:-9999})}),delete ee.distributeBox},this)}function ae(ee){let L=this.center,Z=this.options,G=Z.center,T=Z.minSize||80,_=T,A=Z.size!==null;return!A&&(G[0]!==null?_=Math.max(L[2]-Math.max(ee[1],ee[3]),T):(_=Math.max(L[2]-ee[1]-ee[3],T),L[0]+=(ee[3]-ee[1])/2),G[1]!==null?_=Y(_,T,L[2]-Math.max(ee[0],ee[2])):(_=Y(_,T,L[2]-ee[0]-ee[2]),L[1]+=(ee[0]-ee[2])/2),_<L[2]?(L[2]=_,L[3]=Math.min(Z.thickness?Math.max(0,_-2*Z.thickness):Math.max(0,q(Z.innerSize||0,_)),_),this.translate(L),this.drawDataLabels&&this.drawDataLabels()):A=!0),A}X.compose=function(ee){if(d.compose(Q),U(D,"PieDataLabel")){let L=ee.prototype;L.dataLabelPositioners=J,L.alignDataLabel=B,L.drawDataLabels=P,L.getDataLabelPosition=H,L.placeDataLabels=ce,L.verifyDataLabelOverflow=ae}}}(k||(k={})),k}),c(o,"Core/Geometry/GeometryUtilities.js",[],function(){var d,f;return(f=d||(d={})).getCenterOfPoints=function(y){let v=y.reduce((x,k)=>(x.x+=k.x,x.y+=k.y,x),{x:0,y:0});return{x:v.x/y.length,y:v.y/y.length}},f.getDistanceBetweenPoints=function(y,v){return Math.sqrt(Math.pow(v.x-y.x,2)+Math.pow(v.y-y.y,2))},f.getAngleBetweenPoints=function(y,v){return Math.atan2(v.x-y.x,v.y-y.y)},f.pointInPolygon=function({x:y,y:v},x){let k=x.length,D,B,W=!1;for(D=0,B=k-1;D<k;B=D++){let[Q,E]=x[D],[Y,se]=x[B];E>v!=se>v&&y<(Y-Q)*(v-E)/(se-E)+Q&&(W=!W)}return W},d}),c(o,"Extensions/OverlappingDataLabels.js",[o["Core/Geometry/GeometryUtilities.js"],o["Core/Utilities.js"]],function(d,f){let{pointInPolygon:y}=d,{addEvent:v,fireEvent:x,objectEach:k,pick:D}=f;function B(E){let Y=E.length,se=(ce,ae)=>!(ae.x>=ce.x+ce.width||ae.x+ae.width<=ce.x||ae.y>=ce.y+ce.height||ae.y+ae.height<=ce.y),ne=(ce,ae)=>{for(let ee of ce)if(y({x:ee[0],y:ee[1]},ae))return!0;return!1},U,q,X,J,H,P=!1;for(let ce=0;ce<Y;ce++)(U=E[ce])&&(U.oldOpacity=U.opacity,U.newOpacity=1,U.absoluteBox=function(ae){var ee,L;if(ae&&(!ae.alignAttr||ae.placed)){let Z=ae.box?0:ae.padding||0,G=ae.alignAttr||{x:ae.attr("x"),y:ae.attr("y")},T=ae.getBBox();return ae.width=T.width,ae.height=T.height,{x:G.x+(((ee=ae.parentGroup)==null?void 0:ee.translateX)||0)+Z,y:G.y+(((L=ae.parentGroup)==null?void 0:L.translateY)||0)+Z,width:(ae.width||0)-2*Z,height:(ae.height||0)-2*Z,polygon:T==null?void 0:T.polygon}}}(U));E.sort((ce,ae)=>(ae.labelrank||0)-(ce.labelrank||0));for(let ce=0;ce<Y;++ce){J=(q=E[ce])&&q.absoluteBox;let ae=J==null?void 0:J.polygon;for(let ee=ce+1;ee<Y;++ee){H=(X=E[ee])&&X.absoluteBox;let L=!1;if(J&&H&&q!==X&&q.newOpacity!==0&&X.newOpacity!==0&&q.visibility!=="hidden"&&X.visibility!=="hidden"){let Z=H.polygon;if(ae&&Z&&ae!==Z?ne(ae,Z)&&(L=!0):se(J,H)&&(L=!0),L){let G=q.labelrank<X.labelrank?q:X,T=G.text;G.newOpacity=0,T!=null&&T.element.querySelector("textPath")&&T.hide()}}}}for(let ce of E)W(ce,this)&&(P=!0);P&&x(this,"afterHideAllOverlappingLabels")}function W(E,Y){let se,ne,U=!1;return E&&(ne=E.newOpacity,E.oldOpacity!==ne&&(E.hasClass("highcharts-data-label")?(E[ne?"removeClass":"addClass"]("highcharts-data-label-hidden"),se=function(){Y.styledMode||E.css({pointerEvents:ne?"auto":"none"})},U=!0,E[E.isOld?"animate":"attr"]({opacity:ne},void 0,se),x(Y,"afterHideOverlappingLabel")):E.attr({opacity:ne})),E.isOld=!0),U}function Q(){var se;let E=this,Y=[];for(let ne of E.labelCollectors||[])Y=Y.concat(ne());for(let ne of E.yAxis||[])ne.stacking&&ne.options.stackLabels&&!ne.options.stackLabels.allowOverlap&&k(ne.stacking.stacks,U=>{k(U,q=>{q.label&&Y.push(q.label)})});for(let ne of E.series||[])if(ne.visible&&((se=ne.hasDataLabels)!=null&&se.call(ne))){let U=q=>{for(let X of q)X.visible&&(X.dataLabels||[]).forEach(J=>{var P;let H=J.options||{};J.labelrank=D(H.labelrank,X.labelrank,(P=X.shapeArgs)==null?void 0:P.height),H.allowOverlap??Number(H.distance)>0?(J.oldOpacity=J.opacity,J.newOpacity=1,W(J,E)):Y.push(J)})};U(ne.nodes||[]),U(ne.points)}this.hideOverlappingLabels(Y)}return{compose:function(E){let Y=E.prototype;Y.hideOverlappingLabels||(Y.hideOverlappingLabels=B,v(E,"render",Q))}}}),c(o,"Extensions/BorderRadius.js",[o["Core/Defaults.js"],o["Core/Globals.js"],o["Core/Utilities.js"]],function(d,f,y){let{defaultOptions:v}=d,{noop:x}=f,{addEvent:k,extend:D,isObject:B,merge:W,relativeLength:Q}=y,E={radius:0,scope:"stack",where:void 0},Y=x,se=x;function ne(H,P,ce,ae,ee={}){let L=Y(H,P,ce,ae,ee),{innerR:Z=0,r:G=ce,start:T=0,end:_=0}=ee;if(ee.open||!ee.borderRadius)return L;let A=_-T,S=Math.sin(A/2),N=Math.max(Math.min(Q(ee.borderRadius||0,G-Z),(G-Z)/2,G*S/(1+S)),0),F=Math.min(N,A/Math.PI*2*Z),O=L.length-1;for(;O--;)(function(re,pe,g){let C,w,$,le=re[pe],j=re[pe+1];if(j[0]==="Z"&&(j=re[0]),(le[0]==="M"||le[0]==="L")&&j[0]==="A"?(C=le,w=j,$=!0):le[0]==="A"&&(j[0]==="M"||j[0]==="L")&&(C=j,w=le),C&&w&&w.params){let z=w[1],te=w[5],fe=w.params,{start:R,end:V,cx:ie,cy:ue}=fe,de=te?z-g:z+g,me=de?Math.asin(g/de):0,_e=te?me:-me,we=Math.cos(me)*de;$?(fe.start=R+_e,C[1]=ie+we*Math.cos(R),C[2]=ue+we*Math.sin(R),re.splice(pe+1,0,["A",g,g,0,0,1,ie+z*Math.cos(fe.start),ue+z*Math.sin(fe.start)])):(fe.end=V-_e,w[6]=ie+z*Math.cos(fe.end),w[7]=ue+z*Math.sin(fe.end),re.splice(pe+1,0,["A",g,g,0,0,1,ie+we*Math.cos(V),ue+we*Math.sin(V)])),w[4]=Math.abs(fe.end-fe.start)<Math.PI?0:1}})(L,O,O>1?F:N);return L}function U(){var H,P;if(this.options.borderRadius&&!(this.chart.is3d&&this.chart.is3d())){let{options:ce,yAxis:ae}=this,ee=ce.stacking==="percent",L=(P=(H=v.plotOptions)==null?void 0:H[this.type])==null?void 0:P.borderRadius,Z=q(ce.borderRadius,B(L)?L:{}),G=ae.options.reversed;for(let T of this.points){let{shapeArgs:_}=T;if(T.shapeType==="roundedRect"&&_){let{width:A=0,height:S=0,y:N=0}=_,F=N,O=S;if(Z.scope==="stack"&&T.stackTotal){let C=ae.translate(ee?100:T.stackTotal,!1,!0,!1,!0),w=ae.translate(ce.threshold||0,!1,!0,!1,!0),$=this.crispCol(0,Math.min(C,w),0,Math.abs(C-w));F=$.y,O=$.height}let re=(T.negative?-1:1)*(G?-1:1)==-1,pe=Z.where;!pe&&this.is("waterfall")&&Math.abs((T.yBottom||0)-(this.translatedThreshold||0))>this.borderWidth&&(pe="all"),pe||(pe="end");let g=Math.min(Q(Z.radius,A),A/2,pe==="all"?S/2:1/0)||0;pe==="end"&&(re&&(F-=g),O+=g),D(_,{brBoxHeight:O,brBoxY:F,r:g})}}}}function q(H,P){return B(H)||(H={radius:H||0}),W(E,P,H)}function X(){let H=q(this.options.borderRadius);for(let P of this.points){let ce=P.shapeArgs;ce&&(ce.borderRadius=Q(H.radius,(ce.r||0)-(ce.innerR||0)))}}function J(H,P,ce,ae,ee={}){let L=se(H,P,ce,ae,ee),{r:Z=0,brBoxHeight:G=ae,brBoxY:T=P}=ee,_=P-T,A=T+G-(P+ae),S=_-Z>-.1?0:Z,N=A-Z>-.1?0:Z,F=Math.max(S&&_,0),O=Math.max(N&&A,0),re=[H+S,P],pe=[H+ce-S,P],g=[H+ce,P+S],C=[H+ce,P+ae-N],w=[H+ce-N,P+ae],$=[H+N,P+ae],le=[H,P+ae-N],j=[H,P+S],z=(te,fe)=>Math.sqrt(Math.pow(te,2)-Math.pow(fe,2));if(F){let te=z(S,S-F);re[0]-=te,pe[0]+=te,g[1]=j[1]=P+S-F}if(ae<S-F){let te=z(S,S-F-ae);g[0]=C[0]=H+ce-S+te,w[0]=Math.min(g[0],w[0]),$[0]=Math.max(C[0],$[0]),le[0]=j[0]=H+S-te,g[1]=j[1]=P+ae}if(O){let te=z(N,N-O);w[0]+=te,$[0]-=te,C[1]=le[1]=P+ae-N+O}if(ae<N-O){let te=z(N,N-O-ae);g[0]=C[0]=H+ce-N+te,pe[0]=Math.min(g[0],pe[0]),re[0]=Math.max(C[0],re[0]),le[0]=j[0]=H+N-te,C[1]=le[1]=P}return L.length=0,L.push(["M",...re],["L",...pe],["A",S,S,0,0,1,...g],["L",...C],["A",N,N,0,0,1,...w],["L",...$],["A",N,N,0,0,1,...le],["L",...j],["A",S,S,0,0,1,...re],["Z"]),L}return{compose:function(H,P,ce){let ae=H.types.pie;if(!P.symbolCustomAttribs.includes("borderRadius")){let ee=ce.prototype.symbols;k(H,"afterColumnTranslate",U,{order:9}),k(ae,"afterTranslate",X),P.symbolCustomAttribs.push("borderRadius","brBoxHeight","brBoxY"),Y=ee.arc,se=ee.roundedRect,ee.arc=ne,ee.roundedRect=J}},optionsToObject:q}}),c(o,"Core/Responsive.js",[o["Core/Utilities.js"]],function(d){var f;let{diffObjects:y,extend:v,find:x,merge:k,pick:D,uniqueKey:B}=d;return function(W){function Q(Y,se){let ne=Y.condition;(ne.callback||function(){return this.chartWidth<=D(ne.maxWidth,Number.MAX_VALUE)&&this.chartHeight<=D(ne.maxHeight,Number.MAX_VALUE)&&this.chartWidth>=D(ne.minWidth,0)&&this.chartHeight>=D(ne.minHeight,0)}).call(this)&&se.push(Y._id)}function E(Y,se){let ne=this.options.responsive,U=this.currentResponsive,q=[],X;!se&&ne&&ne.rules&&ne.rules.forEach(P=>{P._id===void 0&&(P._id=B()),this.matchResponsiveRule(P,q)},this);let J=k(...q.map(P=>x((ne||{}).rules||[],ce=>ce._id===P)).map(P=>P&&P.chartOptions));J.isResponsiveOptions=!0,q=q.toString()||void 0;let H=U&&U.ruleIds;q===H||(U&&(this.currentResponsive=void 0,this.updatingResponsive=!0,this.update(U.undoOptions,Y,!0),this.updatingResponsive=!1),q?((X=y(J,this.options,!0,this.collectionsWithUpdate)).isResponsiveOptions=!0,this.currentResponsive={ruleIds:q,mergedOptions:J,undoOptions:X},this.updatingResponsive||this.update(J,Y,!0)):this.currentResponsive=void 0)}W.compose=function(Y){let se=Y.prototype;return se.matchResponsiveRule||v(se,{matchResponsiveRule:Q,setResponsive:E}),Y}}(f||(f={})),f}),c(o,"masters/highcharts.src.js",[o["Core/Globals.js"],o["Core/Utilities.js"],o["Core/Defaults.js"],o["Core/Animation/Fx.js"],o["Core/Animation/AnimationUtilities.js"],o["Core/Renderer/HTML/AST.js"],o["Core/Templating.js"],o["Core/Renderer/RendererRegistry.js"],o["Core/Renderer/RendererUtilities.js"],o["Core/Renderer/SVG/SVGElement.js"],o["Core/Renderer/SVG/SVGRenderer.js"],o["Core/Renderer/HTML/HTMLElement.js"],o["Core/Axis/Axis.js"],o["Core/Axis/DateTimeAxis.js"],o["Core/Axis/LogarithmicAxis.js"],o["Core/Axis/PlotLineOrBand/PlotLineOrBand.js"],o["Core/Axis/Tick.js"],o["Core/Tooltip.js"],o["Core/Series/Point.js"],o["Core/Pointer.js"],o["Core/Legend/Legend.js"],o["Core/Legend/LegendSymbol.js"],o["Core/Chart/Chart.js"],o["Extensions/ScrollablePlotArea.js"],o["Core/Axis/Stacking/StackingAxis.js"],o["Core/Axis/Stacking/StackItem.js"],o["Core/Series/Series.js"],o["Core/Series/SeriesRegistry.js"],o["Series/Column/ColumnDataLabel.js"],o["Series/Pie/PieDataLabel.js"],o["Core/Series/DataLabel.js"],o["Extensions/OverlappingDataLabels.js"],o["Extensions/BorderRadius.js"],o["Core/Responsive.js"],o["Core/Color/Color.js"],o["Core/Time.js"]],function(d,f,y,v,x,k,D,B,W,Q,E,Y,se,ne,U,q,X,J,H,P,ce,ae,ee,L,Z,G,T,_,A,S,N,F,O,re,pe,g){return d.AST=k,d.Axis=se,d.Chart=ee,d.Color=pe,d.DataLabel=N,d.Fx=v,d.HTMLElement=Y,d.Legend=ce,d.LegendSymbol=ae,d.OverlappingDataLabels=d.OverlappingDataLabels||F,d.PlotLineOrBand=q,d.Point=H,d.Pointer=P,d.RendererRegistry=B,d.Series=T,d.SeriesRegistry=_,d.StackItem=G,d.SVGElement=Q,d.SVGRenderer=E,d.Templating=D,d.Tick=X,d.Time=g,d.Tooltip=J,d.animate=x.animate,d.animObject=x.animObject,d.chart=ee.chart,d.color=pe.parse,d.dateFormat=D.dateFormat,d.defaultOptions=y.defaultOptions,d.distribute=W.distribute,d.format=D.format,d.getDeferredAnimation=x.getDeferredAnimation,d.getOptions=y.getOptions,d.numberFormat=D.numberFormat,d.seriesType=_.seriesType,d.setAnimation=x.setAnimation,d.setOptions=y.setOptions,d.stop=x.stop,d.time=y.defaultTime,d.timers=v.timers,O.compose(d.Series,d.SVGElement,d.SVGRenderer),A.compose(d.Series.types.column),N.compose(d.Series),ne.compose(d.Axis),Y.compose(d.SVGRenderer),ce.compose(d.Chart),U.compose(d.Axis),F.compose(d.Chart),S.compose(d.Series.types.pie),q.compose(d.Chart,d.Axis),P.compose(d.Chart),re.compose(d.Chart),L.compose(d.Axis,d.Chart,d.Series),Z.compose(d.Axis,d.Chart,d.Series),J.compose(d.Pointer),f.extend(d,f),d}),o["masters/highcharts.src.js"]._modules=o,o["masters/highcharts.src.js"]})}(db)),db.exports}var GT=HT();const hb=qg(GT);var fb={exports:{}},PT=fb.exports,jS;function $T(){return jS||(jS=1,function(r,i){(function(o,c){r.exports=c(Ue)})(typeof self<"u"?self:PT,function(o){return function(c){function d(y){if(f[y])return f[y].exports;var v=f[y]={i:y,l:!1,exports:{}};return c[y].call(v.exports,v,v.exports,d),v.l=!0,v.exports}var f={};return d.m=c,d.c=f,d.d=function(y,v,x){d.o(y,v)||Object.defineProperty(y,v,{configurable:!1,enumerable:!0,get:x})},d.n=function(y){var v=y&&y.__esModule?function(){return y.default}:function(){return y};return d.d(v,"a",v),v},d.o=function(y,v){return Object.prototype.hasOwnProperty.call(y,v)},d.p="",d(d.s=0)}([function(c,d,f){function y(){return y=Object.assign?Object.assign.bind():function(U){for(var q=1;q<arguments.length;q++){var X=arguments[q];for(var J in X)Object.prototype.hasOwnProperty.call(X,J)&&(U[J]=X[J])}return U},y.apply(this,arguments)}function v(U){return B(U)||D(U)||k(U)||x()}function x(){throw new TypeError(`Invalid attempt to spread non-iterable instance.
|
|
80
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(U,q){if(U){if(typeof U=="string")return W(U,q);var X=Object.prototype.toString.call(U).slice(8,-1);return X==="Object"&&U.constructor&&(X=U.constructor.name),X==="Map"||X==="Set"?Array.from(U):X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X)?W(U,q):void 0}}function D(U){if(typeof Symbol<"u"&&U[Symbol.iterator]!=null||U["@@iterator"]!=null)return Array.from(U)}function B(U){if(Array.isArray(U))return W(U)}function W(U,q){(q==null||q>U.length)&&(q=U.length);for(var X=0,J=new Array(q);X<q;X++)J[X]=U[X];return J}function Q(U){"@babel/helpers - typeof";return(Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q})(U)}Object.defineProperty(d,"__esModule",{value:!0}),f.d(d,"HighchartsReact",function(){return ne});var E=f(1),Y=f.n(E),se=typeof window<"u"?E.useLayoutEffect:E.useEffect,ne=Object(E.memo)(Object(E.forwardRef)(function(U,q){var X=Object(E.useRef)(),J=Object(E.useRef)(),H=Object(E.useRef)(U.constructorType),P=Object(E.useRef)(U.highcharts);return se(function(){function ce(){var ee=U.highcharts||(typeof window>"u"?"undefined":Q(window))==="object"&&window.Highcharts,L=U.constructorType||"chart";ee?ee[L]?U.options?J.current=ee[L](X.current,U.options,U.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(J.current){if(U.allowChartUpdate!==!1)if(U.constructorType!==H.current||U.highcharts!==P.current)H.current=U.constructorType,P.current=U.highcharts,ce();else if(!U.immutable&&J.current){var ae;(ae=J.current).update.apply(ae,[U.options].concat(v(U.updateArgs||[!0,!0])))}else ce()}else ce()},[U.options,U.allowChartUpdate,U.updateArgs,U.containerProps,U.highcharts,U.constructorType]),se(function(){return function(){J.current&&(J.current.destroy(),J.current=null)}},[]),Object(E.useImperativeHandle)(q,function(){return{get chart(){return J.current},container:X}},[]),Y.a.createElement("div",y({},U.containerProps,{ref:X}))}));d.default=ne},function(c,d){c.exports=o}])})}(fb)),fb.exports}var VT=$T();const IT=qg(VT),Ot={"highchart-wrapper":"genius-sdk__Highchart-module__highchart-wrapper___sM-hD","legend-container":"genius-sdk__Highchart-module__legend-container___PF9Kl","legend-item":"genius-sdk__Highchart-module__legend-item___S61g8","legend-bullet":"genius-sdk__Highchart-module__legend-bullet___iqmNl","legend-table":"genius-sdk__Highchart-module__legend-table___sQOwt","highcharts-container":"genius-sdk__Highchart-module__highcharts-container___ygpjY","highcharts-title":"genius-sdk__Highchart-module__highcharts-title___vYLWj","highcharts-legend-item":"genius-sdk__Highchart-module__highcharts-legend-item___QKt2l","highcharts-axis-labels":"genius-sdk__Highchart-module__highcharts-axis-labels___0y1KO","highcharts-yaxis-labels":"genius-sdk__Highchart-module__highcharts-yaxis-labels___ZcIXe","highcharts-grid-line":"genius-sdk__Highchart-module__highcharts-grid-line___gITcn","highcharts-point":"genius-sdk__Highchart-module__highcharts-point___5Wqsl","highcharts-plot-background":"genius-sdk__Highchart-module__highcharts-plot-background___XvssF","custom-legend":"genius-sdk__Highchart-module__custom-legend___8txpT","custom-legend-item":"genius-sdk__Highchart-module__custom-legend-item___nUPlX","custom-legend-bullet":"genius-sdk__Highchart-module__custom-legend-bullet___3hLh2","custom-legend-text":"genius-sdk__Highchart-module__custom-legend-text___Ja4cM","custom-legend-value":"genius-sdk__Highchart-module__custom-legend-value___sMiwT","flex-row":"genius-sdk__Highchart-module__flex-row___qsVq8","highchart-loading":"genius-sdk__Highchart-module__highchart-loading___XW7h3",spin:"genius-sdk__Highchart-module__spin___H-wRz"};hb.setOptions({credits:{enabled:!1},colors:["#7856FF","#FEBBB2","#72BEF4","#1E90FF","#E377C2","#7FE1D8","#CB80DC","#5CB7AF","#1F77B4","#9467BD","#0F7EA0","#17BECF","#7F7F7F","#BCBD22","#A0872C","#006400","#B3596E","#4B0082","#4B6D8C"]});const qT=({text:r,maxLength:i=30,className:o="w-full"})=>r.length>i?K.jsxs("div",{className:`${Ot["whitespace-pre"]} ${Ot["text-ellipsis"]} ${Ot["overflow-hidden"]} ${Ot[o]}`,title:r,children:[r.slice(0,i),"..."]}):K.jsx("div",{className:`${Ot["whitespace-pre"]} ${Ot[o]}`,children:r}),YT=({item:r,isSelected:i,isHovered:o=!1,onClick:c,onMouseEnter:d,onMouseLeave:f,showValue:y=!1,maxWidth:v=200})=>{const x=i?Ot["opacity-100"]:Ot["opacity-60"],k=o?Ot["bg-gray-100"]:"";return K.jsxs("div",{className:`${Ot.flex} ${Ot["items-center"]} ${Ot["gap-2"]} ${Ot["cursor-pointer"]} ${Ot["select-none"]} ${Ot["transition-all"]} ${Ot["duration-200"]} ${x} ${k} ${Ot["font-medium"]} ${Ot["p-1"]} ${Ot.rounded}`,onClick:()=>c(r),onMouseEnter:()=>d(r),onMouseLeave:f,style:{maxWidth:`${v}px`},children:[K.jsx("div",{className:`${Ot["w-3"]} ${Ot["h-3"]} ${Ot["rounded-sm"]}`,style:{backgroundColor:r.color}}),K.jsx(qT,{text:r.name,maxLength:v/8,className:Ot["flex-1"]}),y&&r.overallValue&&K.jsxs(K.Fragment,{children:[K.jsx("div",{className:`${Ot["w-px"]} ${Ot["h-2.5"]} ${Ot["bg-gray-300"]}`}),K.jsx("div",{className:`${Ot["text-xs"]} ${Ot["font-medium"]} ${Ot["text-gray-600"]}`,children:r.overallValue})]})]})},pb=({legendData:r,selectedRows:i,hoveredItem:o,onItemClick:c,onItemHover:d,legendType:f,position:y,maxItems:v=10,responsive:x=!0})=>{const[k,D]=Ue.useState(!1),B=x&&window.innerWidth<=768,W=k?r:r.slice(0,v),Q=r.length>v,E=Ue.useCallback(q=>{c(q)},[c]),Y=Ue.useCallback(q=>{d(q)},[d]),ne=y==="top"||y==="bottom"?`${Ot["flex-row"]} ${Ot["flex-wrap"]}`:Ot["flex-col"],U=`${Ot.flex} ${ne} ${Ot["gap-4"]} ${Ot["p-4"]}`;return f==="Table"?K.jsx("div",{className:U,children:K.jsxs("div",{className:Ot["w-full"],children:[K.jsxs("table",{className:`${Ot["w-full"]} ${Ot["text-sm"]}`,children:[K.jsx("thead",{children:K.jsxs("tr",{className:Ot["border-b"],children:[K.jsx("th",{className:`${Ot["text-left"]} ${Ot["p-2"]}`,children:"Series"}),K.jsx("th",{className:`${Ot["text-right"]} ${Ot["p-2"]}`,children:"Value"})]})}),K.jsx("tbody",{children:W.map(q=>K.jsxs("tr",{className:`${Ot["cursor-pointer"]} ${Ot["hover:bg-gray-50"]} ${i.includes(q.name)?Ot["bg-blue-50"]:""} ${(o==null?void 0:o.name)===q.name?Ot["bg-gray-100"]:""}`,onClick:()=>E(q),onMouseEnter:()=>Y(q),onMouseLeave:()=>Y(null),children:[K.jsx("td",{className:Ot["p-2"],children:K.jsxs("div",{className:`${Ot.flex} ${Ot["items-center"]} ${Ot["gap-2"]}`,children:[K.jsx("div",{className:`${Ot["w-3"]} ${Ot["h-3"]} ${Ot["rounded-sm"]}`,style:{backgroundColor:q.color}}),K.jsx("span",{children:q.name})]})}),K.jsx("td",{className:`${Ot["p-2"]} ${Ot["text-right"]}`,children:q.overallValue||q.value||"-"})]},q.name))})]}),Q&&K.jsx("button",{className:`${Ot["mt-2"]} ${Ot["text-blue-600"]} ${Ot["hover:text-blue-800"]} ${Ot["text-sm"]}`,onClick:()=>D(!k),children:k?"Show less":`+${r.length-v} more`})]})}):K.jsxs("div",{className:U,children:[W.map(q=>K.jsx(YT,{item:q,isSelected:i.length===0||i.includes(q.name),isHovered:(o==null?void 0:o.name)===q.name,onClick:E,onMouseEnter:Y,onMouseLeave:()=>Y(null),showValue:!0,maxWidth:B?150:200},q.name)),Q&&K.jsx("button",{className:`${Ot["text-blue-600"]} ${Ot["hover:text-blue-800"]} ${Ot["text-sm"]} ${Ot["px-2"]} ${Ot["py-1"]} ${Ot.rounded}`,onClick:()=>D(!k),children:k?"Show less":`+${r.length-v} more`})]})},RS=(r,i)=>{const o=new Set;return r.forEach(c=>{const d=String(c[i]||"");d&&o.add(d)}),Array.from(o)},XT=r=>{switch(r){case"TOP_3":return 3;case"TOP_5":return 5;case"TOP_10":return 10;case"TOP_15":return 15;case"TOP_20":return 20;default:return 5}},FT=(r,i,o,c)=>{const d=RS(r,i),f=XT(c),v=d.map(x=>{const D=r.filter(B=>String(B[i])===x).reduce((B,W)=>B+Number(W[o]||0),0);return{groupbyValue:x,total:D}}).sort((x,k)=>k.total-x.total).slice(0,f).map(x=>x.groupbyValue);return r.filter(x=>v.includes(String(x[i])))},ZT=(r,i,o,c,d)=>{const f=RS(r,o),y=hb.getOptions().colors||[];return f.map((v,x)=>{const B=r.filter(E=>String(E[o])===v).sort((E,Y)=>{const se=new Date(String(E[i])).getTime(),ne=new Date(String(Y[i])).getTime();return se-ne}).map(E=>{const Y=new Date(String(E[i])).getTime(),se=Number(E[c]||0);return[Y,se]}),W=d?d(v):v,Q=y[x%y.length];return{type:"line",name:W,data:B,color:Q,marker:{enabled:!1,states:{hover:{enabled:!0}}}}})},QT=r=>r.split(" ").map(i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()).join(" "),WT=r=>r.split("_").map(i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()).join(" "),JT=({options:r,showLegend:i=!1,legendType:o="Points",legendPosition:c="bottom",legendData:d=[],selectedRows:f=[],onLegendItemClick:y,onLegendItemHover:v,className:x="",chartRef:k,responsive:D=!0,maxLegendItems:B=10,rawChartData:W=[],groupbyConfig:Q,selectedMetrics:E,enableGroupby:Y=!1,dimensionLabelMapper:se})=>{console.log("chart data",r);const[ne,U]=Ue.useState([]),[q,X]=Ue.useState(null),J=Ue.useRef(null),H=k||J,P=Ue.useMemo(()=>{if(!Y||!W.length||!Q)return r;const{groupbyKey:_,timeColumn:A,metricColumn:S,cardinality:N="TOP_5",showCardinality:F=!0}=Q;let O=W;F&&(O=FT(W,_,S,N));const re=ZT(O,A,_,S,se),pe=(E==null?void 0:E.metric_label)||WT(S);return{...r,title:{text:pe,style:{fontSize:"16px",fontWeight:"bold",padding:"12px"}},xAxis:{...r.xAxis,type:"datetime",tickAmount:6,labels:{rotation:0,style:{textOverflow:"none",color:"#9aa0a6",fontSize:"10px"}},lineColor:"#9aa0a6",gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Solid",crosshair:!1,tickmarkPlacement:"on",alignTicks:!0},yAxis:{...r.yAxis,title:{text:(E==null?void 0:E.metric_label)||""},labels:{...typeof r.yAxis=="object"&&"labels"in r.yAxis?r.yAxis.labels:{},style:{fontSize:"10px",color:"#9aa0a6",...typeof r.yAxis=="object"&&"labels"in r.yAxis&&r.yAxis.labels&&typeof r.yAxis.labels=="object"&&"style"in r.yAxis.labels?r.yAxis.labels.style:{}}},gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Dash"},series:re,plotOptions:{line:{marker:{enabled:!1,states:{hover:{enabled:!0}}}},...r.plotOptions},tooltip:{shared:!1,xDateFormat:"%Y-%m-%d %H:%M:%S",...r.tooltip},legend:{enabled:i&&o==="Points",align:"left",verticalAlign:c==="top"?"top":"bottom",layout:"horizontal",itemStyle:{fontSize:"12px"},x:0,floating:!1}}},[r,Y,W,Q,E,i,o,c,se]),ce=f.length>0?f:ne,ae=Ue.useCallback(_=>{var N;const A=ce.includes(_.name)?ce.filter(F=>F!==_.name):[...ce,_.name],S=A.length===d.length?[]:A;if(U(S),(N=H.current)!=null&&N.chart){const F=H.current.chart;F.series.forEach(O=>{S.length===0?O.setVisible(!0,!1):O.setVisible(S.includes(O.name||""),!1)}),F.redraw()}y==null||y(_)},[ce,d,H,y]),ee=Ue.useCallback(_=>{X(_),v==null||v(_)},[v]),L=Ue.useMemo(()=>{var F,O;const _=P,A=typeof _.xAxis=="object"&&"labels"in _.xAxis?_.xAxis.labels:{},S=A&&typeof A=="object"&&"step"in A?A.step:1,N={..._,xAxis:{..._.xAxis,labels:{...A,rotation:0,step:S,style:{textOverflow:"none",color:"#9aa0a6",fontSize:"10px"}},lineColor:"#9aa0a6",gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Solid",tickAmount:6,crosshair:!1,tickmarkPlacement:"on",alignTicks:!0},legend:{enabled:i&&o==="Points",align:"left",verticalAlign:c==="top"?"top":"bottom",layout:"horizontal",itemStyle:{fontSize:"12px"},x:0,floating:!1,..._.legend},yAxis:{..._.yAxis,gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Dash",labels:{...typeof _.yAxis=="object"&&"labels"in _.yAxis?_.yAxis.labels:{},style:{fontSize:"10px",color:"#9aa0a6",...typeof _.yAxis=="object"&&"labels"in _.yAxis&&_.yAxis.labels&&typeof _.yAxis.labels=="object"&&"style"in _.yAxis.labels?_.yAxis.labels.style:{}}}},tooltip:{..._.tooltip,shared:!1,xDateFormat:"%Y-%m-%d %H:%M:%S"}};return(F=_.title)!=null&&F.text?{...N,title:{..._.title,text:QT(_.title.text),style:{...(O=_.title)==null?void 0:O.style,padding:"12px"}}}:N},[P,i,o,c]),Z=Ue.useMemo(()=>{if(d.length>0)return d;const _=L;return _.series?_.series.map((A,S)=>{const N=A,F=N.color,O=hb.getOptions().colors||[],re=typeof F=="string"?F:O[S%O.length];return{name:N.name||`Series ${S+1}`,color:re,visible:N.visible!==!1,data:N.data||[],value:Array.isArray(N.data)&&N.data.length>0?N.data[N.data.length-1]:void 0}}):[]},[d,L]),G=c==="left"||c==="right",T=`${Ot["highchart-wrapper"]} ${x} ${G?`${Ot.flex} ${Ot["flex-row"]}`:`${Ot.flex} ${Ot["flex-col"]}`}`;return K.jsx(ff,{children:K.jsxs("div",{className:T,children:[i&&c==="top"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D}),K.jsx("div",{className:`${G?Ot["flex-1"]:Ot["w-full"]} ${i&&c==="left"?Ot["order-2"]:""}`,children:K.jsx(IT,{highcharts:hb,options:L,ref:H})}),i&&c==="right"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D}),i&&c==="left"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D}),i&&c==="bottom"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D})]})})},dt={"genius-dashboard-backdrop":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-backdrop___1dyxh",visible:"genius-sdk__GeniusChatbotDashboard-module__visible___ojnlM","genius-dashboard-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW",expanded:"genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H","genius-dashboard-input-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH","genius-dashboard-input":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1","genius-dashboard-top-bar":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-top-bar___3z76Q","genius-dashboard-icons-left":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-left___22uJz","genius-dashboard-icons-right":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-right___C5UjC","genius-dashboard-icon-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI","with-text":"genius-sdk__GeniusChatbotDashboard-module__with-text___skVCO","genius-dashboard-back-text":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-back-text___Od1bW","genius-dashboard-body":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34","genius-dashboard-conversation":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq","genius-dashboard-branding":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-branding___7PzdS","genius-dashboard-logo-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo-container___zHKb3","genius-dashboard-logo":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo___oWWc4","genius-dashboard-welcome":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M","genius-dashboard-suggestions":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8","genius-dashboard-suggestion":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a","genius-dashboard-input-area":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ","genius-dashboard-input-actions":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-actions___YK8kC","genius-dashboard-attachment-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc","genius-dashboard-voice-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-container___B-AOf","genius-dashboard-microphone-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0","genius-dashboard-send-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm","genius-dashboard-cancel-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg","genius-dashboard-retry-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu","genius-dashboard-send-retry-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-retry-container___yxRGt","genius-dashboard-security-info":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO","genius-dashboard-messages-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-messages-container___8m6PY","genius-dashboard-scroll-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-scroll-button___YMYFi","genius-dashboard-message":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW",user:"genius-sdk__GeniusChatbotDashboard-module__user___5X16B","genius-dashboard-message-bubble":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg","genius-dashboard-message-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5",assistant:"genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b","genius-dashboard-thinking":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk","genius-dashboard-assistant-icon":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s",ellipsis:"genius-sdk__GeniusChatbotDashboard-module__ellipsis___kKDif","genius-dashboard-voice-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1","genius-dashboard-voice-recording-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ","genius-dashboard-voice-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR","genius-dashboard-voice-controls":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-controls___P235l","voice-active":"genius-sdk__GeniusChatbotDashboard-module__voice-active___qB2ym","genius-dashboard-history-overlay":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-overlay___zDkbs","genius-dashboard-history-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-container___ecQs7","genius-dashboard-history-header":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header___zjLS-","genius-dashboard-history-header-left":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header-left___mWOQO","genius-dashboard-history-back":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K","genius-dashboard-history-actions":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-actions___lqL15","genius-dashboard-history-action":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n","genius-dashboard-history-list":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4","genius-dashboard-history-item":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl","genius-dashboard-history-item-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-content___feueq","genius-dashboard-history-item-title":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-title___YJNj8","genius-dashboard-history-item-date":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-date___dlGyR","genius-dashboard-single-stat-card":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-card___v4WS2","genius-dashboard-single-stat-title":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-title___yod6C","genius-dashboard-single-stat-value":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-value___Hyo-h","genius-dashboard-table-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-container___FxxTR","genius-dashboard-table-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd","genius-dashboard-table":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table___wpMRb","genius-dashboard-table-head":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head___rdA-0","genius-dashboard-table-head-row":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-row___VpPSu","genius-dashboard-table-head-cell":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-cell___8eVeo","genius-dashboard-table-head-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-content___CwrnG","genius-dashboard-table-body":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-body___bElU6","genius-dashboard-table-row":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1","genius-dashboard-table-cell":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell___7wz17","genius-dashboard-table-cell-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell-content___5Wdi8","genius-dashboard-pagination":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination___Saw-v","genius-dashboard-pagination-info":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-info___G6snm","genius-dashboard-page-controls":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8","genius-dashboard-page-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8",active:"genius-sdk__GeniusChatbotDashboard-module__active___odK6T","genius-dashboard-pagination-dots":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-dots___lYvds","genius-dashboard-chart-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-chart-container___JDX-b","genius-dashboard-single-stat-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-wrapper___70ycH","genius-dashboard-table-wrapper-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper-container___plSHR","genius-dashboard-single-stat":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat___LF3B2","genius-dashboard-description":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF","genius-dashboard-value-pill":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-value-pill___JXBgS","genius-dashboard-history-loading":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-loading___GoUb2","genius-dashboard-history-empty":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-empty___yZcdH","genius-dashboard-history-item-delete":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq","single-line":"genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP","single-line-input":"genius-sdk__GeniusChatbotDashboard-module__single-line-input___KZ0ag","genius-dashboard-message-content-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content-wrapper___xUicT","genius-dashboard-retry-button-inline":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button-inline___ynxrN","genius-dashboard-action-buttons":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-action-buttons___bHBgd","genius-dashboard-like-button-inline":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm","genius-dashboard-dislike-button-inline":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54","genius-dashboard-feedback-overlay":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-overlay___DDtOF","genius-dashboard-feedback-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-container___-v-cr","genius-dashboard-feedback-header":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-header___ePdx4","genius-dashboard-feedback-icons-left":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-left___5weo7","genius-dashboard-feedback-icons-right":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-right___A-hiJ","genius-dashboard-feedback-icon-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK","genius-dashboard-feedback-body":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-body___vGLbY","genius-dashboard-feedback-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-content___s2-PA","genius-dashboard-feedback-icon":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon___QOTA1","genius-dashboard-feedback-title":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-title___ttd2-","genius-dashboard-feedback-options":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-options___sTDuz","genius-dashboard-feedback-option":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5",selected:"genius-sdk__GeniusChatbotDashboard-module__selected___rX0Dk","genius-dashboard-feedback-textarea-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea-container___7V-Y8","genius-dashboard-feedback-label":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-label___CCyHp","genius-dashboard-feedback-textarea":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA","genius-dashboard-feedback-error":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-error___TC-hH","genius-dashboard-feedback-submit":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM"},KT=r=>r?r.replace(/_/g," ").split(" ").map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join(" "):"Unknown",e5=(r,i)=>{if(i==null||i==="")return"N/A";let o;if(typeof i=="string"){const d=i.replace(/[^0-9.-]/g,"");o=parseFloat(d)}else o=i;if(isNaN(o))return String(i);const c=r.toLowerCase();return c.includes("rate")||c.includes("percentage")||c.includes("percent")?`${o}%`:c.includes("latency")||c.includes("time")||c.includes("duration")?`${o}S`:c.includes("volume")||c.includes("count")||c.includes("amount")||c.includes("total")||c.includes("transaction")||c.includes("order")||c.includes("number")||c.includes("quantity")?o>=1e7?`${(o/1e7).toFixed(1)} Cr`:o>=1e5?`${(o/1e5).toFixed(1)} L`:o>=1e3?`${(o/1e3).toFixed(1)} K`:o%1!==0?o.toFixed(2):o.toLocaleString("en-IN"):String(o)},t5=({metric:r,value:i})=>K.jsxs("div",{className:dt["genius-dashboard-single-stat-card"],children:[K.jsx("div",{className:dt["genius-dashboard-single-stat-title"],children:KT(r)}),K.jsx("div",{className:dt["genius-dashboard-single-stat-value"],children:e5(r,i)})]}),n5=({data:r})=>{const[i,o]=Ue.useState(1),c=5;if(!r||r.length===0)return null;const d=Object.keys(r[0]),f=[],y=[];d.forEach(Y=>{var ne;typeof((ne=r.find(U=>U[Y]!==null&&U[Y]!==void 0))==null?void 0:ne[Y])=="string"||Y.toLowerCase().includes("name")||Y.toLowerCase().includes("id")?f.push(Y):y.push(Y)});const v=[...f,...y],x=i*c,k=x-c,D=r.slice(k,x),B=Math.ceil(r.length/c),W=Y=>{o(Y)},Q=()=>{const se=[],ne=[];let U;se.push(1);for(let q=i-2;q<=i+2;q++)q>1&&q<B&&se.push(q);return B>1&&se.push(B),se.forEach(q=>{U!==void 0&&typeof q=="number"&&(q-U===2?ne.push(U+1):q-U!==1&&ne.push("...")),ne.push(q),U=typeof q=="number"?q:U}),ne},E=(Y,se)=>{if(Y==null||Y==="")return"N/A";const ne=typeof Y=="string"?parseFloat(Y):Y;if(isNaN(ne))return String(Y);const U=se.toLowerCase();if(U.includes("rate")||U.includes("percentage")||U.includes("percent"))return`${ne}%`;if(U.includes("latency")||U.includes("time")||U.includes("duration"))return`${ne}S`;if(U.includes("volume")||U.includes("count")||U.includes("amount")||U.includes("total")){if(ne>=1e7)return`${(ne/1e7).toFixed(1)}Cr`;if(ne>=1e5)return`${(ne/1e5).toFixed(1)}L`;if(ne>=1e3)return`${(ne/1e3).toFixed(1)}K`}return U.includes("price")||U.includes("cost")?new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2}).format(ne):U.includes("quantity")?new Intl.NumberFormat("en-US").format(ne):typeof Y=="number"?new Intl.NumberFormat("en-US").format(Y):Y.toString()};return K.jsxs("div",{className:dt["genius-dashboard-table-container"],"data-loaded-table":"genius-table",children:[K.jsx("div",{className:dt["genius-dashboard-table-wrapper"],children:K.jsxs("table",{className:dt["genius-dashboard-table"],children:[K.jsx("thead",{className:dt["genius-dashboard-table-head"],children:K.jsx("tr",{className:dt["genius-dashboard-table-head-row"],children:v.map(Y=>K.jsx("th",{className:`${dt["genius-dashboard-table-head-cell"]} ${dt["text-left"]}`,children:K.jsx("div",{className:dt["genius-dashboard-table-head-content"],children:Y.replace(/_/g," ")})},Y))})}),K.jsx("tbody",{className:dt["genius-dashboard-table-body"],children:D.map((Y,se)=>K.jsx("tr",{className:dt["genius-dashboard-table-row"],children:v.map(ne=>K.jsx("td",{className:dt["genius-dashboard-table-cell"],children:K.jsx("div",{className:dt["genius-dashboard-table-cell-content"],children:E(Y[ne],ne)})},ne))},se))})]})}),r.length>c&&K.jsxs("div",{className:dt["genius-dashboard-pagination"],children:[K.jsxs("span",{className:dt["genius-dashboard-pagination-info"],children:["Showing ",k+1," - ",Math.min(x,r.length)," of ",r.length]}),K.jsxs("div",{className:dt["genius-dashboard-page-controls"],children:[K.jsx("button",{onClick:()=>W(i-1),disabled:i===1,className:dt["genius-dashboard-page-button"],children:"←"}),Q().map((Y,se)=>Y==="..."?K.jsx("span",{className:dt["genius-dashboard-pagination-dots"],children:"..."},`dots-${se}`):K.jsx("button",{onClick:()=>W(Y),className:`${dt["genius-dashboard-page-button"]} ${i===Y?dt.active:""}`,children:Y},Y)),K.jsx("button",{onClick:()=>W(i+1),disabled:i===B,className:dt["genius-dashboard-page-button"],children:"→"})]})]})]})},LS=({message:r,showIcon:i=!0,onTypingStateChange:o,skipAnimation:c=!1,onRetry:d,isLastMessage:f=!1,onDislike:y,endpoint:v="https://genius.juspay.in/api/v3/analytics/"})=>{const x=Ue.useRef(null),k=Ue.useRef(!1),D=c||r.skipAnimation||!1,[B,W]=Ue.useState(D),[Q,E]=Ue.useState(!1),[Y,se]=Ue.useState(r.hasDisliked||!1);Ue.useEffect(()=>{o&&r.content&&!k.current&&!D&&(k.current=!0,o(!0))},[r.content,D,o]),Ue.useEffect(()=>{se(r.hasDisliked||!1)},[r.hasDisliked]);const ne=()=>{},U=Ue.useCallback(()=>{o&&o(!1),W(!0)},[o]),q=async()=>{const H=localStorage.getItem("login")||"";if(console.log("handleLike called",{feedbackId:r.feedbackId,localToken:H?"present":"missing",hasLiked:Q,message:r}),!r.feedbackId||!H||Q){console.log("Early return:",{noFeedbackId:!r.feedbackId,noToken:!H,alreadyLiked:Q});return}try{const P=v.replace(/\/api\/v3\/analytics\/?$/,""),ce=`Basic ${btoa(H+":")}`;console.log("Making feedback API call to:",`${P}/api/v3/analytics/feedback`);const ae=await fetch(`${P}/api/v3/analytics/feedback`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:ce},body:JSON.stringify({id:r.feedbackId,feedbackEnum:"LIKE",feedbackText:"LIKE"})});console.log("Response status:",ae.status),ae.ok?(E(!0),se(!1),console.log("Feedback submitted successfully")):console.error("Failed to submit feedback",ae.status,ae.statusText)}catch(P){console.error("Error submitting feedback:",P)}},X=()=>{!r.feedbackId||Y||(se(!0),y&&y())},J=H=>{let P=Bn.parse(H);return P=P.replace(/<table>/g,`<div class="${dt["genius-dashboard-table-wrapper"]}"><table>`).replace(/<\/table>/g,"</table></div>"),P=P.replace(/<a\s+href=/g,'<a target="_blank" rel="noopener noreferrer" href='),{__html:P}};return K.jsxs("div",{className:`${dt["genius-dashboard-message"]} ${dt.assistant}`,children:[i&&K.jsx("div",{className:dt["genius-dashboard-assistant-icon"],children:K.jsx(ub,{})}),K.jsxs("div",{className:dt["genius-dashboard-message-bubble"],children:[r.description&&K.jsx("div",{className:dt["genius-dashboard-description"],dangerouslySetInnerHTML:{__html:r.description}}),r.chartData&&K.jsx("div",{className:dt["genius-dashboard-chart-container"],children:K.jsx(JT,{options:r.chartData})}),r.singleStat&&K.jsx("div",{className:dt["genius-dashboard-single-stat-wrapper"],children:K.jsx(t5,{metric:r.singleStat.metric,value:r.singleStat.value})}),r.tableData&&K.jsx("div",{className:dt["genius-dashboard-table-wrapper-container"],children:K.jsx(n5,{data:r.tableData})}),r.content&&K.jsxs("div",{className:dt["genius-dashboard-message-content-wrapper"],children:[K.jsx("div",{ref:x,className:dt["genius-dashboard-message-content"],children:D?K.jsx("div",{dangerouslySetInnerHTML:J(r.content)}):K.jsx(BT,{text:r.content,onUpdate:ne,onTypingComplete:U})}),(D||B)&&!r.isFromHistory&&K.jsxs("div",{className:dt["genius-dashboard-action-buttons"],children:[K.jsx("button",{className:`${dt["genius-dashboard-like-button-inline"]} ${Q?dt.liked:""}`,onClick:q,"aria-label":"Like",title:Q?"Liked":"Like",disabled:Q,children:Q?K.jsx(NT,{}):K.jsx(RT,{})}),K.jsx("button",{className:`${dt["genius-dashboard-dislike-button-inline"]} ${Y?dt.disliked:""}`,onClick:X,"aria-label":"Dislike",title:Y?"Disliked":"Dislike",disabled:Y,children:Y?K.jsx(zT,{}):K.jsx(LT,{})}),d&&f&&K.jsx("button",{className:dt["genius-dashboard-retry-button-inline"],onClick:d,"aria-label":"Retry",title:"Retry",children:K.jsx(jT,{})})]})]})]})]})},jl=r=>`<span>${r}</span>`,gb=(r,i=!1)=>{const o=i?3:5,c=[];let d=null;r.forEach(v=>{const x=v.includes("||"),k=v.includes("&&");if(d===null)x&&!k?d=v:c.push(v);else if(k){const D=`${d} ${v}`;c.push(D),d=null}else d=`${d} ${v}`}),d!==null&&c.push(d);const f=c.map(v=>v.replace(/\|\|/g,`<span style="background-color: #f5f5f5; display: inline-block; font-family: 'Roboto Mono', monospace; white-space: nowrap; border-radius: 6px; padding: 6px; margin: 0 4px; font-weight: 500; font-size: 12px; margin-bottom: 4px;">`).replace(/&&/g,"</span>"));if(f.length<=o)return f.join(" ");{const v=Math.random().toString().replace(".","").slice(0,8),x=f.slice(0,o),k=f.slice(o),D=`
|
|
80
|
+
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function k(U,q){if(U){if(typeof U=="string")return W(U,q);var X=Object.prototype.toString.call(U).slice(8,-1);return X==="Object"&&U.constructor&&(X=U.constructor.name),X==="Map"||X==="Set"?Array.from(U):X==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(X)?W(U,q):void 0}}function D(U){if(typeof Symbol<"u"&&U[Symbol.iterator]!=null||U["@@iterator"]!=null)return Array.from(U)}function B(U){if(Array.isArray(U))return W(U)}function W(U,q){(q==null||q>U.length)&&(q=U.length);for(var X=0,J=new Array(q);X<q;X++)J[X]=U[X];return J}function Q(U){"@babel/helpers - typeof";return(Q=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(q){return typeof q}:function(q){return q&&typeof Symbol=="function"&&q.constructor===Symbol&&q!==Symbol.prototype?"symbol":typeof q})(U)}Object.defineProperty(d,"__esModule",{value:!0}),f.d(d,"HighchartsReact",function(){return ne});var E=f(1),Y=f.n(E),se=typeof window<"u"?E.useLayoutEffect:E.useEffect,ne=Object(E.memo)(Object(E.forwardRef)(function(U,q){var X=Object(E.useRef)(),J=Object(E.useRef)(),H=Object(E.useRef)(U.constructorType),P=Object(E.useRef)(U.highcharts);return se(function(){function ce(){var ee=U.highcharts||(typeof window>"u"?"undefined":Q(window))==="object"&&window.Highcharts,L=U.constructorType||"chart";ee?ee[L]?U.options?J.current=ee[L](X.current,U.options,U.callback):console.warn('The "options" property was not passed.'):console.warn('The "constructorType" property is incorrect or some required module is not imported.'):console.warn('The "highcharts" property was not passed.')}if(J.current){if(U.allowChartUpdate!==!1)if(U.constructorType!==H.current||U.highcharts!==P.current)H.current=U.constructorType,P.current=U.highcharts,ce();else if(!U.immutable&&J.current){var ae;(ae=J.current).update.apply(ae,[U.options].concat(v(U.updateArgs||[!0,!0])))}else ce()}else ce()},[U.options,U.allowChartUpdate,U.updateArgs,U.containerProps,U.highcharts,U.constructorType]),se(function(){return function(){J.current&&(J.current.destroy(),J.current=null)}},[]),Object(E.useImperativeHandle)(q,function(){return{get chart(){return J.current},container:X}},[]),Y.a.createElement("div",y({},U.containerProps,{ref:X}))}));d.default=ne},function(c,d){c.exports=o}])})}(fb)),fb.exports}var VT=$T();const IT=qg(VT),Ot={"highchart-wrapper":"genius-sdk__Highchart-module__highchart-wrapper___sM-hD","legend-container":"genius-sdk__Highchart-module__legend-container___PF9Kl","legend-item":"genius-sdk__Highchart-module__legend-item___S61g8","legend-bullet":"genius-sdk__Highchart-module__legend-bullet___iqmNl","legend-table":"genius-sdk__Highchart-module__legend-table___sQOwt","highcharts-container":"genius-sdk__Highchart-module__highcharts-container___ygpjY","highcharts-title":"genius-sdk__Highchart-module__highcharts-title___vYLWj","highcharts-legend-item":"genius-sdk__Highchart-module__highcharts-legend-item___QKt2l","highcharts-axis-labels":"genius-sdk__Highchart-module__highcharts-axis-labels___0y1KO","highcharts-yaxis-labels":"genius-sdk__Highchart-module__highcharts-yaxis-labels___ZcIXe","highcharts-grid-line":"genius-sdk__Highchart-module__highcharts-grid-line___gITcn","highcharts-point":"genius-sdk__Highchart-module__highcharts-point___5Wqsl","highcharts-plot-background":"genius-sdk__Highchart-module__highcharts-plot-background___XvssF","custom-legend":"genius-sdk__Highchart-module__custom-legend___8txpT","custom-legend-item":"genius-sdk__Highchart-module__custom-legend-item___nUPlX","custom-legend-bullet":"genius-sdk__Highchart-module__custom-legend-bullet___3hLh2","custom-legend-text":"genius-sdk__Highchart-module__custom-legend-text___Ja4cM","custom-legend-value":"genius-sdk__Highchart-module__custom-legend-value___sMiwT","flex-row":"genius-sdk__Highchart-module__flex-row___qsVq8","highchart-loading":"genius-sdk__Highchart-module__highchart-loading___XW7h3",spin:"genius-sdk__Highchart-module__spin___H-wRz"};hb.setOptions({credits:{enabled:!1},colors:["#7856FF","#FEBBB2","#72BEF4","#1E90FF","#E377C2","#7FE1D8","#CB80DC","#5CB7AF","#1F77B4","#9467BD","#0F7EA0","#17BECF","#7F7F7F","#BCBD22","#A0872C","#006400","#B3596E","#4B0082","#4B6D8C"]});const qT=({text:r,maxLength:i=30,className:o="w-full"})=>r.length>i?K.jsxs("div",{className:`${Ot["whitespace-pre"]} ${Ot["text-ellipsis"]} ${Ot["overflow-hidden"]} ${Ot[o]}`,title:r,children:[r.slice(0,i),"..."]}):K.jsx("div",{className:`${Ot["whitespace-pre"]} ${Ot[o]}`,children:r}),YT=({item:r,isSelected:i,isHovered:o=!1,onClick:c,onMouseEnter:d,onMouseLeave:f,showValue:y=!1,maxWidth:v=200})=>{const x=i?Ot["opacity-100"]:Ot["opacity-60"],k=o?Ot["bg-gray-100"]:"";return K.jsxs("div",{className:`${Ot.flex} ${Ot["items-center"]} ${Ot["gap-2"]} ${Ot["cursor-pointer"]} ${Ot["select-none"]} ${Ot["transition-all"]} ${Ot["duration-200"]} ${x} ${k} ${Ot["font-medium"]} ${Ot["p-1"]} ${Ot.rounded}`,onClick:()=>c(r),onMouseEnter:()=>d(r),onMouseLeave:f,style:{maxWidth:`${v}px`},children:[K.jsx("div",{className:`${Ot["w-3"]} ${Ot["h-3"]} ${Ot["rounded-sm"]}`,style:{backgroundColor:r.color}}),K.jsx(qT,{text:r.name,maxLength:v/8,className:Ot["flex-1"]}),y&&r.overallValue&&K.jsxs(K.Fragment,{children:[K.jsx("div",{className:`${Ot["w-px"]} ${Ot["h-2.5"]} ${Ot["bg-gray-300"]}`}),K.jsx("div",{className:`${Ot["text-xs"]} ${Ot["font-medium"]} ${Ot["text-gray-600"]}`,children:r.overallValue})]})]})},pb=({legendData:r,selectedRows:i,hoveredItem:o,onItemClick:c,onItemHover:d,legendType:f,position:y,maxItems:v=10,responsive:x=!0})=>{const[k,D]=Ue.useState(!1),B=x&&window.innerWidth<=768,W=k?r:r.slice(0,v),Q=r.length>v,E=Ue.useCallback(q=>{c(q)},[c]),Y=Ue.useCallback(q=>{d(q)},[d]),ne=y==="top"||y==="bottom"?`${Ot["flex-row"]} ${Ot["flex-wrap"]}`:Ot["flex-col"],U=`${Ot.flex} ${ne} ${Ot["gap-4"]} ${Ot["p-4"]}`;return f==="Table"?K.jsx("div",{className:U,children:K.jsxs("div",{className:Ot["w-full"],children:[K.jsxs("table",{className:`${Ot["w-full"]} ${Ot["text-sm"]}`,children:[K.jsx("thead",{children:K.jsxs("tr",{className:Ot["border-b"],children:[K.jsx("th",{className:`${Ot["text-left"]} ${Ot["p-2"]}`,children:"Series"}),K.jsx("th",{className:`${Ot["text-right"]} ${Ot["p-2"]}`,children:"Value"})]})}),K.jsx("tbody",{children:W.map(q=>K.jsxs("tr",{className:`${Ot["cursor-pointer"]} ${Ot["hover:bg-gray-50"]} ${i.includes(q.name)?Ot["bg-blue-50"]:""} ${(o==null?void 0:o.name)===q.name?Ot["bg-gray-100"]:""}`,onClick:()=>E(q),onMouseEnter:()=>Y(q),onMouseLeave:()=>Y(null),children:[K.jsx("td",{className:Ot["p-2"],children:K.jsxs("div",{className:`${Ot.flex} ${Ot["items-center"]} ${Ot["gap-2"]}`,children:[K.jsx("div",{className:`${Ot["w-3"]} ${Ot["h-3"]} ${Ot["rounded-sm"]}`,style:{backgroundColor:q.color}}),K.jsx("span",{children:q.name})]})}),K.jsx("td",{className:`${Ot["p-2"]} ${Ot["text-right"]}`,children:q.overallValue||q.value||"-"})]},q.name))})]}),Q&&K.jsx("button",{className:`${Ot["mt-2"]} ${Ot["text-blue-600"]} ${Ot["hover:text-blue-800"]} ${Ot["text-sm"]}`,onClick:()=>D(!k),children:k?"Show less":`+${r.length-v} more`})]})}):K.jsxs("div",{className:U,children:[W.map(q=>K.jsx(YT,{item:q,isSelected:i.length===0||i.includes(q.name),isHovered:(o==null?void 0:o.name)===q.name,onClick:E,onMouseEnter:Y,onMouseLeave:()=>Y(null),showValue:!0,maxWidth:B?150:200},q.name)),Q&&K.jsx("button",{className:`${Ot["text-blue-600"]} ${Ot["hover:text-blue-800"]} ${Ot["text-sm"]} ${Ot["px-2"]} ${Ot["py-1"]} ${Ot.rounded}`,onClick:()=>D(!k),children:k?"Show less":`+${r.length-v} more`})]})},RS=(r,i)=>{const o=new Set;return r.forEach(c=>{const d=String(c[i]||"");d&&o.add(d)}),Array.from(o)},XT=r=>{switch(r){case"TOP_3":return 3;case"TOP_5":return 5;case"TOP_10":return 10;case"TOP_15":return 15;case"TOP_20":return 20;default:return 5}},FT=(r,i,o,c)=>{const d=RS(r,i),f=XT(c),v=d.map(x=>{const D=r.filter(B=>String(B[i])===x).reduce((B,W)=>B+Number(W[o]||0),0);return{groupbyValue:x,total:D}}).sort((x,k)=>k.total-x.total).slice(0,f).map(x=>x.groupbyValue);return r.filter(x=>v.includes(String(x[i])))},ZT=(r,i,o,c,d)=>{const f=RS(r,o),y=hb.getOptions().colors||[];return f.map((v,x)=>{const B=r.filter(E=>String(E[o])===v).sort((E,Y)=>{const se=new Date(String(E[i])).getTime(),ne=new Date(String(Y[i])).getTime();return se-ne}).map(E=>{const Y=new Date(String(E[i])).getTime(),se=Number(E[c]||0);return[Y,se]}),W=d?d(v):v,Q=y[x%y.length];return{type:"line",name:W,data:B,color:Q,marker:{enabled:!1,states:{hover:{enabled:!0}}}}})},QT=r=>r.split(" ").map(i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()).join(" "),WT=r=>r.split("_").map(i=>i.charAt(0).toUpperCase()+i.slice(1).toLowerCase()).join(" "),JT=({options:r,showLegend:i=!1,legendType:o="Points",legendPosition:c="bottom",legendData:d=[],selectedRows:f=[],onLegendItemClick:y,onLegendItemHover:v,className:x="",chartRef:k,responsive:D=!0,maxLegendItems:B=10,rawChartData:W=[],groupbyConfig:Q,selectedMetrics:E,enableGroupby:Y=!1,dimensionLabelMapper:se})=>{console.log("chart data",r);const[ne,U]=Ue.useState([]),[q,X]=Ue.useState(null),J=Ue.useRef(null),H=k||J,P=Ue.useMemo(()=>{if(!Y||!W.length||!Q)return r;const{groupbyKey:_,timeColumn:A,metricColumn:S,cardinality:N="TOP_5",showCardinality:F=!0}=Q;let O=W;F&&(O=FT(W,_,S,N));const re=ZT(O,A,_,S,se),pe=(E==null?void 0:E.metric_label)||WT(S);return{...r,title:{text:pe,style:{fontSize:"16px",fontWeight:"bold",padding:"12px"}},xAxis:{...r.xAxis,type:"datetime",tickAmount:6,labels:{rotation:0,style:{textOverflow:"none",color:"#9aa0a6",fontSize:"10px"}},lineColor:"#9aa0a6",gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Solid",crosshair:!1,tickmarkPlacement:"on",alignTicks:!0},yAxis:{...r.yAxis,title:{text:(E==null?void 0:E.metric_label)||""},labels:{...typeof r.yAxis=="object"&&"labels"in r.yAxis?r.yAxis.labels:{},style:{fontSize:"10px",color:"#9aa0a6",...typeof r.yAxis=="object"&&"labels"in r.yAxis&&r.yAxis.labels&&typeof r.yAxis.labels=="object"&&"style"in r.yAxis.labels?r.yAxis.labels.style:{}}},gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Dash"},series:re,plotOptions:{line:{marker:{enabled:!1,states:{hover:{enabled:!0}}}},...r.plotOptions},tooltip:{shared:!1,xDateFormat:"%Y-%m-%d %H:%M:%S",...r.tooltip},legend:{enabled:i&&o==="Points",align:"left",verticalAlign:c==="top"?"top":"bottom",layout:"horizontal",itemStyle:{fontSize:"12px"},x:0,floating:!1}}},[r,Y,W,Q,E,i,o,c,se]),ce=f.length>0?f:ne,ae=Ue.useCallback(_=>{var N;const A=ce.includes(_.name)?ce.filter(F=>F!==_.name):[...ce,_.name],S=A.length===d.length?[]:A;if(U(S),(N=H.current)!=null&&N.chart){const F=H.current.chart;F.series.forEach(O=>{S.length===0?O.setVisible(!0,!1):O.setVisible(S.includes(O.name||""),!1)}),F.redraw()}y==null||y(_)},[ce,d,H,y]),ee=Ue.useCallback(_=>{X(_),v==null||v(_)},[v]),L=Ue.useMemo(()=>{var F,O;const _=P,A=typeof _.xAxis=="object"&&"labels"in _.xAxis?_.xAxis.labels:{},S=A&&typeof A=="object"&&"step"in A?A.step:1,N={..._,xAxis:{..._.xAxis,labels:{...A,rotation:0,step:S,style:{textOverflow:"none",color:"#9aa0a6",fontSize:"10px"}},lineColor:"#9aa0a6",gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Solid",tickAmount:6,crosshair:!1,tickmarkPlacement:"on",alignTicks:!0},legend:{enabled:i&&o==="Points",align:"left",verticalAlign:c==="top"?"top":"bottom",layout:"horizontal",itemStyle:{fontSize:"12px"},x:0,floating:!1,..._.legend},yAxis:{..._.yAxis,gridLineWidth:1,gridLineColor:"#e5e5e5",gridLineDashStyle:"Dash",labels:{...typeof _.yAxis=="object"&&"labels"in _.yAxis?_.yAxis.labels:{},style:{fontSize:"10px",color:"#9aa0a6",...typeof _.yAxis=="object"&&"labels"in _.yAxis&&_.yAxis.labels&&typeof _.yAxis.labels=="object"&&"style"in _.yAxis.labels?_.yAxis.labels.style:{}}}},tooltip:{..._.tooltip,shared:!1,xDateFormat:"%Y-%m-%d %H:%M:%S"}};return(F=_.title)!=null&&F.text?{...N,title:{..._.title,text:QT(_.title.text),style:{...(O=_.title)==null?void 0:O.style,padding:"12px"}}}:N},[P,i,o,c]),Z=Ue.useMemo(()=>{if(d.length>0)return d;const _=L;return _.series?_.series.map((A,S)=>{const N=A,F=N.color,O=hb.getOptions().colors||[],re=typeof F=="string"?F:O[S%O.length];return{name:N.name||`Series ${S+1}`,color:re,visible:N.visible!==!1,data:N.data||[],value:Array.isArray(N.data)&&N.data.length>0?N.data[N.data.length-1]:void 0}}):[]},[d,L]),G=c==="left"||c==="right",T=`${Ot["highchart-wrapper"]} ${x} ${G?`${Ot.flex} ${Ot["flex-row"]}`:`${Ot.flex} ${Ot["flex-col"]}`}`;return K.jsx(ff,{children:K.jsxs("div",{className:T,children:[i&&c==="top"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D}),K.jsx("div",{className:`${G?Ot["flex-1"]:Ot["w-full"]} ${i&&c==="left"?Ot["order-2"]:""}`,children:K.jsx(IT,{highcharts:hb,options:L,ref:H})}),i&&c==="right"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D}),i&&c==="left"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D}),i&&c==="bottom"&&K.jsx(pb,{legendData:Z,selectedRows:ce,hoveredItem:q,onItemClick:ae,onItemHover:ee,legendType:o,position:c,maxItems:B,responsive:D})]})})},dt={"genius-dashboard-backdrop":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-backdrop___1dyxh",visible:"genius-sdk__GeniusChatbotDashboard-module__visible___ojnlM","genius-dashboard-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-container___PGPHW",expanded:"genius-sdk__GeniusChatbotDashboard-module__expanded___ngt3H","genius-dashboard-input-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-container___UTRzH","single-line":"genius-sdk__GeniusChatbotDashboard-module__single-line___VKYFP","genius-dashboard-input":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input___IImk1","genius-dashboard-top-bar":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-top-bar___3z76Q","genius-dashboard-icons-left":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-left___22uJz","genius-dashboard-icons-right":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icons-right___C5UjC","genius-dashboard-icon-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-icon-container___4dRqI","with-text":"genius-sdk__GeniusChatbotDashboard-module__with-text___skVCO","genius-dashboard-back-text":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-back-text___Od1bW","genius-dashboard-body":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-body___EdY34","genius-dashboard-conversation":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-conversation___JTOaq","genius-dashboard-branding":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-branding___7PzdS","genius-dashboard-logo-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo-container___zHKb3","genius-dashboard-logo":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-logo___oWWc4","genius-dashboard-welcome":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-welcome___ee72M","genius-dashboard-suggestions":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestions___ZcAU8","genius-dashboard-suggestion":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-suggestion___JFR-a","genius-dashboard-input-area":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-area___ofUbJ","genius-dashboard-input-actions":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-input-actions___YK8kC","genius-dashboard-attachment-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-attachment-button___pbzwc","genius-dashboard-voice-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-container___B-AOf","genius-dashboard-microphone-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-microphone-button___lZ7h0","genius-dashboard-send-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-button___fLXEm","genius-dashboard-cancel-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-cancel-button___kn9Lg","genius-dashboard-retry-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button___5oreu","genius-dashboard-send-retry-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-send-retry-container___yxRGt","genius-dashboard-security-info":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-security-info___VwRHO","genius-dashboard-messages-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-messages-container___8m6PY","genius-dashboard-scroll-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-scroll-button___YMYFi","genius-dashboard-message":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message___CaZzW",user:"genius-sdk__GeniusChatbotDashboard-module__user___5X16B","genius-dashboard-message-bubble":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-bubble___Dq5Eg","genius-dashboard-message-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content___oTid5",assistant:"genius-sdk__GeniusChatbotDashboard-module__assistant___t65-b","genius-dashboard-thinking":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-thinking___ceEhk","genius-dashboard-assistant-icon":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-assistant-icon___urK-s",ellipsis:"genius-sdk__GeniusChatbotDashboard-module__ellipsis___kKDif","genius-dashboard-voice-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-wrapper___n9Jj1","genius-dashboard-voice-recording-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-recording-container___GiftZ","genius-dashboard-voice-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-button___-NShR","genius-dashboard-voice-controls":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-voice-controls___P235l","voice-active":"genius-sdk__GeniusChatbotDashboard-module__voice-active___qB2ym","genius-dashboard-history-overlay":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-overlay___zDkbs","genius-dashboard-history-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-container___ecQs7","genius-dashboard-history-header":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header___zjLS-","genius-dashboard-history-header-left":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-header-left___mWOQO","genius-dashboard-history-back":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-back___ELQ0K","genius-dashboard-history-actions":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-actions___lqL15","genius-dashboard-history-action":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-action___-ug8n","genius-dashboard-history-list":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-list___7jHy4","genius-dashboard-history-item":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item___XW2rl","genius-dashboard-history-item-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-content___feueq","genius-dashboard-history-item-title":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-title___YJNj8","genius-dashboard-history-item-date":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-date___dlGyR","genius-dashboard-single-stat-card":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-card___v4WS2","genius-dashboard-single-stat-title":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-title___yod6C","genius-dashboard-single-stat-value":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-value___Hyo-h","genius-dashboard-table-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-container___FxxTR","genius-dashboard-table-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper___zVypd","genius-dashboard-table":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table___wpMRb","genius-dashboard-table-head":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head___rdA-0","genius-dashboard-table-head-row":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-row___VpPSu","genius-dashboard-table-head-cell":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-cell___8eVeo","genius-dashboard-table-head-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-head-content___CwrnG","genius-dashboard-table-body":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-body___bElU6","genius-dashboard-table-row":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-row___ko-q1","genius-dashboard-table-cell":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell___7wz17","genius-dashboard-table-cell-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-cell-content___5Wdi8","genius-dashboard-pagination":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination___Saw-v","genius-dashboard-pagination-info":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-info___G6snm","genius-dashboard-page-controls":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-controls___Cyqw8","genius-dashboard-page-button":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-page-button___1YLi8",active:"genius-sdk__GeniusChatbotDashboard-module__active___odK6T","genius-dashboard-pagination-dots":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-pagination-dots___lYvds","genius-dashboard-chart-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-chart-container___JDX-b","genius-dashboard-single-stat-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat-wrapper___70ycH","genius-dashboard-table-wrapper-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-table-wrapper-container___plSHR","genius-dashboard-single-stat":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-single-stat___LF3B2","genius-dashboard-description":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-description___u0ZbF","genius-dashboard-value-pill":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-value-pill___JXBgS","genius-dashboard-history-loading":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-loading___GoUb2","genius-dashboard-history-empty":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-empty___yZcdH","genius-dashboard-history-item-delete":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-history-item-delete___H2xQq","single-line-input":"genius-sdk__GeniusChatbotDashboard-module__single-line-input___KZ0ag","genius-dashboard-message-content-wrapper":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-message-content-wrapper___xUicT","genius-dashboard-retry-button-inline":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-retry-button-inline___ynxrN","genius-dashboard-action-buttons":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-action-buttons___bHBgd","genius-dashboard-like-button-inline":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-like-button-inline___qxDXm","genius-dashboard-dislike-button-inline":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-dislike-button-inline___tnM54","genius-dashboard-feedback-overlay":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-overlay___DDtOF","genius-dashboard-feedback-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-container___-v-cr","genius-dashboard-feedback-header":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-header___ePdx4","genius-dashboard-feedback-icons-left":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-left___5weo7","genius-dashboard-feedback-icons-right":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icons-right___A-hiJ","genius-dashboard-feedback-icon-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon-container___WCKoK","genius-dashboard-feedback-body":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-body___vGLbY","genius-dashboard-feedback-content":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-content___s2-PA","genius-dashboard-feedback-icon":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-icon___QOTA1","genius-dashboard-feedback-title":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-title___ttd2-","genius-dashboard-feedback-options":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-options___sTDuz","genius-dashboard-feedback-option":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-option___1tKP5",selected:"genius-sdk__GeniusChatbotDashboard-module__selected___rX0Dk","genius-dashboard-feedback-textarea-container":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea-container___7V-Y8","genius-dashboard-feedback-label":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-label___CCyHp","genius-dashboard-feedback-textarea":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-textarea___aE0kA","genius-dashboard-feedback-error":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-error___TC-hH","genius-dashboard-feedback-submit":"genius-sdk__GeniusChatbotDashboard-module__genius-dashboard-feedback-submit___-XcUM"},KT=r=>r?r.replace(/_/g," ").split(" ").map(o=>o.charAt(0).toUpperCase()+o.slice(1).toLowerCase()).join(" "):"Unknown",e5=(r,i)=>{if(i==null||i==="")return"N/A";let o;if(typeof i=="string"){const d=i.replace(/[^0-9.-]/g,"");o=parseFloat(d)}else o=i;if(isNaN(o))return String(i);const c=r.toLowerCase();return c.includes("rate")||c.includes("percentage")||c.includes("percent")?`${o}%`:c.includes("latency")||c.includes("time")||c.includes("duration")?`${o}S`:c.includes("volume")||c.includes("count")||c.includes("amount")||c.includes("total")||c.includes("transaction")||c.includes("order")||c.includes("number")||c.includes("quantity")?o>=1e7?`${(o/1e7).toFixed(1)} Cr`:o>=1e5?`${(o/1e5).toFixed(1)} L`:o>=1e3?`${(o/1e3).toFixed(1)} K`:o%1!==0?o.toFixed(2):o.toLocaleString("en-IN"):String(o)},t5=({metric:r,value:i})=>K.jsxs("div",{className:dt["genius-dashboard-single-stat-card"],children:[K.jsx("div",{className:dt["genius-dashboard-single-stat-title"],children:KT(r)}),K.jsx("div",{className:dt["genius-dashboard-single-stat-value"],children:e5(r,i)})]}),n5=({data:r})=>{const[i,o]=Ue.useState(1),c=5;if(!r||r.length===0)return null;const d=Object.keys(r[0]),f=[],y=[];d.forEach(Y=>{var ne;typeof((ne=r.find(U=>U[Y]!==null&&U[Y]!==void 0))==null?void 0:ne[Y])=="string"||Y.toLowerCase().includes("name")||Y.toLowerCase().includes("id")?f.push(Y):y.push(Y)});const v=[...f,...y],x=i*c,k=x-c,D=r.slice(k,x),B=Math.ceil(r.length/c),W=Y=>{o(Y)},Q=()=>{const se=[],ne=[];let U;se.push(1);for(let q=i-2;q<=i+2;q++)q>1&&q<B&&se.push(q);return B>1&&se.push(B),se.forEach(q=>{U!==void 0&&typeof q=="number"&&(q-U===2?ne.push(U+1):q-U!==1&&ne.push("...")),ne.push(q),U=typeof q=="number"?q:U}),ne},E=(Y,se)=>{if(Y==null||Y==="")return"N/A";const ne=typeof Y=="string"?parseFloat(Y):Y;if(isNaN(ne))return String(Y);const U=se.toLowerCase();if(U.includes("rate")||U.includes("percentage")||U.includes("percent"))return`${ne}%`;if(U.includes("latency")||U.includes("time")||U.includes("duration"))return`${ne}S`;if(U.includes("volume")||U.includes("count")||U.includes("amount")||U.includes("total")){if(ne>=1e7)return`${(ne/1e7).toFixed(1)}Cr`;if(ne>=1e5)return`${(ne/1e5).toFixed(1)}L`;if(ne>=1e3)return`${(ne/1e3).toFixed(1)}K`}return U.includes("price")||U.includes("cost")?new Intl.NumberFormat("en-US",{style:"currency",currency:"USD",minimumFractionDigits:2,maximumFractionDigits:2}).format(ne):U.includes("quantity")?new Intl.NumberFormat("en-US").format(ne):typeof Y=="number"?new Intl.NumberFormat("en-US").format(Y):Y.toString()};return K.jsxs("div",{className:dt["genius-dashboard-table-container"],"data-loaded-table":"genius-table",children:[K.jsx("div",{className:dt["genius-dashboard-table-wrapper"],children:K.jsxs("table",{className:dt["genius-dashboard-table"],children:[K.jsx("thead",{className:dt["genius-dashboard-table-head"],children:K.jsx("tr",{className:dt["genius-dashboard-table-head-row"],children:v.map(Y=>K.jsx("th",{className:`${dt["genius-dashboard-table-head-cell"]} ${dt["text-left"]}`,children:K.jsx("div",{className:dt["genius-dashboard-table-head-content"],children:Y.replace(/_/g," ")})},Y))})}),K.jsx("tbody",{className:dt["genius-dashboard-table-body"],children:D.map((Y,se)=>K.jsx("tr",{className:dt["genius-dashboard-table-row"],children:v.map(ne=>K.jsx("td",{className:dt["genius-dashboard-table-cell"],children:K.jsx("div",{className:dt["genius-dashboard-table-cell-content"],children:E(Y[ne],ne)})},ne))},se))})]})}),r.length>c&&K.jsxs("div",{className:dt["genius-dashboard-pagination"],children:[K.jsxs("span",{className:dt["genius-dashboard-pagination-info"],children:["Showing ",k+1," - ",Math.min(x,r.length)," of ",r.length]}),K.jsxs("div",{className:dt["genius-dashboard-page-controls"],children:[K.jsx("button",{onClick:()=>W(i-1),disabled:i===1,className:dt["genius-dashboard-page-button"],children:"←"}),Q().map((Y,se)=>Y==="..."?K.jsx("span",{className:dt["genius-dashboard-pagination-dots"],children:"..."},`dots-${se}`):K.jsx("button",{onClick:()=>W(Y),className:`${dt["genius-dashboard-page-button"]} ${i===Y?dt.active:""}`,children:Y},Y)),K.jsx("button",{onClick:()=>W(i+1),disabled:i===B,className:dt["genius-dashboard-page-button"],children:"→"})]})]})]})},LS=({message:r,showIcon:i=!0,onTypingStateChange:o,skipAnimation:c=!1,onRetry:d,isLastMessage:f=!1,onDislike:y,endpoint:v="https://genius.juspay.in/api/v3/analytics/"})=>{const x=Ue.useRef(null),k=Ue.useRef(!1),D=c||r.skipAnimation||!1,[B,W]=Ue.useState(D),[Q,E]=Ue.useState(!1),[Y,se]=Ue.useState(r.hasDisliked||!1);Ue.useEffect(()=>{o&&r.content&&!k.current&&!D&&(k.current=!0,o(!0))},[r.content,D,o]),Ue.useEffect(()=>{se(r.hasDisliked||!1)},[r.hasDisliked]);const ne=()=>{},U=Ue.useCallback(()=>{o&&o(!1),W(!0)},[o]),q=async()=>{const H=localStorage.getItem("login")||"";if(console.log("handleLike called",{feedbackId:r.feedbackId,localToken:H?"present":"missing",hasLiked:Q,message:r}),!r.feedbackId||!H||Q){console.log("Early return:",{noFeedbackId:!r.feedbackId,noToken:!H,alreadyLiked:Q});return}try{const P=v.replace(/\/api\/v3\/analytics\/?$/,""),ce=`Basic ${btoa(H+":")}`;console.log("Making feedback API call to:",`${P}/api/v3/analytics/feedback`);const ae=await fetch(`${P}/api/v3/analytics/feedback`,{method:"POST",headers:{"Content-Type":"application/json",Accept:"application/json",Authorization:ce},body:JSON.stringify({id:r.feedbackId,feedbackEnum:"LIKE",feedbackText:"LIKE"})});console.log("Response status:",ae.status),ae.ok?(E(!0),se(!1),console.log("Feedback submitted successfully")):console.error("Failed to submit feedback",ae.status,ae.statusText)}catch(P){console.error("Error submitting feedback:",P)}},X=()=>{!r.feedbackId||Y||(se(!0),y&&y())},J=H=>{let P=Bn.parse(H);return P=P.replace(/<table>/g,`<div class="${dt["genius-dashboard-table-wrapper"]}"><table>`).replace(/<\/table>/g,"</table></div>"),P=P.replace(/<a\s+href=/g,'<a target="_blank" rel="noopener noreferrer" href='),{__html:P}};return K.jsxs("div",{className:`${dt["genius-dashboard-message"]} ${dt.assistant}`,children:[i&&K.jsx("div",{className:dt["genius-dashboard-assistant-icon"],children:K.jsx(ub,{})}),K.jsxs("div",{className:dt["genius-dashboard-message-bubble"],children:[r.description&&K.jsx("div",{className:dt["genius-dashboard-description"],dangerouslySetInnerHTML:{__html:r.description}}),r.chartData&&K.jsx("div",{className:dt["genius-dashboard-chart-container"],children:K.jsx(JT,{options:r.chartData})}),r.singleStat&&K.jsx("div",{className:dt["genius-dashboard-single-stat-wrapper"],children:K.jsx(t5,{metric:r.singleStat.metric,value:r.singleStat.value})}),r.tableData&&K.jsx("div",{className:dt["genius-dashboard-table-wrapper-container"],children:K.jsx(n5,{data:r.tableData})}),r.content&&K.jsxs("div",{className:dt["genius-dashboard-message-content-wrapper"],children:[K.jsx("div",{ref:x,className:dt["genius-dashboard-message-content"],children:D?K.jsx("div",{dangerouslySetInnerHTML:J(r.content)}):K.jsx(BT,{text:r.content,onUpdate:ne,onTypingComplete:U})}),(D||B)&&!r.isFromHistory&&K.jsxs("div",{className:dt["genius-dashboard-action-buttons"],children:[K.jsx("button",{className:`${dt["genius-dashboard-like-button-inline"]} ${Q?dt.liked:""}`,onClick:q,"aria-label":"Like",title:Q?"Liked":"Like",disabled:Q,children:Q?K.jsx(NT,{}):K.jsx(RT,{})}),K.jsx("button",{className:`${dt["genius-dashboard-dislike-button-inline"]} ${Y?dt.disliked:""}`,onClick:X,"aria-label":"Dislike",title:Y?"Disliked":"Dislike",disabled:Y,children:Y?K.jsx(zT,{}):K.jsx(LT,{})}),d&&f&&K.jsx("button",{className:dt["genius-dashboard-retry-button-inline"],onClick:d,"aria-label":"Retry",title:"Retry",children:K.jsx(jT,{})})]})]})]})]})},jl=r=>`<span>${r}</span>`,gb=(r,i=!1)=>{const o=i?3:5,c=[];let d=null;r.forEach(v=>{const x=v.includes("||"),k=v.includes("&&");if(d===null)x&&!k?d=v:c.push(v);else if(k){const D=`${d} ${v}`;c.push(D),d=null}else d=`${d} ${v}`}),d!==null&&c.push(d);const f=c.map(v=>v.replace(/\|\|/g,`<span style="background-color: #f5f5f5; display: inline-block; font-family: 'Roboto Mono', monospace; white-space: nowrap; border-radius: 6px; padding: 6px; margin: 0 4px; font-weight: 500; font-size: 12px; margin-bottom: 4px;">`).replace(/&&/g,"</span>"));if(f.length<=o)return f.join(" ");{const v=Math.random().toString().replace(".","").slice(0,8),x=f.slice(0,o),k=f.slice(o),D=`
|
|
81
81
|
<span
|
|
82
82
|
id="expand-${v}"
|
|
83
83
|
style="display: inline-block; font-family: Inter, sans-serif; font-size: 12px; line-height: 20px; font-weight: 600; letter-spacing: -0.12px; color: #2563eb;background-color: white; text-decoration: underline; cursor: pointer;"
|